[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
Tue Oct 15 21:05:17 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 Kamedo2):

 {{{
 GNU gdb (GDB) 7.4
 Copyright (C) 2012 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i686-pc-mingw32".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from c:\Users\PCC\Documents\ABC-
 HR\ffmpeg57158_g.exe...done.
 <39.flac -c:a libvo_aacenc -ac 1 -b:a 32k -ar 44100 output.mp4
 Starting program: c:\Users\PCC\Documents\ABC-HR\ffmpeg57158_g.exe -v 9
 -loglevel
  99 -y -i voaacenc_freeze_30-39.flac -c:a libvo_aacenc -ac 1 -b:a 32k -ar
 44100
 output.mp4
 [New Thread 7344.0x1a18]
 ffmpeg version N-57158-g51df616 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Oct 16 2013 00:36:40 with gcc 4.8.1 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libfdk
 -aac --enable-libfaac --enable-libmp3lame --enable-libvo-aacenc --extra-
 ldflags=
 -static --extra-cflags='-march=nocona -mfpmath=sse' --optflags=-O2
   libavutil      52. 46.101 / 52. 46.101
   libavcodec     55. 36.100 / 55. 36.100
   libavformat    55. 19.102 / 55. 19.102
   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 '-y' ... matched as option 'y' (overwrite output files)
 with argu
 ment '1'.
 Reading option '-i' ... matched as input file with argument
 'voaacenc_freeze_30-
 39.flac'.
 Reading option '-c:a' ... matched as option 'c' (codec name) with argument
 'libv
 o_aacenc'.
 Reading option '-ac' ... matched as option 'ac' (set number of audio
 channels) w
 ith 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 y (overwrite output files) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file voaacenc_freeze_30-39.flac.
 Successfully parsed a group of options.
 Opening an input file: voaacenc_freeze_30-39.flac.
 [flac @ 04ecf4c0] Format flac probed with size=2048 and score=50
 [flac @ 04ecf4c0] File position before avformat_find_stream_info() is 8282
 [flac @ 06c66720] sample/frame number mismatch in adjacent frames
     Last message repeated 126 times
 [flac @ 04ecf4c0] max_analyze_duration 5000000 reached at 5015510
 microseconds
 [flac @ 04ecf4c0] File position after avformat_find_stream_info() is
 364544
 Input #0, flac, from 'voaacenc_freeze_30-39.flac':
   Duration: 00:00:09.00, bitrate: 504 kb/s
     Stream #0:0, 56, 1/44100: Audio: flac, 44100 Hz, stereo, s16
 Successfully opened the file.
 Parsing a group of options: output file output.mp4.
 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 8 logical cores
 [New Thread 7344.0x1ec8]
 [New Thread 7344.0x20e8]
 [New Thread 7344.0x2154]
 [New Thread 7344.0x1508]
 [New Thread 7344.0x2278]
 [New Thread 7344.0x758]
 [New Thread 7344.0x248c]
 [New Thread 7344.0x1df8]
 [New Thread 7344.0x12dc]
 [graph 0 input from stream 0:0 @ 06c86160] Setting 'time_base' to value
 '1/44100
 '
 [graph 0 input from stream 0:0 @ 06c86160] Setting 'sample_rate' to value
 '44100
 '
 [graph 0 input from stream 0:0 @ 06c86160] Setting 'sample_fmt' to value
 's16'
 [graph 0 input from stream 0:0 @ 06c86160] Setting 'channel_layout' to
 value '0x
 3'
 [graph 0 input from stream 0:0 @ 06c86160] tb:1/44100 samplefmt:s16
 samplerate:4
 4100 chlayout:0x3
 [audio format for output stream 0:0 @ 06c86940] Setting 'sample_fmts' to
 value '
 s16'
 [audio format for output stream 0:0 @ 06c86940] Setting 'sample_rates' to
 value
 '44100'
 [audio format for output stream 0:0 @ 06c86940] Setting 'channel_layouts'
 to val
 ue '0x4'
 [audio format for output stream 0:0 @ 06c86940] auto-inserting filter
 'auto-inse
 rted resampler 0' between the filter 'Parsed_anull_0' and the filter
 'audio form
 at for output stream 0:0'
 [AVFilterGraph @ 06cd2f80] query_formats: 4 queried, 7 merged, 3 already
 done, 0
  delayed
 0.500000 0.500000
 [auto-inserted resampler 0 @ 06c876c0] ch:2 chl:stereo fmt:s16 r:44100Hz
 -> ch:1
  chl:mono fmt:s16 r:44100Hz
 [New Thread 7344.0x1c6c]
 [New Thread 7344.0x12e8]
 [New Thread 7344.0x2244]
 [New Thread 7344.0xe90]
 [New Thread 7344.0x1da8]
 [New Thread 7344.0x43c]
 [New Thread 7344.0x1bfc]
 [New Thread 7344.0x12a0]
 [New Thread 7344.0x27cc]
 Output #0, mp4, to 'output.mp4':
   Metadata:
     encoder         : Lavf55.19.102
     Stream #0:0, 0, 1/44100: Audio: aac (libvo_aacenc) ([64][0][0][0] /
 0x0040),
  44100 Hz, mono, s16, 32 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (flac -> libvo_aacenc)
 Press [q] to stop, [?] for help
 [flac @ 06c66720] sample/frame number mismatch in adjacent frames
     Last message repeated 21 times
 Program received signal SIGSEGV, Segmentation fault.
 0x009fa2fe in voAACEnc_pow2_xy ()
 }}}

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


More information about the FFmpeg-trac mailing list