Quote:
Originally Posted by takla
I wanted to encode in 10bit (lossy) for better precision from the encoder. I'd like to do this with vdub2 since it is nice for cutting the video frame accurately. I'd then send the stream to ffmpeg.
Not sure what you mean with "roundtrip 10-bit content in 16-bit". But when I select 16bit, and set 10bit as an ffmpeg command, I get the following 2 errors:
with -pix_fmt yuv420p10le and 4:2:0 8bit yuv
https://i.imgur.com/8p3rCq1.png
with -pix_fmt yuv420p10le and 4:2:0 16bit yuv
https://i.imgur.com/ZZlw6pE.png
|
the ffmpeg command line must include pix_fmt twice: one for raw input and another for your desired output
like this:
Code:
-f rawvideo -pix_fmt %(pix_fmt) -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -c:v libx264 -pix_fmt yuv420p10le %(tempvideofile)
%(pix_fmt) macro always matches the format selected in dropdown in ffmpeg syntax.