[FFmpeg-trac] #1121(undetermined:new): ffmpeg internal flac codec hangs on corrupted file
FFmpeg
trac at avcodec.org
Tue Mar 27 13:52:12 CEST 2012
#1121: ffmpeg internal flac codec hangs on corrupted file
-------------------------------------+-------------------------------------
Reporter: nzqr | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: flac | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by nzqr):
>How long did you wait?
Ha. It collects oneself (sorry for misinformation) in more than minute (on
phenom ii 3.2Ghz that long is pretty strange).
{{{
$ time ffmpeg -loglevel 99 -i ffmpegs_flac_hangs_on_this.flac
ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 24 2012 15:48:00 with gcc 4.6.2
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc
--cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar
--optflags='-pipe -march=amdfam10 -O2 -g0' --extra-cflags='-pipe
-march=amdfam10 -O2 -g0' --extra-cxxflags='-pipe -march=amdfam10 -O2 -g0'
--disable-static --enable-gpl --enable-postproc --enable-avfilter
--disable-stripping --disable-debug --disable-doc --disable-vaapi
--disable-bzlib --disable-indev=v4l --disable-indev=v4l2 --disable-
indev=alsa --disable-indev=oss --disable-indev=jack --disable-outdev=alsa
--disable-outdev=oss --enable-pthreads --disable-altivec --disable-avx
--disable-ssse3 --disable-vis --disable-neon --cpu=amdfam10 --enable-
hardcoded-tables
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[flac @ 0x162f320] Format flac detected only with low score of 1,
misdetection possible!
[flac @ 0x16355f0] err{or,}_recognition separate: 1; 1
[flac @ 0x16355f0] err{or,}_recognition combined: 1; 10001
[flac @ 0x162f320] decoding for stream 0 failed
[flac @ 0x162f320] Could not find codec parameters (Audio: flac, 0
channels, s16)
[flac @ 0x162f320] Estimating duration from bitrate, this may be
inaccurate
ffmpegs_flac_hangs_on_this.flac: could not find codec parameters
real 0m48.604s
user 0m32.160s
sys 0m16.340s
}}}
BUT mpd does not! And on it's bugzilla they said to me «it turns out to be
a libav/ffmpeg bug. Please report to libav/ffmpeg».
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1121#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list