[libav-bugs] [Bug 310] New: Avconv hangs when transcoding .flac files

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Mon Jun 11 14:06:18 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=310

           Summary: Avconv hangs when transcoding .flac files
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: viacheslav.dukalskiy at f-secure.com


Avconv is not able to transcode flac to mp4 and hangs, eating 100% CPU time.


$ avconv -threads 2 -y -v 9 -loglevel 99 -i /tmp/test93k.flac   -f mp4
tmph6Yj3xf.nul
avconv version v0.8-1962-gbcbb30e-4:0.8-2~bpo60+1, Copyright (c) 2000-2012 the
Libav developers
  built on Jun 11 2012 13:48:29 with gcc 4.4.5
  configuration: extra-version='4:0.8-2~bpo60+1' --arch=amd64 --prefix=/usr
--enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads
--enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype
--enable-vaapi --enable-libopenjpeg --enable-libfaac --enable-nonfree
--enable-gpl --enable-swscale --enable-x11grab --enable-libmp3lame
--enable-librtmp --enable-libx264 --enable-libxvid --enable-libopencore-amrnb
--enable-version3 --enable-libopencore-amrwb --enable-version3
--enable-libdc1394
  libavutil     51. 32. 0 / 51. 32. 0
  libavcodec    54. 14. 0 / 54. 14. 0
  libavformat   54.  3. 1 / 54.  3. 1
  libavdevice   53.  2. 0 / 53.  2. 0
  libavfilter    2. 20. 0 /  2. 20. 0
  libavresample  0.  0. 2 /  0.  0. 2
  libswscale     2.  1. 0 /  2.  1. 0
[flac @ 0x27c3900] Probed with size=2048 and score=50
[NULL @ 0x27c5780]   Max Blocksize: 4608
[NULL @ 0x27c5780]   Max Framesize: 13742
[NULL @ 0x27c5780]   Samplerate: 44100
[NULL @ 0x27c5780]   Channels: 2
[NULL @ 0x27c5780]   Bits: 16
[flac @ 0x27c5780]   Max Blocksize: 4608
[flac @ 0x27c5780]   Max Framesize: 13742
[flac @ 0x27c5780]   Samplerate: 44100
[flac @ 0x27c5780]   Channels: 2
[flac @ 0x27c5780]   Bits: 16
[flac @ 0x27c5780] Junk frame till offset 3262
[flac @ 0x27c5780] Junk frame till offset 7041
[flac @ 0x27c5780] Junk frame till offset 15713
[flac @ 0x27c5780] Junk frame till offset 29455
Input #0, flac, from '/tmp/test93k.flac':
  Duration: 00:00:02.75, bitrate: 95 kb/s
    Stream #0.0, 9, 1/44100: Audio: flac, 44100 Hz, stereo, s16
[abuffer source @ 0x27c52a0] Setting value '1/44100' for key 'time_base'
[abuffer source @ 0x27c52a0] Setting value '44100' for key 'sample_rate'
[abuffer source @ 0x27c52a0] Setting value 's16' for key 'sample_fmt'
[abuffer source @ 0x27c52a0] Setting value '0x3' for key 'channel_layout'
[abuffer @ 0x27c4d60] tb:1/44100 samplefmt:s16 samplerate: 44100 ch layout:0x3
[aformat filter @ 0x27c7800] Setting value 's16' for key 'sample_fmts'
[aformat filter @ 0x27c7800] Setting value '0x4,0x3,0x7,0x107,0x37,0x3f' for
key 'channel_layouts'
[flac @ 0x27c5780]   Max Blocksize: 4608
[flac @ 0x27c5780]   Max Framesize: 13742
[flac @ 0x27c5780]   Samplerate: 44100
[flac @ 0x27c5780]   Channels: 2
[flac @ 0x27c5780]   Bits: 16
Output #0, mp4, to 'tmph6Yj3xf.nul':
  Metadata:
    encoder         : Lavf54.3.1
    Stream #0.0, 0, 1/44100: Audio: libfaac, 44100 Hz, stereo, s16, 200 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (flac -> libfaac)
Press ctrl-c to stop encoding
[flac @ 0x27c5780] underread: 28974 orig size: 32236
Multiple frames in a packet from stream 0
[flac @ 0x27c5780] underread: 25195 orig size: 28974
Multiple frames in a packet from stream 0
[flac @ 0x27c5780] underread: 16523 orig size: 25195
Multiple frames in a packet from stream 0
[flac @ 0x27c5780] underread: 2781 orig size: 16523
Multiple frames in a packet from stream 0
^C^C

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list