Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176688 - media-video/mplayer-1.0.20070427 amr support broken
Summary: media-video/mplayer-1.0.20070427 amr support broken
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://www.mplayerhq.hu/DOCS/HTML/en/...
Whiteboard:
Keywords:
: 176451 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-01 14:21 UTC by Maxxer
Modified: 2007-07-28 22:43 UTC (History)
1 user (show)

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


Attachments
ebuild (mplayer-1.0.20070427.ebuild,16.46 KB, text/plain)
2007-05-13 15:54 UTC, Maxxer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxxer 2007-05-01 14:21:27 UTC
In media-video/mplayer-1.0.20070427 amr support is broken.

at configure time, it fails to detect header files. configure.log says:

============ Checking for AMR narrowband ============

#include <amrnb/interf_dec.h>
int main(void) { Speech_Decode_Frame_init(); return 0; }

cc -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer  -I/usr/X11R6/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include -I/
usr/include/dvdnav  -I/usr/include/freetype2 -I/usr/include     -lncurses -lsmbclient -lpng -lz -ljpeg -lgif -lasound -ldl -lpthread -L/usr/lib64 -ldvdnav -l
pthread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig  -L/usr/lib64 -lfribidi -lz -llzo2 -lmad  -ltheora -logg   -lliveMedia -lgroupsock -lUsa
geEnvironment -lBasicUsageEnvironment -lstdc++   -lXext -lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -L/usr/lib64 -lcaca -lcucul -lSDL
 -lpthread -L/usr/lib64 -lesd -laudiofile -lm -lasound -laudiofile -lm -lopenal -lfaac  -lfaac -o /tmp/mplayer-conf-27782-16644.o /tmp/mplayer-conf-13326-166
44.c -lamrnb
/tmp/mplayer-conf-13326-16644.c:1:30: error: amrnb/interf_dec.h: No such file or directory


Result is: no 
##########################################

============ Checking for AMR wideband ============

#include <amrwb/dec_if.h>
int main(void) { D_IF_init(); return 0; }

cc -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer  -I/usr/X11R6/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT  -I/usr/include -I/
usr/include/dvdnav  -I/usr/include/freetype2 -I/usr/include     -lncurses -lsmbclient -lpng -lz -ljpeg -lgif -lasound -ldl -lpthread -L/usr/lib64 -ldvdnav -l
pthread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig  -L/usr/lib64 -lfribidi -lz -llzo2 -lmad  -ltheora -logg   -lliveMedia -lgroupsock -lUsa
geEnvironment -lBasicUsageEnvironment -lstdc++   -lXext -lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -L/usr/lib64 -lcaca -lcucul -lSDL
 -lpthread -L/usr/lib64 -lesd -laudiofile -lm -lasound -laudiofile -lm -lopenal -lfaac  -lfaac -o /tmp/mplayer-conf-27782-16644.o /tmp/mplayer-conf-13326-166
44.c -lamrwb
/tmp/mplayer-conf-13326-16644.c:1:26: error: amrwb/dec_if.h: No such file or directory


Result is: no 
---

Having a look at the documentation (http://www.mplayerhq.hu/DOCS/HTML/en/audio-codecs.html#amr) it seems support for AMR is different from the past, and two new packages are needed from http://www.penguin.cz/~utx/amr

This but doesn't affect media-video/mplayer-1.0.20070321
Comment 1 Maxxer 2007-05-01 14:23:45 UTC
I'm sorry, I filed a bug duplicate of 
http://bugs.gentoo.org/show_bug.cgi?id=176451
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-01 14:31:42 UTC
*** Bug 176451 has been marked as a duplicate of this bug. ***
Comment 3 Maxxer 2007-05-13 15:54:36 UTC
Created attachment 119122 [details]
ebuild 

now that media-libs/amr[wn]b are in portage it's time to modify the ebuild! :)
I don't know if you prefeer enabling two different use flags for the two codecs.

This ebuild is working fine on my amd64.
Comment 4 Maxxer 2007-06-23 07:41:42 UTC
this has been fixed in mplayer-1.0.20070622, but still present in mplayer-1.0.20070427
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2007-07-28 22:43:50 UTC
resolving as fixed, since newer one is stable.