[FFmpeg-trac] #9649(undetermined:closed): filter_complex drops per-stream metadata

FFmpeg trac at avcodec.org
Fri Feb 18 05:43:38 EET 2022


#9649: filter_complex drops per-stream metadata
-------------------------------------+-------------------------------------
             Reporter:  Arnon        |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  4.4.1        |               Resolution:  invalid
             Keywords:               |               Blocked By:
  filter_complex metadata            |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Arnon):

 > What's the command for explicitly copying metadata? It was already said
 that adding -map_metadata 0 doesn't fix the problem.

 Nicolas is saying that the metadata map must be explicitly specified.  For
 the first example above, this would be -map_metadata:s:v:0 0:s:v:0.  For
 videos with multiple streams however, ''all'' output streams (regardless
 of whether or not they are filtered) would have to be specified this way
 to preserve all stream metadata (since a single map disables all
 mappings).  Not great, but also not a bug if it's this way by design.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9649#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list