Le 24/10/2022 à 18:36, Naveen.B a écrit :

I tried by giving the input with -pix_fmt, it's the same error.

Yes, I want raw video. I have converted RAW files to .mp4 successfully with
uncompressed, the size of the .mp4 format video was less comparatively.
I have 30 RAW files with each file is around 4Mbps (so, 30 RAW
filesx4Mbps=180Mbps for one second), the output of the video file size
(.mp4) is coming around 18 Mbps, so I am assuming .mp4 video format is
doing some compression and hence I need to try this with RAW video.

This is the command I tried for .mp4 file video which is coming 18Mbps as
output video file size,
*ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw
-c:v libx264 -pix_fmt yuv420p -preset fast -profile:v main -level:v 4.0
-crf 1 raw_video.mp4*


Try this :

ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v rawvideo -pix_fmt yuv420p -f rawvideo output.raw

Alternatively you can put the raw video stream in a container such as MKV:

ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v rawvideo -pix_fmt yuv420p output.mkv

In either case I'm not sure it will easy to read the output file with classical players.

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to