[FFmpeg-user] Correct conversion of yuvj420p?

Ted Park kumowoon1025 at gmail.com
Fri Sep 11 15:03:58 EEST 2020


Hi,

>> So, is the file now "AV_PIX_FMT_YUVJ420P" or "AV_PIX_FMT_YUV420P + set
>> color_range"?

Obviously those names are not relevant until the file meets the av* tools, but they are the same formats. I think yuvj420p was meant to be a separate variant of yuv420p that was not broadcast safe, from ccd sources early on, but since everything is digital nowadays and powerful enough to shift if necessary. 

>> My problem is, that I have literally hundreds (actually more than 1000+) of
>> these H.264/yuvj420p files that are to be auto-converted to archival FFV1,
>> but because of the "j" the "pix_fmt +" option cannot be used, which throws
>> all those files into error - and I'd like to fix this :)

setrange affects the frames, not any end result SPS i think. Leaving it out doesn’t set the parameters? Does it convert to limited range by default?

Also, what are some of the benefits of reencoding footage for archival? I can maybe think of being able to detect partial corruption and possibly a increase in data/bitrate, but not much else.


More information about the ffmpeg-user mailing list