[FFmpeg-user] Correct conversion of yuvj420p?

Peter B. pb at das-werkstatt.com
Fri Sep 11 11:10:31 EEST 2020


Dear Paul,

On 10.09.20 15:53, Paul B Mahol wrote:
>> The streamhash matches, and the color interpretation metadata seems to be
>> identical to the source:
>>
>>    * Source video (h.264):
>>      yuvj420p(pc, smpte170m/bt709/bt709)
>>
>>    * Target video (ffv1):
>>      yuv420p(pc, smpte170m/bt709/bt709)
> This is not reporting color range. Better check it matches.

Will check.

However, after reading "color_range" documentation on [1] do thought 
that the "pc" means "full-range".
So I thought that is reporting the range (it thinks it has)?



Kind regards,
Peter



[1] https://ffmpeg.org/ffmpeg-all.html#Codec-Options:
 >
 > color_range integer (decoding/encoding,video)
 >
 > If used as input parameter, it serves as a hint to the decoder, which 
color_range the input has. Possible values:
 >
 >     ‘tv’
 >     ‘mpeg’
 >
 >         MPEG (219*2^(n-8))
 >     ‘pc’
 >     ‘jpeg’
 >
 >         JPEG (2^n-1)





More information about the ffmpeg-user mailing list