[FFmpeg-devel] [PATCH]lavc/pgssubdec: Fix palette colourspace

Jan Ekstrom jeebjp at gmail.com
Sun Apr 17 20:59:55 CEST 2016


On Sun, Apr 17, 2016 at 9:55 PM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de> wrote:
> ?!???
> These two kind of contradict each other, at least if the HDMV video
> stream uses a full range color matrix (or is that not allowed?).

Just poked at this and it seems indeed that the following values are
set for the resolution profiles for AVC:
- 525/60: primaries|transfer|matrix => 6 (and implied if description
is not available), full range shall be set to zero
- 625/50: primaries|transfer|matrix => 5 (=||=), =||=
- 1080: primaries|transfer|matrix => 1 (=||=), =||=
- 720: primaries|transfer|matrix => 1 (=||=), =||=

So yes, it seems relatively safe to expect the conversion to be
according to these values according to the fact that the "canvas" has
a defined colorimetry per resolution.

Best regards,
Jan Ekström


More information about the ffmpeg-devel mailing list