Opened 18 months ago

Last modified 2 months ago

#8661 new defect

HEVC missing chroma location

Reported by: Sesse Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: hevc
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi,

When you're decoding HEVC video, you end up with unspecified chroma_sample_location. HEVC is left like H.264, so please add

      avctx->chroma_sample_location = AVCHROMA_LOC_LEFT;

in hevc_decode_init().

Change History (2)

comment:1 by Carl Eugen Hoyos, 18 months ago

Keywords: hevc added

Please send your patch - made with git format-patch - to the FFmpeg development mailing list.

comment:2 by Balling, 2 months ago

That is done here, in else: 8ee6557c2e93166a03ef8588a09674e4a083d43b

Also, I suppose it may be a bad idea to assume left for BT.2100. That is dolby vision profile 5 that uses left, but others use top-left, including DV in Blu-ray.

Note: See TracTickets for help on using tickets.