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

FFmpeg trac at avcodec.org
Sat Jan 18 16:09:34 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 gdgsdg123):

 Replying to [comment:64 mario66]:
 > {{{
 > ffmpeg -i in.mkv -map 0:v -map 0:a? -map 0:s? -c:v libx265 -crf 18 -c:a
 copy -c:s copy out.mkv
 > }}}
 With this command I suspect you'd already messed with the
 [http://trac.ffmpeg.org/wiki/colorspace colorspace] (color management
 data) quite a lot... (regardless the creator of the "in.mkv" may not have
 correctly handled it in the first place)
 Anyway from your command parameter choosing I can see that you don't care
 much about quality... that's why many broken things become "worksforme".

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

More information about the FFmpeg-trac mailing list