[FFmpeg-trac] #2587(undetermined:closed): libfaac doesn't support this output format

FFmpeg trac at avcodec.org
Tue May 28 03:56:16 CEST 2013


#2587: libfaac doesn't support this output format
-------------------------------------+-------------------------------------
             Reporter:  burek        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by burek):

 Ok, I've tried to generate a test file myself and some similar issues
 happened while I was doing so. This is what I tried in order to generate
 the aac file for a test:
 {{{
 # ffmpeg -f lavfi -i aevalsrc="sin(440*2*PI*t)" -acodec aac -strict -2 -ar
 16k -ac 1 -t 10 -y output.mp4
 ffmpeg version N-53535-g9c66da5 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on May 28 2013 03:27:43 with gcc 4.6 (Debian 4.6.3-1)
   configuration: --enable-libfaac --enable-shared --disable-static
 --enable-nonfree
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 12.100 / 55. 12.100
   libavformat    55.  7.100 / 55.  7.100
   libavdevice    55.  1.101 / 55.  1.101
   libavfilter     3. 72.100 /  3. 72.100
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
 Input #0, lavfi, from 'aevalsrc=sin(440*2*PI*t)':
   Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
     Stream #0:0: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
 [aac @ 0x252c000] Too many bits per frame requested
 Output #0, mp4, to 'output.mp4':
     Stream #0:0: Audio: aac, 16000 Hz, mono, fltp, 128 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_f64le -> aac)
 Error while opening encoder for output stream #0:0 - maybe incorrect
 parameters such as bit_rate, rate, width or height
 }}}
 which made me believe that some default options for aac encoder are
 invalid or some options are not paired well with each other.

 Using libfaac, produced a good result (at least libfaac estimated bit rate
 correctly):
 {{{
 # ffmpeg -f lavfi -i aevalsrc="sin(440*2*PI*t)" -acodec libfaac -strict -2
 -ar 16k -t 10 -y output.mp4
 ffmpeg version N-53535-g9c66da5 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on May 28 2013 03:27:43 with gcc 4.6 (Debian 4.6.3-1)
   configuration: --enable-libfaac --enable-shared --disable-static
 --enable-nonfree
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 12.100 / 55. 12.100
   libavformat    55.  7.100 / 55.  7.100
   libavdevice    55.  1.101 / 55.  1.101
   libavfilter     3. 72.100 /  3. 72.100
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
 Input #0, lavfi, from 'aevalsrc=sin(440*2*PI*t)':
   Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
     Stream #0:0: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
 [libfaac @ 0x1269fe0] libfaac doesn't support the specified bitrate, using
 96kbit/s instead
 Output #0, mp4, to 'output.mp4':
   Metadata:
     encoder         : Lavf55.7.100
     Stream #0:0: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 16000 Hz,
 mono, s16, 96 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_f64le -> libfaac)
 Press [q] to stop, [?] for help
 size=      34kB time=00:00:10.04 bitrate=  27.4kbits/s
 video:0kB audio:32kB subtitle:0 global headers:0kB muxing overhead
 4.154168%
 }}}

 So, I guess the ticket can stay marked as invalid, but aac issue might be
 investigated a bit more perhaps.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2587#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list