[FFmpeg-trac] #10132(undetermined:reopened): ffmpeg ignores -ac option

FFmpeg trac at avcodec.org
Thu Jan 5 15:29:39 EET 2023


#10132: ffmpeg ignores -ac option
--------------------------------+----------------------------------------
             Reporter:  bolvan  |                    Owner:  (none)
                 Type:  defect  |                   Status:  reopened
             Priority:  normal  |                Component:  undetermined
              Version:  5.1.2   |               Resolution:
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+----------------------------------------
Changes (by Cigaes):

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

Comment:

 The self-documentation says that `-ac` can be input:
 {{{
     { "ac",             OPT_AUDIO | HAS_ARG  | OPT_INT | OPT_SPEC |
                         OPT_INPUT | OPT_OUTPUT,
 { .off = OFFSET(audio_channels) },
 }}}
 The documentations adds its can be relevant for capture devices:
 {{{
 @item -ac[:@var{stream_specifier}] @var{channels} (@emph{input/output,per-
 stream})
 Set the number of audio channels. For output streams it is set by
 default to the number of input audio channels. For input streams
 this option only makes sense for audio grabbing devices and raw demuxers
 and is mapped to the corresponding demuxer options.
 }}}

 If it is no longer mapped to the demuxer options, then we need to check if
 it is intentional and either fix the code or the documentation.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10132#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list