Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30067 - Version bump: ffmpeg-0.4.8
Summary: Version bump: ffmpeg-0.4.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL: http://ffmpeg.sf.net
Whiteboard:
Keywords: EBUILD
Depends on: 31376
Blocks:
  Show dependency tree
 
Reported: 2003-10-01 07:37 UTC by Marc Hildebrand (RETIRED)
Modified: 2003-10-18 13:35 UTC (History)
3 users (show)

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


Attachments
The ebuild (ffmpeg-0.4.8.ebuild,2.05 KB, text/plain)
2003-10-01 07:39 UTC, Marc Hildebrand (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Hildebrand (RETIRED) gentoo-dev 2003-10-01 07:37:54 UTC
Hi!
This is an ebuild for ffmpeg-0.4.8.
I modified the 0.4.7-ebuild and added the postproc stuff.
The src_install() function produced sandbox violations until I changed "einstall" into a somwhat long "make install" line.
Cheers,
Marc.
Comment 1 Marc Hildebrand (RETIRED) gentoo-dev 2003-10-01 07:39:10 UTC
Created attachment 18568 [details]
The ebuild
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-05 04:01:30 UTC
when i'm building i get a nice error
gcc -Wl,--warn-common -rdynamic -g  -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat
-lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc
/usr/lib/libpostproc.so.0: undefined reference to `fast_memcpy'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
Comment 3 Marc Hildebrand (RETIRED) gentoo-dev 2003-10-05 04:51:36 UTC
hmmm...
What does "qpkg -nc -f -v /usr/lib/libpostproc.so" say?
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-10-05 04:55:53 UTC
qpkg -nc -f -v /usr/lib/libpostproc.so
media-video/mplayer-1.0_pre1
Comment 5 Marc Hildebrand (RETIRED) gentoo-dev 2003-10-05 05:10:14 UTC
I feared so.
It works with my mplayer-0.92.
I'll have a look at it.
Comment 6 Marc Hildebrand (RETIRED) gentoo-dev 2003-10-05 05:46:23 UTC
Arrrg, on my laptop without mplayer it dies too (naturally).
I'll fix the ebuild as soon as I have time.
Comment 7 Marc Hildebrand (RETIRED) gentoo-dev 2003-10-05 05:49:44 UTC
Sorry, me again.
First idea: How about a local flag postproc?
Comment 8 Marc Hildebrand (RETIRED) gentoo-dev 2003-10-05 10:58:37 UTC
Ok, the problem is not libpostproc itself but the shared libpostproc from
mplayer.
Ffmpeg can't link against it with most of the mlayer versions it seems.
Leaving each prog to its own libpostproc seems to neither harm the other
nor is it a quality or performane loss.
So I suggest the following:
Change the according line in the ebuild:
from myconf="${myconf} --enable-pp --enable-shared-pp"
to myconf="${myconf} --disable-opts --enable-pp"
I disabled optimization because we do this ourself.
See an example of the configure process:
------------------------------------------------------------

mothership ffmpeg # emerge ffmpeg-0.4.8.ebuild -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/ffmpeg-0.4.8  +mmx +encode +oggvorbis -doc +faad
+dvd -static +sdl +imlib +truetype 

mothership ffmpeg # emerge ffmpeg-0.4.8.ebuild 
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/ffmpeg-0.4.8 to /
>>> md5 src_uri ;-) ffmpeg-0.4.8.tar.gz
>>> Unpacking source...
>>> Unpacking ffmpeg-0.4.8.tar.gz to /var/tmp/portage/ffmpeg-0.4.8/work
>>> Source unpacked.
Install prefix   /usr
Source path      /var/tmp/portage/ffmpeg-0.4.8/work/ffmpeg-0.4.8
C compiler       gcc
make             make
CPU              x86 (generic)
Big Endian       no
MMX enabled      yes
Vector Builtins  yes
gprof enabled    no
zlib enabled     yes
mp3lame enabled  yes
vorbis enabled   yes
faad enabled     yes
faadbin enabled  yes
a52 support      yes
a52 dlopened     yes
pp support       yes
debug symbols    no
optimize         no
shared pp        no
Video hooking    yes
SDL support      yes
risky / patent encumbered codecs yes
Imlib2 support   yes
freetype support yes
Sun medialib support no
AMR-NB float support no
AMR-NB fixed support no
Creating config.mak and config.h
make -C libavcodec all
make[1]: Entering directory `/var/tmp/portage/ffmpeg-0.4.8/work/ffmpeg-0.4.8/libavcodec'
gcc -O3 -march=athlon-xp -mcpu=athlon-xp -pipe -mmmx -msse -m3dnow -mfpmath=sse,387
-falign-functions=4 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c 
------------------------------------------------------------------------------
Please test this.
marc


Comment 9 Brian Jackson (RETIRED) gentoo-dev 2003-10-18 13:35:10 UTC
I committed this with the change to use non-shared pp, and a small fix to
remove an include of X11/Xlibs.h which is unnecessary.