[FFmpeg-trac] #683(undetermined:new): Very wrong number of channels when using libaacplus and ffmpeg

FFmpeg trac at avcodec.org
Wed Nov 23 21:16:56 CET 2011


#683: Very wrong number of channels when using libaacplus and ffmpeg
-------------------------------------+-------------------------------------
             Reporter:  bradskins    |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  0.7.7
  undetermined                       |               Blocked By:
             Keywords:  libaacplus   |  Reproduced by developer:  0
  audio stream freebsd               |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I'm using a fresh install of FreeBSD 8.2.  I installed ffmpeg with
 libaacplus but when I start to encode something, it gets the number of
 channels very wrong:


 {{{
 ===> SECURITY REPORT:
       This port has installed the following files which may act as network
       servers and may therefore pose a remote security risk to the system.
 /usr/local/lib/libavformat.so.52.110.0

       If there are vulnerabilities in these programs there may be a
 security
       risk to the system. FreeBSD makes no guarantee about the security of
       ports included in the Ports Collection. Please type 'make deinstall'
       to deinstall the port if this is a concern.

       For more information, and contact details about the security
       status of this software, see the following webpage:
 http://ffmpeg.mplayerhq.hu/
 freebsd# cd ~/
 freebsd# ffmpeg -i http://stream-tx1.radioparadise.com:9000/rp_192.ogg
 -acodec libaacplus -ab 32000 test.mp4
 ffmpeg: Command not found.
 freebsd# rehash
 freebsd# ffmpeg -i http://stream-tx1.radioparadise.com:9000/rp_192.ogg
 -acodec libaacplus -ab 32000 test.mp4
 ffmpeg version 0.7.7, Copyright (c) 2000-2011 the FFmpeg developers
   built on Nov 23 2011 20:00:19 with gcc 4.2.1 20070719  [FreeBSD]
   configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-
 shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads
 --enable-x11grab --enable-memalign-hack --enable-runtime-cpudetect --cc=cc
 --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include'
 --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug
 --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-
 libopencore-amrnb --disable-libopencore-amrwb --disable-libcelt --disable-
 libdirac --enable-libfaac --disable-ffserver --disable-libfreetype
 --disable-frei0r --disable-libgsm --disable-libmp3lame --disable-libopencv
 --disable-libopenjpeg --disable-librtmp --disable-libschroedinger
 --disable-ffplay --disable-libspeex --enable-libtheora --disable-vaapi
 --disable-vdpau --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-
 libvorbis --disable-libvpx --disable-libx264 --disable-libxvid --enable-
 nonfree --enable-version3
   libavutil    50. 43. 0 / 50. 43. 0
   libavcodec   52.122. 0 / 52.122. 0
   libavformat  52.110. 0 / 52.110. 0
   libavdevice  52.  5. 0 / 52.  5. 0
   libavfilter   1. 80. 0 /  1. 80. 0
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
 [ogg @ 0x80381f020] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, ogg, from 'http://stream-tx1.radioparadise.com:9000/rp_192.ogg':
   Duration: N/A, start: 0.000000, bitrate: 192 kb/s
     Stream #0.0: Audio: vorbis, 44100 Hz, stereo, s16, 192 kb/s
 libaacplus: bad aac setting: br:32000, AACch:65536, AACsr:22050
 [libaacplus @ 0x80380d520] libaacplus doesn't support this output format!
 Output #0, mp4, to 'test.mp4':
     Stream #0.0: Audio: libaacplus, 44100 Hz, stereo, s16, 32 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
 Error while opening encoder for output stream #0.0 - maybe incorrect
 parameters such as bit_rate, rate, width or height
 }}}


 Notice "AACch:65536".  This is keeping from encoding using libaacplus.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/683>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list