[FFmpeg-trac] #9598(ffprobe:new): Wrong Chroma Location (Type 2, top left) for XDCAM Files (Type 0, left) in FFProbe

FFmpeg trac at avcodec.org
Sat Jan 15 13:13:56 EET 2022


#9598: Wrong Chroma Location (Type 2, top left) for XDCAM Files (Type 0, left) in
FFProbe
-------------------------------------+-------------------------------------
             Reporter:  FranceBB     |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffprobe
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
  ChromaLocation                     |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by FranceBB):

 Also what do you mean by "4:2:2 can use only one chroma location?"
 If you mean that 4:2:2 only has left, so type 0, so the old MPEG-2 chroma
 location, that would be correct, in fact if I go through ffprobe with an
 XAVC Intra Class 300 file muxed in .mxf, it reports correctly "left", so
 Type 0:

 [STREAM]
 index=0
 codec_name=h264
 codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
 profile=High 4:2:2 Intra
 codec_type=video
 codec_tag_string=[0][0][0][0]
 codec_tag=0x0000
 width=3840
 height=2160
 coded_width=3840
 coded_height=2160
 closed_captions=0
 has_b_frames=0
 sample_aspect_ratio=1:1
 display_aspect_ratio=16:9
 pix_fmt=yuv422p10le
 level=52
 color_range=tv
 color_space=bt2020nc
 color_transfer=arib-std-b67
 color_primaries=bt2020
 '''chroma_location=left'''

 For other codecs like Apple ProRes 4:4:4 10bit, it says unspecified:

 [STREAM]
 index=0
 codec_name=prores
 codec_long_name=Apple ProRes (iCodec Pro)
 profile=HQ
 codec_type=video
 codec_tag_string=apch
 codec_tag=0x68637061
 width=3840
 height=2160
 coded_width=3840
 coded_height=2160
 closed_captions=0
 has_b_frames=0
 sample_aspect_ratio=N/A
 display_aspect_ratio=N/A
 pix_fmt=yuv422p10le
 level=-99
 color_range=tv
 color_space=unknown
 color_transfer=unknown
 color_primaries=unknown
 '''chroma_location=unspecified'''

 which is fine, but still, what I wonder is: why is it saying Type 2 Top
 Left for MPEG-2 50 Mbit/s files? Is it really top left type 2 or is it a
 bug?
 'cause as far as I know top left type 2 can only be used for 4:2:0 files,
 hence the ticket in the bug tracker and the discussion in Doom9.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9598#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list