Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17342 - New ebuild for libfaad2 an MPEG-2 and MPEG-4 AAC audio decoding library
Summary: New ebuild for libfaad2 an MPEG-2 and MPEG-4 AAC audio decoding library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Hannes Mehnert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 19119
  Show dependency tree
 
Reported: 2003-03-11 23:23 UTC by Jason Andryuk
Modified: 2003-04-12 13:00 UTC (History)
4 users (show)

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


Attachments
faad2 ebuild (faad2-1.1.ebuild,1.21 KB, text/plain)
2003-03-11 23:24 UTC, Jason Andryuk
Details
Updated ebuild (faad2-1.1.ebuild,1.20 KB, text/plain)
2003-04-11 09:47 UTC, Anders Bruun Olsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Andryuk 2003-03-11 23:23:24 UTC
http://faac.sourceforge.net

The libfaad2 library decodes MPEG-2 and MPEG-4 AAC compressed audio.  The
benefit of the library is that Mplayer can be compiled to support playing video
files with AAC audio.  These are mainly Quicktime files from what I understand.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jason Andryuk 2003-03-11 23:24:48 UTC
Created attachment 9277 [details]
faad2 ebuild
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-24 13:48:02 UTC
Martin, maybe want to have a shot at this if not too busy ?  Or reassign if
you know about somebody with a bit more free time ...
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-08 14:56:50 UTC
Don't have time with the others you guys keep piling.
Comment 4 Anders Bruun Olsen 2003-04-11 09:47:30 UTC
Created attachment 10501 [details]
Updated ebuild

I have made a few changes:
filename now based upon ebuild name
unpacking now works
name is now faad2 since that is the name of the file, not libfaad2...
Comment 5 Don Seiler (RETIRED) gentoo-dev 2003-04-11 11:06:51 UTC
Confirmed that this ebuild works like a champ and recompiling mplayer afterwards allows me to view that Matrix trailer perfectly.  Good work.
Comment 6 Narada Sage 2003-04-11 11:13:31 UTC
Hello.  Here's what I had to do to get perfect sound and playback from the full matrix trailer.

(1) emerge faad2
(2) emerge mplayer
(3) mplayer -aid 2 -dumpaudio trailers/trailer_final_1000_dl.mov
(4) mv stream.dump begin.aac
(5) mplayer -aid 1 -dumpaudio trailers/trailer_final_1000_dl.mov
(6) mv stream.dump main.aac
(7) cat begin.aac main.aac > complete.aac
(8) faad complete.aac
(9) mplayer -audiofile complete.wav trailer_final_1000_dl.mov

Merely doing mplayer <filename> gave jerky playback and choppy sound even with various parameters.  The above method works beautifully.  HTH.

[Source: http://forums.gentoo.org/viewtopic.php?p=275780#275780]
Comment 7 christian gut 2003-04-11 11:41:09 UTC
perfectly works for me. i changed $myconf in mplayer-ebuild to add "--enable-faad".

Nothing with soundproblems till now. Just had to use the 640-trailer since my notebook was too slow. Now going to test on my WS.

great, hope this makes its way into portage
Comment 8 Jason Andryuk 2003-04-11 23:00:36 UTC
Portage now has faad2 in it...  but it is by "hannes".  I don't get why this ebuild sat here for a month and then someone writes another one.  Bugzilla doesn't show me any other bugs for faad2, so I'm just confused.

In other news, mplayer's configure will automatically detect if faad2 is installed and enable support.  --enable-faad forces the support to be compiled in even if faad2 is not present.  So the mplayer ebuild does not have to be changed.
Comment 9 Hannes Mehnert (RETIRED) gentoo-dev 2003-04-12 11:10:30 UTC
hiya, 
 
sorry for not looking at bugs.gentoo.org first before commit. 
I merged the ebuild i committed yesterday and the attached ebuild. 
 
i'll mark this as fixed, if anyone objects, please reopen. 
Comment 10 Stephen Boulet 2003-04-12 12:52:07 UTC
Should this go in media-video,media-sound, or media-libs? 
 
-- Stephen 
Comment 11 Hannes Mehnert (RETIRED) gentoo-dev 2003-04-12 13:00:49 UTC
i put it in media-libs, because it is a lib ;). i see no reason to put it in 
media-video or media-sound, feel free to convince me ;)