[FFmpeg-user] encode to RAW video
Carl Zwanzig
cpz at tuunq.com
Tue Nov 1 01:01:32 EET 2022
On 10/31/2022 6:23 AM, Naveen.B wrote:
> I observed some weird behaviour with fast and medium preset,
We've observed that you're -still- top-posting, please stop it.
(reformatted)
> fast preset:
> *ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i CapturedImage-%03d.raw
Specifies the input file(s) and their characteristics.
All that follows is filters and output specs.
> -c:v rawvideo -pixel_format yuv420p
Use the video codec "rawvideo" with that pixel format for output, except
AFAICT that there is no video encoder "rawvideo" (that should throw an
error, which because of the missing command output, we don't see).
> -f rawvideo
Force the output format to rawvideo ("Raw muxers accept a single stream
matching the designated codec. They do not store timestamps or metadata. The
recognized extension is the same as the muxer name unless indicated
otherwise.") Don't use this unless there's a _really_ good reason.
> -c:v libx264 -preset fast -crf 18
But now use the x264 codec!!! (into a "raw" file)
> test.raw*
but call the output file "test.raw" (not "test.mp4" or something like that).
What do you really want? Why this insistence on "raw" output, either as an
"encoding" or output file? That's making life difficult and likely
obscuring other issues.
> command output:
(but the the _complete_ output!! Stop making us guess about things and
you'll get better answers.)
z!
More information about the ffmpeg-user
mailing list