[FFmpeg-user] Correct conversion of yuvj420p?

Paul B Mahol onemda at gmail.com
Fri Sep 11 11:59:02 EEST 2020


On Fri, Sep 11, 2020 at 10:10:31AM +0200, Peter B. wrote:
> 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)?

Yes, it is. Ignore my remark.

> 
> 
> 
> 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)
> 
> 
> 
> _______________________________________________
> 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