Play mp4/aac files in Linux

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

Post Reply
User avatar
Chess
Posts: 386
Joined: Thu Nov 17, 2005 2:06 pm
Location: Raleigh, NC
Contact:

Play mp4/aac files in Linux

Post by Chess » Tue Feb 07, 2006 10:00 pm

I have done some googling on this issue and come up with different answers and no clear direction.

I have some mp4/aac music files brought over from a Mac that I'd like to play in Linux. What tools/plugins are available to play mp4 files? Is it flac or faad2? I am confused by the difference. Are there plugins for any of the music players.

Also, how would one convert these files to mp3? I have found some mp4>wav>mp3 scripts out there but I was wondering what the TLLTS users do.

Thanks!
Chess Griffin

User avatar
CptnObvious999
Posts: 798
Joined: Fri Jun 03, 2005 7:54 pm
Location: Maryland
Contact:

Post by CptnObvious999 » Tue Feb 07, 2006 10:11 pm

It is faad2 not FLAC. FLAC is a free opensource lossless audio codec. I know there is a plugin to beep-media-player for mp4 and vlc can play mp4's if faad2 is installed. As far as decoding I think "faad -o outfile.wav infile.mp4" should work based on the documentation though I havn't tried it yet. (I don't have any mp4 files)

User avatar
snarkout
Site Admin
Posts: 1342
Joined: Tue Aug 16, 2005 9:35 pm

Post by snarkout » Tue Feb 07, 2006 11:41 pm

When I was dealing with this issue, there was support for the playback, but no support for reading the tag info from iTunes created aac files in any player I looked at. XMMS may have been a different story, but I don't use xmms/beep. I ended up using itunes to re-encode all of my aacs - surprisingly, IMO the sound quality didn't suffer much, but then I'm not an audiophile either.

One thing to be aware of - iTunes encoded aacs with album art either crash audio players or have a god awful horrendous ~*SQWAK!!!*~ at the beginning of each song. You can strip the art with itunes or with easytag - I've done it with both, and both work just fine.
Shared pain is lessened, shared joy is increased; thus do we refute entropy.
--Spider Robinson

User avatar
Chess
Posts: 386
Joined: Thu Nov 17, 2005 2:06 pm
Location: Raleigh, NC
Contact:

Post by Chess » Tue Feb 07, 2006 11:55 pm

Thanks, guys. I've got faad2 installed and now I'm going to search for plugins for various media players. I tend to use xmms/beep so it sounds like I ought to be able to find something that will work.

Ideally, I will re-rip these files to mp3 directly rather than converting them to wav's and then re-encoding as mp3's. But knowing how to convert is a good fallback.
Chess Griffin

User avatar
Wally Balljacker
Posts: 1227
Joined: Fri Jul 29, 2005 3:32 am
Location: University of Massachusetts - Lowell
Contact:

Post by Wally Balljacker » Wed Feb 08, 2006 2:09 am

I use the MP4/AAC plugin with XMMS. It doesn't display the tags at all, but it plays the files without any problems.

User avatar
Ryochan7
Posts: 99
Joined: Wed Dec 15, 2004 10:18 pm
Location: Peoria, IL
Contact:

Post by Ryochan7 » Fri Feb 10, 2006 8:58 am

I use amaroK with the xine engine enabled to play AAC files. It plays AAC files fine and I can convert them to mp3 or ogg easily if I want to. Xine and Kaffeine are the only media players that I know of that can read the tag info from an AAC file.
Linux User #357977
LUGOP is awesome

User avatar
Patrick
Site Admin
Posts: 2519
Joined: Tue Apr 27, 2004 11:38 am
Location: Easton, PA
Contact:

Post by Patrick » Fri Feb 10, 2006 9:01 am

Ryochan7 wrote:Xine and Kaffeine are the only media players that I know of that can read the tag info from an AAC file.
Kaffeine is just a different frontend to Xine. Yes, xine is mostly used as a dvd player (with DVD menu support) but it also has fairly strong audio capabilities.
Ego contemno licentia

User avatar
snarkout
Site Admin
Posts: 1342
Joined: Tue Aug 16, 2005 9:35 pm

Post by snarkout » Fri Feb 10, 2006 9:37 am

Patrick wrote:
Ryochan7 wrote:Xine and Kaffeine are the only media players that I know of that can read the tag info from an AAC file.
Kaffeine is just a different frontend to Xine. Yes, xine is mostly used as a dvd player (with DVD menu support) but it also has fairly strong audio capabilities.
Not true. You can chose from at least a few backends. While it's certainly true that *I* use the xine backend, Ubuntu and others of its ilk come with gstreamer as its backend by default.
Shared pain is lessened, shared joy is increased; thus do we refute entropy.
--Spider Robinson

User avatar
Patrick
Site Admin
Posts: 2519
Joined: Tue Apr 27, 2004 11:38 am
Location: Easton, PA
Contact:

Post by Patrick » Fri Feb 10, 2006 10:01 am

Snarkout wrote: Not true. You can chose from at least a few backends. While it's certainly true that *I* use the xine backend, Ubuntu and others of its ilk come with gstreamer as its backend by default.
So basically it's just a front end to whatever you'd like to use. I stand corrected.
Ego contemno licentia

User avatar
Ryochan7
Posts: 99
Joined: Wed Dec 15, 2004 10:18 pm
Location: Peoria, IL
Contact:

Post by Ryochan7 » Fri Feb 10, 2006 10:50 am

Patrick wrote:Kaffeine is just a different frontend to Xine. Yes, xine is mostly used as a dvd player (with DVD menu support) but it also has fairly strong audio capabilities.
I know that Kaffeine is basically a frontend for Xine, even though other engines can be used with it. I just tend to refer to Xine and Kaffeine as two completely seperate programs, like I do with Mplayer and KMplayer.
Linux User #357977
LUGOP is awesome

Tsuroerusu
Posts: 2551
Joined: Mon Sep 05, 2005 8:51 am
Location: Silkeborg, Denmark
Contact:

Post by Tsuroerusu » Fri Feb 10, 2006 12:34 pm

Ryochan7 wrote:I know that Kaffeine is basically a frontend for Xine, even though other engines can be used with it. I just tend to refer to Xine and Kaffeine as two completely seperate programs, like I do with Mplayer and KMplayer.
MPlayer's official frontend/GUI is actually called GMPlayer :wink:
Image
Image

"Hatred does not cease by hatred, but only by love. This is the eternal rule."
- Siddhattha Gotama (Buddha), founder of Buddhism.

User avatar
Ryochan7
Posts: 99
Joined: Wed Dec 15, 2004 10:18 pm
Location: Peoria, IL
Contact:

Post by Ryochan7 » Fri Feb 10, 2006 12:58 pm

Man. People are really on my case about technicalities today and this is from people who don't like the use of the term GNU/Linux.
Linux User #357977
LUGOP is awesome

Post Reply