[FFmpeg-trac] #10801(undetermined:new): -map + filter causes two copies of a stream in recent versions

FFmpeg trac at avcodec.org
Sun Jan 14 21:14:11 EET 2024


#10801: -map + filter causes two copies of a stream in recent versions
-------------------------------------+-------------------------------------
             Reporter:  TomTop       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 In recent versions of FFmpeg (eg. 6.1), the following command line will
 not work as it did with older versions (eg. 4.4):

 {{{
 % ffmpeg -i input -map 0:0 -map 0:1 -filter_complex "[0:0]scale=1280:-1"
 ... output
 }}}

 Usually this would result in a file where stream 0 is scaled to width 1280
 and stream 1 is the audio. In newer versions of FFmpeg, the result holds
 the two expected streams and an unexpected copy of the original video,
 most likely due to the -map 0:0 argument.

 Is this a bug or a change in how FFmpeg works?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10801>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list