[FFmpeg-trac] #2472(avcodec:new): ffmpeg support for libaacplus is broken

FFmpeg trac at avcodec.org
Tue Apr 16 05:29:11 CEST 2013


#2472: ffmpeg support for libaacplus is broken
-------------------------------------+-------------------------------------
             Reporter:  DooMMasteR   |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:  git-
             Keywords:  libaacplus,  |  master
  codec, parameters                  |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: any samplerate aside from 44.1 and 48kHz seems to fail
 and mess up the interface to libaacplus, also parametric stereo is never
 used (as far as I can check).
 How to reproduce:
 {{{
 % dvgrab -noavc -f dv1 -| ffmpeg -v info -i - -map 0:0 -c:v:0 libx264
 -strict -2 -acodec libaacplus -map 0:1 -ab 24k -ac 2 -ar 24000 -f mpegts
 udp://localhost:1234
 ffmpeg version git-2013-04-15-41985cb
 built on Apr 16 2013 00:57:06 with gcc 4.7 (Ubuntu/Linaro 4.7.2-23ubuntu2)
   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp
 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-nonfree --enable-version3 --enable-libaacplus --enable-x11grab
 --cpu=native --arch=native --enable-libdc1394 --enable-swscale --enable-
 postproc --enable-zlib --enable-pthreads
   libavutil      52. 26.100 / 52. 26.100
   libavcodec     55.  2.100 / 55.  2.100
   libavformat    55.  2.100 / 55.  2.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 56.101 /  3. 56.101
   libswscale      2.  2.100 /  2.  2.100  libswresample   0. 17.102 /  0.
 17.102
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, dv, from 'pipe:':
   Duration: N/A, start: 0.000000, bitrate: 28800 kb/s
     Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3],
 28800 kb/s, 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 [libx264 @ 0x319a1d0] using SAR=16/15
 [libx264 @ 0x319a1d0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
 SlowShuffle
 [libx264 @ 0x319a1d0] profile High, level 3.0
 libaacplus: bad aac setting: br:24000, AACch:1, AACsr:24000
 [libaacplus @ 0x319b290] libaacplus doesn't support this output format!
 Output #0, mpegts, to 'udp://localhost:1234':
     Stream #0:0: Video: h264, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=-1--
 1, 90k tbn, 25 tbc
     Stream #0:1: Audio: aac, 24000 Hz, stereo, s16, 24 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (dvvideo -> libx264)
   Stream #0:1 -> #0:1 (pcm_s16le -> libaacplus)
 Error while opening encoder for output stream #0:1 - maybe incorrect
 parameters such as bit_rate, rate, width or height
 }}}

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


More information about the FFmpeg-trac mailing list