[FFmpeg-trac] #7037(avcodec:open): ffmpeg destroys HDR information when encoding

FFmpeg trac at avcodec.org
Mon Dec 16 18:38:54 EET 2019

#7037: ffmpeg destroys HDR information when encoding
             Reporter:  mario66      |                    Owner:  cehoyos
                 Type:  enhancement  |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  libx265 hdr  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by mario66):

 Some sources for my explanation: http://www.abacanto.net/wp-

 I think before we talk about dynamic metadata, I should point out that
 even static meta data as present in HDR10 is not supported in ffmpeg. See
 the initial post. These were global tags. If I remember correctly the
 example video I uploaded here was from a HDR10 (no "plus") source.

 So tell me again, how is this not a massive failure caused by largely
 misaligned incentives if such a simple fix is not applied? What is so
 difficult about it? The only posts here complaining about difficulty were
 talking about dynamic metadata, so that even I have been confused and
 thought this would be the reason why my video didn't work. But no, if you
 think about it, this particular video only needed support for HDR10, and
 I'm sure x265 supports this since a long time. x265 is not to blame.

 Then the next step of course would be dynamic HDR, which of course this
 will be more challenging, I appreciate this. Nevertheless it will be an
 important long term goal you should definitively aim for!

Ticket URL: <https://trac.ffmpeg.org/ticket/7037#comment:42>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list