[FFmpeg-trac] #3038(undetermined:closed): FFMPEG crashes encoding AAC audio at 32k/1ch AAC, but not at 31k/1ch or 33k/1ch

FFmpeg trac at avcodec.org
Wed Oct 9 10:55:28 CEST 2013


#3038: FFMPEG crashes encoding AAC audio at 32k/1ch AAC, but not at 31k/1ch or
33k/1ch
-------------------------------------+-------------------------------------
             Reporter:  soulbabel    |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |  worksforme
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by soulbabel):

 My apologies for not attaching the missing info.  I am running this
 command on Windows 7 x64 using the latest static build from Zeranoe.  The
 command crashes after a few seconds, so the log file ends abruptly when it
 reaches the 4 minute mark in the file.

 {{{
 ffmpeg started on 2013-10-09 at 04:49:50
 Report written to "ffmpeg-20131009-044950.log"
 Command line:
 ffmpeg -v 9 -loglevel 99 -report -i original.mp4 -y -vn -c:a libvo_aacenc
 -ac 1 -b:a 32k -ar 44100 output.mp4
 ffmpeg version N-56980-g1ab9f32 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Oct  8 2013 18:08:35 with gcc 4.8.1 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
 --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
 aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
 --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib
   libavutil      52. 46.101 / 52. 46.101
   libavcodec     55. 35.100 / 55. 35.100
   libavformat    55. 19.100 / 55. 19.100
   libavdevice    55.  4.100 / 55.  4.100
   libavfilter     3. 88.101 /  3. 88.101
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument '9'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 Reading option '-i' ... matched as input file with argument
 'original.mp4'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option '-vn' ... matched as option 'vn' (disable video) with
 argument '1'.
 Reading option '-c:a' ... matched as option 'c' (codec name) with argument
 'libvo_aacenc'.
 Reading option '-ac' ... matched as option 'ac' (set number of audio
 channels) with argument '1'.
 Reading option '-b:a' ... matched as option 'b' (video bitrate (please use
 -b:v)) with argument '32k'.
 Reading option '-ar' ... matched as option 'ar' (set audio sampling rate
 (in Hz)) with argument '44100'.
 Reading option 'output.mp4' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Applying option loglevel (set logging level) with argument 99.
 Applying option report (generate a report) with argument 1.
 Applying option y (overwrite output files) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file original.mp4.
 Successfully parsed a group of options.
 Opening an input file: original.mp4.
 [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000253af00] Format
 mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000253af00] ISO: File Type Major Brand:
 M4V
 [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000253af00] File position before
 avformat_find_stream_info() is 400450
 [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000253af00] All info found
 [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000253af00] File position after
 avformat_find_stream_info() is 411559
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original.mp4':
   Metadata:
     major_brand     : M4V
     minor_version   : 1
     compatible_brands: M4V mp42isom
     creation_time   : 2013-03-22 15:43:32
   Duration: 00:18:58.68, start: 0.000000, bitrate: 1122 kb/s
     Stream #0:0(eng), 10, 1/29970: Video: h264 (Baseline) (avc1 /
 0x31637661), yuv420p(tv), 480x270 [SAR 1:1 DAR 16:9], 1001/60000, 994
 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 59.94 tbc (default)
     Metadata:
       creation_time   : 2013-03-22 15:43:32
       handler_name    : Mainconcept MP4 Video Media Handler
     Stream #0:1(eng), 1, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100
 Hz, stereo, fltp, 125 kb/s (default)
     Metadata:
       creation_time   : 2013-03-22 15:43:32
       handler_name    : Mainconcept MP4 Sound Media Handler
 Successfully opened the file.
 Parsing a group of options: output file output.mp4.
 Applying option vn (disable video) with argument 1.
 Applying option c:a (codec name) with argument libvo_aacenc.
 Applying option ac (set number of audio channels) with argument 1.
 Applying option b:a (video bitrate (please use -b:v)) with argument 32k.
 Applying option ar (set audio sampling rate (in Hz)) with argument 44100.
 Successfully parsed a group of options.
 Opening an output file: output.mp4.
 Successfully opened the file.
 detected 12 logical cores
 [graph 0 input from stream 0:1 @ 00000000024bca60] Setting 'time_base' to
 value '1/44100'
 [graph 0 input from stream 0:1 @ 00000000024bca60] Setting 'sample_rate'
 to value '44100'
 [graph 0 input from stream 0:1 @ 00000000024bca60] Setting 'sample_fmt' to
 value 'fltp'
 [graph 0 input from stream 0:1 @ 00000000024bca60] Setting
 'channel_layout' to value '0x3'
 [graph 0 input from stream 0:1 @ 00000000024bca60] tb:1/44100
 samplefmt:fltp samplerate:44100 chlayout:0x3
 [audio format for output stream 0:0 @ 00000000024ca400] Setting
 'sample_fmts' to value 's16'
 [audio format for output stream 0:0 @ 00000000024ca400] Setting
 'sample_rates' to value '44100'
 [audio format for output stream 0:0 @ 00000000024ca400] Setting
 'channel_layouts' to value '0x4'
 [audio format for output stream 0:0 @ 00000000024ca400] auto-inserting
 filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and
 the filter 'audio format for output stream 0:0'
 [AVFilterGraph @ 00000000024ba520] query_formats: 4 queried, 6 merged, 3
 already done, 0 delayed
 0.500000 0.500000
 [auto-inserted resampler 0 @ 0000000004cd0b00] ch:2 chl:stereo fmt:fltp
 r:44100Hz -> ch:1 chl:mono fmt:s16 r:44100Hz
 Output #0, mp4, to 'output.mp4':
   Metadata:
     major_brand     : M4V
     minor_version   : 1
     compatible_brands: M4V mp42isom
     encoder         : Lavf55.19.100
     Stream #0:0(eng), 0, 1/44100: Audio: aac (libvo_aacenc) ([64][0][0][0]
 / 0x0040), 44100 Hz, mono, s16, 32 kb/s (default)
     Metadata:
       creation_time   : 2013-03-22 15:43:32
       handler_name    : Mainconcept MP4 Sound Media Handler
 Stream mapping:
   Stream #0:1 -> #0:0 (aac -> libvo_aacenc)
 Press [q] to stop, [?] for help
 size=     312kB time=00:01:20.42 bitrate=  31.8kbits/s
 size=     613kB time=00:02:38.39 bitrate=  31.7kbits/s
 size=     919kB time=00:03:57.38 bitrate=  31.7kbits/s

 }}}

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


More information about the FFmpeg-trac mailing list