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

FFmpeg trac at avcodec.org
Fri Jan 17 05:57:24 EET 2020

#7037: ffmpeg destroys HDR metadata 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 Balling):

 Replying to [comment:56 delirio]:
 > Replying to [comment:53 Balling]:
 > > You understand that pirates on rarbg use ffmpeg? The metadata is
 correct for both the original bit perfect WEBDL or Blu-ray and
 downconverts. Dolby Vision content obviously could not be downconverted
 > > So there should be a perfectly working script out there that uses that
 json ffprobe data, for example. Github is the place for it, or github
 gists. I will try to search through it /sigh
 > I have searched as you suggested on RARBG for their 4K encodes and no
 matter it was WEB or Bluray encodings (on every group), the mediainfo
 shows that they were using x265 library on Windows for encoding, no
 mention of ffmpeg/lavf encoder. They either aren't using ffmpeg at all or
 just avoid it for 4K HDR releases because of missing support.

 That it is not how it works, ffmpeg IS USING x265 library as I said. And
 in Mediainfo that is called "Writing library" for a reason.

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

More information about the FFmpeg-trac mailing list