[FFmpeg-trac] #10768(avformat:new): Divergent interpretation of YUV4MPEG2 "C" parameter

FFmpeg trac at avcodec.org
Sun Dec 31 17:00:59 EET 2023


#10768: Divergent interpretation of YUV4MPEG2 "C" parameter
-------------------------------------+-------------------------------------
             Reporter:  Mingye Wang  |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  YUV4MPEG2    |               Blocked By:
  y4v avchroma                       |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 >However, the original ​man page specifies that they are co-sited, which
 would translate to AVCHROMA_LOC_TOPLEFT.

 422 can be only center. Left is also center...

 DV chroma is more complex. And yes, different chroma licayion in top and
 bottom fields are possible.

 >ffmpeg says it is AVCHROMA_LOC_CENTER

 Well, it probably should depend on matrix. Bt.2020 mattix likes top-left,
 bt.709 left, jpeg (so full range BT.601) is center.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10768#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list