[FFmpeg-trac] #10361(undetermined:closed): Using the -map option together with the -filter_complex option causes the selected (mapped) videostream to be duplicated in the output file

FFmpeg trac at avcodec.org
Mon May 15 13:57:39 EEST 2023


#10361: Using the -map option together with the -filter_complex option causes the
selected (mapped) videostream to be duplicated in the output file
-------------------------------------+-------------------------------------
             Reporter:  user123      |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:
                                     |  undetermined
              Version:  6.0          |               Resolution:  invalid
             Keywords:  map mapping  |               Blocked By:
  filter_complex duplication         |
  filtergraph                        |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by user123):

 Replying to [comment:3 Gyan]:
 > Should be either
 >
 > `ffmpeg -i "testinput.mp4" -filter_complex "[0:0]scale=320:240" -an -y
 "testoutput.mp4"`
 >
 > or
 >
 > `ffmpeg -i "testinput.mp4" -map 0:0 -filter:v "scale=320:240" -y
 "testoutput.mp4"`

 Ok, thank you. But why though did it work "unintentionally" just fine in a
 previous ffmpeg versions all these years for so long? And why the
 developers suddenly decided to change that mapping behavior just now?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10361#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list