[Ffmpeg-devel] converting from ogg vorbis hangs

Kevin M. Goess cpan
Wed Oct 11 22:28:02 CEST 2006


We were recently testing ffmpeg for ogg-to-mp3 translation and happened
to find that ffmpeg hangs on any of the ogg vorbis files that KDE uses
for its system sounds, like /usr/share/sounds/KDE_Beep_Car.ogg.  The CPU
is at 100%, but ffmpeg never exits.

It seems to happen for any of the KDE files, and it seems to happen for
any output format.  Other .ogg files can convert just fine.

Any ideas why this might be happening?

recent version with libogg
$ ffmpeg -y -i KDE_Beep_Car.ogg out.mp3
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --prefix=/usr --libdir=/usr/lib64
--mandir=/usr/share/man --extra-cflags=-fPIC --enable-mp3lame
--enable-libogg --enable-faad --enable-faac --enable-amr_nb
--enable-amr_nb-fixed --enable-a52 --disable-vhook --disable-ffplay
--disable-ffserver --enable-pthreads --enable-gpl
  libavutil version: 49.0.1
  libavcodec version: 51.16.0
  libavformat version: 50.5.0
  built on Oct  6 2006 15:28:59, gcc: 3.4.4 20050721 (Red Hat 3.4.4-2)
...nothing after that, cpu is at 100%


older version with native ogg demuxer
$ ffmpeg -i KDE_Beep_Car.ogg  out.mp3
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --libdir=/usr/lib64
--mandir=/usr/share/man --extra-cflags=-fPIC --enable-mp3lame
--enable-faad --enable-faac --enable-amr_nb --enable-amr_nb-fixed
--enable-a52 --disable-vhook --disable-ffplay --disable-ffserver
--enable-pthreads --enable-gpl
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Aug 23 2006 17:17:47, gcc: 3.4.4 20050721 (Red Hat 3.4.4-2)
...nothing after that, cpu is at 100%

Searching google showed the ogg files are available here if you need a
sample.
https://unisim.org/summerschool05/acaces-knoppix/usr/share/sounds/?C=N;O=D

This is on CentOS and Fedora Core Linux, by the way.




More information about the ffmpeg-devel mailing list