[FFmpeg-trac] #8538(ffmpeg:closed): -ar and -ac don't appear to work with stream_specifier > 0

FFmpeg trac at avcodec.org
Tue Feb 25 11:45:19 EET 2020


#8538: -ar and -ac don't appear to work with stream_specifier > 0
---------------------------------+-----------------------------------
             Reporter:  cdhowie  |                    Owner:
                 Type:  defect   |                   Status:  closed
             Priority:  minor    |                Component:  ffmpeg
              Version:  4.2      |               Resolution:  invalid
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+-----------------------------------
Changes (by Gyan):

 * priority:  normal => minor
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Stream specifiers are parsed independently of the type of option it's
 applied to. So, `-ac:2` is set for the 3rd output stream, whichever type
 that is. To set it for the *third audio output stream*, you need
 `-ac:a:2`. Similarly, in `-b:a:2`, The option is `b` and the specifier is
 `a:2`.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8538#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list