[FFmpeg-trac] #9462(undetermined:new): Ffmpeg not removing unwanted metadata

FFmpeg trac at avcodec.org
Wed Oct 20 09:24:00 EEST 2021

#9462: Ffmpeg not removing unwanted metadata
             Reporter:  steipal      |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  METADATA     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Comment (by steipal):

 First, if docs for the sidedata filter is correct:
     "''If type is not set, delete all side data in the frame.''"

 The thing is that this side data will ''break'''''''' some players
 utilizing it. And they are clearly ''wrong'''''''' if one for example
 convert this source to 8 bit bt601.
 Usually I'm forced to use '''sidedata=delete''' and '''-map_metadata -1'''
 in order to get rid of unwanted side data and metadata, and this has fixed
 problems like this before. The side data in question is indeed presented
 as side data by ffmpeg and so one is lead to believe that they can also be
 removed by for example '''sidedata=delete'''. But they don't, and if there
 is no means to remove it then we have a problem.

 ''PS: I'm fully aware that one can remove this by utilizing AviSynth or
 piping to another ffmpeg but this is clearly not a good solution.
Ticket URL: <https://trac.ffmpeg.org/ticket/9462#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list