Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103444 - faac hangs when trying to convert some WAV files
Summary: faac hangs when trying to convert some WAV files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL: http://www.audiocoding.com/modules/ne...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 06:21 UTC by Heitzso
Modified: 2007-03-12 03:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heitzso 2005-08-23 06:21:53 UTC
The URL above describes what I believe is a variation of my problem.
I have VOB ready MP2 files that I need to convert to AAC/MP4.
First step is to unpack the audio to WAV using ffmpeg, then run
  faac -b 64 -o blat.aac blat.wav
In some cases this hangs forever, pegging CPU close to 100%.
On the other hand, if I remove '-b 64' it doesn't hang (defaults to 128 I believe).

I've experienced this on Ubuntu as well as on Gentoo, so not related
to the emerge/portage.  It is a bug in the program.  I'm flagging
in case the bug is fixed in a more recent version of faac that you may
want to push to stable sooner rather than later.  

BTW -- THE ABOVE URL NOTES WORK AROUNDS.  I'm mentioning this in case 
someone else hits this bug and stumbles across this bug report looking
for a clue how to work around the problem.


Reproducible: Always
Steps to Reproduce:
1.run faac against some wav files with -b 64 option
2.
3.

Actual Results:  
cpu pegged close to 100%
faac hangs

Expected Results:  
faac should have proceeded with the encoding

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP 2200+
dev-lang/python:     2.1.3-r1, 2.2.3-r5, 2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo
cdr clamav crypt ctype cups curl dba dbm dga directfb divx4linux doc dv dvdr
dvdread eds emboss encode esd fam fame flac foomaticdb fortran freetds gb gcj gd
gdbm gif gimpprint gnome gnomedb gnuplot gnustep gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile imagemagick imap imlib ipv6 jack java javascript jikes jpeg junit
libg++ libwww lzo mad maildir matrox mikmod mjpeg mmx mmx2 motif mozilla mp3
mp4live mpeg mysql ncurses nentwork nls odbc ogg oggvorbis opengl oss pam pdflib
perl php plotutils png postgres ppds python qt quicktime readline real rtc ruby
samba sasl scanner sdl session slang soap speex spell sqlite sse2 ssl svga tcltk
tcpd tetex theora tiff transcode truetype truetype-fonts type1-fonts unicode usb
v4l videos vorbis wavelan wxwindows xanim xine xml xml2 xmlrpc xmms xv xvid xvmc
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Johannes Ballé 2005-09-06 00:37:22 UTC
Hi, 
 
I'm using a CVS snapshot from 18-10-2004 which doesn't have this problem. It's 
available from audiocoding.com. Only minor changes to the ebuild are 
necessary ... 
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2007-03-12 03:41:08 UTC
This should be fixed in faac-1.24-r4.  Sorry about the wait.