Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245912 - ffmpeg 20081014 segfault with reading or writing quicktime and mjpeg.
Summary: ffmpeg 20081014 segfault with reading or writing quicktime and mjpeg.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL: https://roundup.ffmpeg.org/roundup/ff...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-06 23:56 UTC by Brian Beardall
Modified: 2009-07-10 07:45 UTC (History)
2 users (show)

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


Attachments
mpeg file (scene1a_4611.mpg,1.56 MB, application/octet-stream)
2008-11-13 16:46 UTC, Brian Beardall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Beardall 2008-11-06 23:56:45 UTC
With ffmpeg 20081014 when encoding or reading .mov files with mjpeg as the video codec used ffmpeg segfaults.

emerge --info
Portage 2.2_rc13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5
Timestamp of tree: Wed, 05 Nov 2008 23:35:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/armagetron /usr/portage/local/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac accessibility acl acpi aiglx alsa amd64 apache2 asf berkdb bluetooth bonobo branding browserplugin bzip2 cairo cdr cli cracklib crypt cups curl dba dbus dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimp glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imagemagick imap imlib ipv6 isdnlog java joystick jpeg kqemu lame lcms ldap libnotify libsamplerate lirc mad mhash midi mikmod mmx mng mono mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pda pdf perl plotutils png policykit ppds pppd python qt3support quicktime readline reflection samba scanner sdl session slang snmp spamassassin speex spell spl sse sse2 ssl startup-notification svg sysfs tcltk tcpd theora threads tiff truetype unicode usb userlocales v4l v4l2 vorbis x264 xine xml xml2 xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexis Ballier gentoo-dev 2008-11-07 11:43:51 UTC
Please provide a sample file (or point to one in samples.mplayerhq.hu) and the command line used to reproduce the problem. A backtrace following http://www.gentoo.org/proj/en/qa/backtraces.xml would be a plus.
Please reopen with the needed information to analyze the bug.
Comment 2 Brian Beardall 2008-11-13 16:46:51 UTC
Created attachment 171648 [details]
mpeg file

ffmpeg -i scene1a_4611.mpg -vcodec mjpeg -an scene1a_4611.mov
That command crashes ffmpeg.
Comment 3 Brian Beardall 2008-11-13 16:48:48 UTC
The mov file with the vcodec set to mjpeg is located at http://www.rapsure.net/scene1a_4611.mov

ffmpeg -i scene1a_4611.mov test.avi 

will crash ffmpeg.
Comment 4 Alexis Ballier gentoo-dev 2008-11-14 00:25:44 UTC
both work fine here :/ please provide a backtrace

 $ ffmpeg -i scene1a_4611.mpg -vcodec mjpeg -an scene1a_4611.mov
FFmpeg version SVN-r15615, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-static --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-debug --disable-optimizations --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid --enable-libdc1394 --enable-x11grab --enable-pthreads --enable-libfaad --enable-libdirac --enable-libschroedinger --enable-libgsm --enable-libamr-nb --enable-libamr-wb --enable-nonfree --disable-altivec --cpu=core2 --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-swscale --disable-stripping
  libavutil     49.11. 0 / 49.11. 0
  libavcodec    52. 0. 0 / 52. 0. 0
  libavformat   52.22. 1 / 52.22. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 1. 0 /  0. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Nov 14 2008 01:19:40, gcc: 4.3.2
Input #0, mpeg, from 'scene1a_4611.mpg':
  Duration: 00:00:07.58, start: 0.259822, bitrate: 1731 kb/s
    Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320x240 [PAR 200:219 DAR 800:657], 1500 kb/s, 29.97 tb(r)
    Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 192 kb/s
Output #0, mov, to 'scene1a_4611.mov':
    Stream #0.0: Video: mjpeg, yuvj420p, 320x240 [PAR 200:219 DAR 800:657], q=2-31, 200 kb/s, 29.97 tb(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  231 fps=  0 q=24.8 Lsize=    1106kB time=7.71 bitrate=1175.5kbits/s    
video:1104kB audio:0kB global headers:0kB muxing overhead 0.220438%


and:

$ ffmpeg -i scene1a_4611.mov test.avi
FFmpeg version SVN-r15615, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-static --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-debug --disable-optimizations --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid --enable-libdc1394 --enable-x11grab --enable-pthreads --enable-libfaad --enable-libdirac --enable-libschroedinger --enable-libgsm --enable-libamr-nb --enable-libamr-wb --enable-nonfree --disable-altivec --cpu=core2 --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-swscale --disable-stripping
  libavutil     49.11. 0 / 49.11. 0
  libavcodec    52. 0. 0 / 52. 0. 0
  libavformat   52.22. 1 / 52.22. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 1. 0 /  0. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Nov 14 2008 01:19:40, gcc: 4.3.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'scene1a_4611.mov':
  Duration: 00:00:07.70, start: 0.000000, bitrate: 12898 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj422p, 320x240, 24.00 tb(r)
Output #0, avi, to 'test.avi':
    Stream #0.0(eng): Video: mpeg4, yuv420p, 320x240, q=2-31, 200 kb/s, 24.00 tb(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  185 fps=  0 q=7.2 Lsize=     383kB time=7.71 bitrate= 406.9kbits/s    
video:373kB audio:0kB global headers:0kB muxing overhead 2.675239%
Comment 5 Brian Beardall 2008-11-14 03:05:03 UTC
Yup you are right it doesn't segfault with your use flags.
Comment 6 Brian Beardall 2008-11-14 03:32:30 UTC
The mmx use flag is broke as this backtrace shows.

GNU gdb 6.7.1
Copyright (C) 2007 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 "x86_64-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) set args -i scene1a_4611.mpg -vcodec mjpeg -an test.mov
(gdb) run
Starting program: /usr/bin/ffmpeg -i scene1a_4611.mpg -vcodec mjpeg -an test.mov
[Thread debugging using libthread_db enabled]
[New Thread 0x7fc899ead6f0 (LWP 5571)]
FFmpeg version SVN-r15615, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-static --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-optimizations --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab --enable-pthreads --enable-libfaad --disable-ssse3 --disable-altivec --disable-mmx2 --cpu=k8 --disable-vhook --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-swscale --disable-stripping
  libavutil     49.11. 0 / 49.11. 0
  libavcodec    52. 0. 0 / 52. 0. 0
  libavformat   52.22. 1 / 52.22. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 1. 0 /  0. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Nov 13 2008 20:20:48, gcc: 4.1.2 (Gentoo 4.1.2 p1.1)
Input #0, mpeg, from 'scene1a_4611.mpg':
  Duration: 00:00:07.58, start: 0.259822, bitrate: 1731 kb/s
    Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320x240 [PAR 200:219 DAR 800:657], 1500 kb/s, 29.97 tb(r)
    Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 192 kb/s
File 'test.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'test.mov':
    Stream #0.0: Video: mjpeg, yuvj420p, 320x240 [PAR 200:219 DAR 800:657], q=2-31, 200 kb/s, 29.97 tb(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fc899ead6f0 (LWP 5571)]
0x00007fc8997bdca9 in hcscale_MMX (c=0x632bf0, dst=0x7fffa1ff6880, 
    dstWidth=160, src1=0x7fc898d7f3ec ", %d kb/s", 
    src2=0xfffffffffffffec0 <Address 0xfffffffffffffec0 out of bounds>, 
    srcW=<value optimized out>, xInc=6499073, flags=-1719929338, 
    canMMX2BeUsed=65536, hChrFilter=0x64a6b0, hChrFilterPos=0x0, 
    hChrFilterSize=6596272, funnyUVCode=0x64a560, srcFormat=4, 
    formatConvBuffer=0x1 <Address 0x1 out of bounds>, mmx2Filter=0x0, 
    mmx2FilterPos=0x6334c0, pal=0x0) at libswscale/swscale_template.c:2187
2187	libswscale/swscale_template.c: No such file or directory.
	in libswscale/swscale_template.c
Comment 7 Alexis Ballier gentoo-dev 2008-11-14 08:37:28 UTC
grrr this looks like bug #244278
and even disabling mmxext & ssse3 doesn't let it fail here :-(
could you please try the debugging patch in that bug and give me the output you're getting?
also, does compiling ffmpeg with gcc 4.3 exhibits the problem too ? (i've tried gcc 4.1 and it doesnt crash :/)
Comment 8 Alexis Ballier gentoo-dev 2008-11-26 10:56:08 UTC
(In reply to comment #7)
> grrr this looks like bug #244278
> and even disabling mmxext & ssse3 doesn't let it fail here :-(
> could you please try the debugging patch in that bug and give me the output
> you're getting?
> also, does compiling ffmpeg with gcc 4.3 exhibits the problem too ? (i've tried
> gcc 4.1 and it doesnt crash :/)
> 

ping? please reopen with the needed info
Comment 9 quazgar 2009-01-31 11:56:03 UTC
New bug or this one? 

I can reproduce this with the current testing version (0.4.9_p20090121), setting/unsetting the mmx USE flag for ffmpeg is what makes it segfault here, but strangely _only_ when encoding to ogg/theora:

ffmpeg -i scene1a_4611.mov test.ogg

If you think your patch from bug #244278 still helps, please let me know.

gdb output follows:
--------
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/ffmpeg -i scene1a_4611.mov test.ogg
[Thread debugging using libthread_db enabled]
[New Thread 0x7f1b299636f0 (LWP 2277)]
FFmpeg version SVN-r16707, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-static --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-debug --disable-network --disable-optimizations --enable-libfaac --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid --enable-libdc1394 --disable-demuxer=v4l2 --enable-x11grab --enable-pthreads --enable-libfaad --enable-libspeex --disable-ssse3 --disable-altivec --disable-mmx2 --cpu=athlon64 --disable-vhook --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-swscale --disable-stripping
  libavutil     49.14. 0 / 49.14. 0
  libavcodec    52.11. 0 / 52.11. 0
  libavformat   52.25. 0 / 52.25. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 2. 0 /  0. 2. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jan 31 2009 12:48:15, gcc: 4.1.2 (Gentoo 4.1.2 p1.3)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'scene1a_4611.mov':
  Duration: 00:00:07.70, start: 0.000000, bitrate: 12898 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj422p, 320x240, 24.00 tb(r)
File 'test.ogg' already exists. Overwrite ? [y/N] y
Output #0, ogg, to 'test.ogg':
    Stream #0.0(eng): Video: libtheora, yuv420p, 320x240, q=2-31, 200 kb/s, 24.00 tb(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f1b299636f0 (LWP 2277)]
0x00007f1b292790d4 in swScale_MMX (c=0xb052e0, src=0x7fff31aaede0, srcStride=0x7fff31aaee00, srcSliceY=0, srcSliceH=240, dst=0xb05148,
    dstStride=0x7fff31aaee10) at libswscale/swscale_template.c:909
909     libswscale/swscale_template.c: No such file or directory.
        in libswscale/swscale_template.c
(gdb) bt
#0  0x00007f1b292790d4 in swScale_MMX (c=0xb052e0, src=0x7fff31aaede0, srcStride=0x7fff31aaee00, srcSliceY=0, srcSliceH=240, dst=0xb05148,
    dstStride=0x7fff31aaee10) at libswscale/swscale_template.c:909
#1  0x00007f1b29275935 in sws_scale (c=0xb052e0, src=<value optimized out>, srcStride=0x7fff31aaf2e0, srcSliceY=0, srcSliceH=240,
    dst=0xb05148, dstStride=0xb05168) at libswscale/swscale.c:2804
#2  0x000000000040a9f7 in output_packet (ist=0xafae70, ist_index=0, ost_table=0xafaec0, nb_ostreams=1, pkt=0x7fff31ab0200) at ffmpeg.c:920
#3  0x000000000040cd2f in main (argc=<value optimized out>, argv=<value optimized out>) at ffmpeg.c:2151
-----

emerge --info:
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2300-with-glibc2.2.5
Timestamp of tree: Fri, 30 Jan 2009 07:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -msse3 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -msse3 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://213.186.33.37/gentoo-distfiles/ ftp://212.219.56.139/sites/www.ibiblio.org/gentoo/ ftp://213.186.33.37/gentoo-distfiles/ http://212.219.56.135/sites/www.ibiblio.org/gentoo/"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo calendar caps cddb cdr cli cracklib crypt cups dbus dga directfb dri dv dvd dvdr dvdread eds emacs emboss encode esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gcj gd gdbm gif gimp glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv icq imagemagick isdnlog java javascript jikes joystick jpeg jpeg2k kde kdeprefix kdexdeltas lame lcms ldap leim libcaca libnotify libwww lm_sensors mad maildir mbox mcal memlimit midi mikmod mime mmx mng mp3 mp4 mpeg msn mudflap multilib ncurses neXt networking nls nocd nptl nptlonly nsplugin offensive ogg opengl openmp oscar pam pango pcre pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sndfile sockets sound sox speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd tetex theora threads tiff timidity truetype unicode usb v4l vcd videos vorbis wma wmf x264 xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de es" USERLAND="GNU" VIDEO_CARDS="vesa vga fbdev nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
-----
Comment 10 quazgar 2009-01-31 12:52:19 UTC
Reported upstream at https://roundup.ffmpeg.org/roundup/ffmpeg/issue811
Comment 11 Alexis Ballier gentoo-dev 2009-01-31 12:55:04 UTC
reopening then
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-07-10 07:45:03 UTC
upstream bug,

"status: new -> closed
messages: + msg4116
substatus: new -> works_for_me"

also, this bug is old ( please try with >= 0.5 which is stable )