[FFmpeg-trac] #11562(ffmpeg:closed): ffmpeg adds an extra audio stream to the output if apad filter_complex is used

FFmpeg trac at avcodec.org
Tue Apr 29 21:07:26 EEST 2025


#11562: ffmpeg adds an extra audio stream to the output if apad filter_complex is
used
-------------------------------------+-------------------------------------
             Reporter:  weihuaqd     |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  ffmpeg
              Version:  7.1          |               Resolution:  invalid
             Keywords:               |               Blocked By:
  filter_complex apad                |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by Gyan):

 * resolution:   => invalid
 * status:  new => closed

Comment:

 If you're mapping the audio, use `-af` or `-filter:a` not filter_complex.
 {{{
 -map 0:a? -af apad
 }}}

 Read the chapter on [https://ffmpeg.org/ffmpeg.html#Stream-selection-1
 stream selection].
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11562#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list