[FFmpeg-user] encode to RAW video

Michael Koch astroelectronic at t-online.de
Mon Oct 24 20:30:17 EEST 2022

Am 24.10.2022 um 18:36 schrieb Naveen.B:
>> Are you sure that there is a file CapturedImage-000.raw ?
>> You forgot to specify the input pixel format.
>> Many parameters are missing for the raw output. But the error message is
>> from the input.
>> Do you really want raw video? That's not the easiest format for a beginner.
>> Everything must be specified for the input (file format, pixel format,
>> size, framerate, and whatever I may have forgotten...) and the same
>> things must be specified for the output again.
>> [image: image.png]
>> this error pops up when I add the flag -f rawvideo (I have a raw files,
>> should this be used for raw video?)
> 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.

What do you want to do with the RAW video? You know that you can't play 
it with most players?


More information about the ffmpeg-user mailing list