I'm converting a file to PNG format using this call:
ffmpeg.exe -vframes 1 -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s <width>x<height> -i infile -f image2 -vcodec png out.png
I want to use a converter that can be linked or compiled into a closed-source commercial product, unlike FFmpeg
, so I need to understand the format of the input file I'm passing in.
So, what does rawvideo
mean to FFmpeg
?
Is FFmpeg
determining what type of raw format the input file has, or does rawvideo
denote something distinct?
What does rgb32
mean here?
The size of the input file is a little more than (width * height * 8)
bytes.