[FFmpeg-trac] #11077(ffplay:new): ffplay uses the -ac option to play pcm and reports an error 'ac': Option not found

FFmpeg trac at avcodec.org
Wed Jul 10 03:57:53 EEST 2024


#11077: ffplay uses the -ac option to play pcm and reports an error 'ac': Option
not found
-------------------------------------+-------------------------------------
             Reporter:  marszuo      |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffplay
              Version:  7.0          |               Resolution:
             Keywords:  Option not   |               Blocked By:
  found                              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Zhai Can):

 I can confirm this.

 {{{
 /tmp/tmp.gPGJmDvjqV ❯ ~/bin/ffplay-n5.1 -hide_banner -f s16le -ac 2 -ar
 44100 -i raw
 08:52:56
 [s16le @ 0x7f53dc000c80] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, s16le, from 'raw':
   Duration: 00:03:31.77, bitrate: 1411 kb/s
   Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    2.29 M-A:  0.000 fd=   0 aq=  175KB vq=    0KB sq=    0B f=0/0
 /tmp/tmp.gPGJmDvjqV ❯ ffplay -hide_banner -f s16le -ac 2 -ar 44100 -i raw
 08:53:03
 Failed to set value '2' for option 'ac': Option not found
 }}}

 n5.1 version works well.

 However '''ffmpeg''' n7.0 is also an okay:

 {{{
 /tmp/tmp.gPGJmDvjqV ❯ ffmpeg -hide_banner -f s16le -ac 2 -ar 44100 -i raw
 08:55:38
 [s16le @ 0x55c65655a680] Estimating duration from bitrate, this may be
 inaccurate
 [aist#0:0/pcm_s16le @ 0x55c6566337c0] Guessed Channel Layout: stereo
 Input #0, s16le, from 'raw':
   Duration: 00:03:31.77, bitrate: 1411 kb/s
   Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
 At least one output file must be specified
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11077#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list