[FFmpeg-user] encode to RAW video

Clay Clay at FTL.com
Tue Nov 1 01:29:23 EET 2022


Carl Zwanzig wrote on 10/31/22 19:01:
> 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.
>
>
Reminder:  Top Posting:  Replying ABOVE the Quote... :-)
*Don't ask me how I know :-)
> (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!
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list