Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer codecs (has the aac use flag been depreciated?)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
WTFman
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 153

PostPosted: Wed Aug 17, 2005 11:50 pm    Post subject: mplayer codecs (has the aac use flag been depreciated?) Reply with quote

Ok I put aac in my use flags but for some reasom it is not recognised by mplayer.

Code:
 # emerge -pv mplayer

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

Calculating dependencies ...done!
[ebuild   R   ] media-video/mplayer-1.0_pre6-r4  -3dfx -3dnow -3dnowext +X +aalib +alsa (-altivec) -arts +avi -bidi -cdparanoia +debug -dga -directfb +divx4linux -doc -dts -dv -dvb -dvd -dvdread -edl +encode -esd -fbcon -ggi +gif +gtk +i8x0 -ipv6 -jack -joystick +jpeg -libcaca -lirc +live -lzo +mad -matroska -matrox +mmx -mmxext +mpeg -mythtv +nas +nls +nvidia +oggvorbis +opengl +oss +png +real -rtc -samba +sdl +sse +sse2 -svga -tga -theora +truetype -v4l -v4l2 -xanim -xinerama +xmms +xv +xvid -xvmc 7,137 kB


Has the aac use flag been depreciated or could there be something else blocking it?
_________________
Occupation: Professional Slacker
Hobbies/Interests: Open Source Aficionado since 2005
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Thu Aug 18, 2005 5:56 am    Post subject: Reply with quote

Maybe mplayer now has aac support natively and one does not have to specify it. At least the use flag still exists here.
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Thu Aug 18, 2005 6:17 am    Post subject: Reply with quote

mplayer apparently has an internal copy of faad (the aac library). Looking at the ebuild, the 'mpeg' use flag dictates whether the internal version is used (mpeg unset) or whether an external copy elsewhere on the system is used (mpeg set).

Either way, it will play aac.
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Thu Aug 18, 2005 11:46 am    Post subject: Reply with quote

Dolio wrote:

Either way, it will play aac.


Mine won't. I'm using mplayer-1.0_pre6-r4 (the latest stable version I think). I am able to play aac but I only get sound from the right speaker, the left channel remains silent. Mplayer doesn't display any error message, though.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Thu Aug 18, 2005 4:06 pm    Post subject: Reply with quote

Vortex375 wrote:
Dolio wrote:

Either way, it will play aac.


Mine won't. I'm using mplayer-1.0_pre6-r4 (the latest stable version I think). I am able to play aac but I only get sound from the right speaker, the left channel remains silent. Mplayer doesn't display any error message, though.

Maybe a dumb question, but are you sure the video has sound on both channels?
Back to top
View user's profile Send private message
rafael
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 267

PostPosted: Thu Aug 18, 2005 5:04 pm    Post subject: Reply with quote

According to gentoo-portage.com the aac use flag is appreciated (?) back from version 1.0_pre6-r6. Besides, mplayer seems to have some trouble with aac, at least in .mp4 files as you can read here.

- rafael
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Thu Aug 18, 2005 5:14 pm    Post subject: Reply with quote

R!tman wrote:

Maybe a dumb question, but are you sure the video has sound on both channels?


Yes, it plays fine in xine, except for the fact that video and audio get severely out of sync after some time. I had to reencode the audio to vorbis and it worked fine.
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Thu Aug 18, 2005 5:51 pm    Post subject: Reply with quote

If you want, you can try updating to an ~x86 version of faad2, and making sure mplayer uses the external library (set the mpeg use flag, as I said above). The newer revisions in portage contain a few patches that may or may not make a difference (it at least contains a patch that makes faad work on amd64, but it probably contains others). You may have to recompile mplayer after faad2, as well.
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
WTFman
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 153

PostPosted: Thu Aug 18, 2005 5:56 pm    Post subject: Reply with quote

Well it seems to work for some people and not for others, would it help if I downgraded to an earlier version of mplayer?
_________________
Occupation: Professional Slacker
Hobbies/Interests: Open Source Aficionado since 2005
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Thu Aug 18, 2005 6:04 pm    Post subject: Reply with quote

WTFman wrote:
Well it seems to work for some people and not for others, would it help if I downgraded to an earlier version of mplayer?

Maybe upgrade, my mplayer-1.0_pre7 does have the aac use flag again but doesn't have the mpeg useflag.
Back to top
View user's profile Send private message
WTFman
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 153

PostPosted: Thu Aug 18, 2005 7:02 pm    Post subject: Reply with quote

Well thats pretty messed up, they add features and remove others, well will I have to do some hacking to get the latest, or just simply make an /etc/portage/package.keywords file? And is it worth it to use software from the unstable branch?
_________________
Occupation: Professional Slacker
Hobbies/Interests: Open Source Aficionado since 2005
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Thu Aug 18, 2005 7:09 pm    Post subject: Reply with quote

WTFman wrote:
Well thats pretty messed up, they add features and remove others, well will I have to do some hacking to get the latest, or just simply make an /etc/portage/package.keywords file? And is it worth it to use software from the unstable branch?

Code:
echo media-video/mplayer ~x86 >> /etc/portage/package.keywords

For some packages it is worth using the unstable branch, eg. for amd64 there hasn't been a 64bit stable xvid codec and the 32bit was very slow.
Also for the nvidia drivers, I think it is worth.
I have altogether about 15 unstable packages installed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum