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

FFmpeg trac at avcodec.org
Fri Jan 17 00:15:19 EET 2020


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

 * cc: delirio@… (added)
 * keywords:  libx265 hdr => libx265 hdr metadata
 * priority:  normal => important


Comment:

 '''ffmpeg''' is a great product and the developers deserve congratulations
 for their devotion to this project. As for current discussion I would like
 to add the following updates:

 1. nvenv encoder already added the option to copy the HDR metadata: see
 [https://github.com/rigaya/NVEnc/releases/tag/4.60]:


 {{{
 Add option to copy HDR related metadata. ( #185, --master-display copy,
 --max-cll copy)
 }}}

 2. Given the popularity of the HDR10 and the fact that it is supported by
 all current 4K TV manufacturers, it would be a pity not to support this
 HDR medatada; what is the point of encoding from a 4K HDR original source,
 if the HDR support is lost? Also all original sources are coming in HDR in
 the last years.

 3. You can manually create some script to manually extract this metadata
 and later insert, but definitely would prefer that ffmpeg handles this
 automatically.

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


More information about the FFmpeg-trac mailing list