LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-28-2007, 10:47 AM   #1
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
M4A and M4P Playback with Rhythmbox


Just recently I backed up my one remaining Windows machine and converted in to Ubuntu. Now my house is Windows free. So far the transition has been smooth. I did, however, run into one snag.

I have an iTunes Music Store account and I have several downloaded (m4p) files that I would like to be able to play under Linux. I have searched with Google and this forum for help, but I have not been able to find anything to help me out.

Rhythmbox has become my mp3 player of choice. I recently ripped all of my 250 CDs to my hard drive and Rhytmbox has been excellent for maintaining my collection. Is there a way I can get Rhythmbox to play these files?

Is there a way I can convert these files? I read about a program called Hymn that might help, but I haven't found any ubuntu packages for it.

Thanks for your help!

BTW, Totem is playing my m4a files fine, but I can't get Rhythmbox to do the same. Any suggestions?

EDIT
My wife will kill me if I can't play her J-Pop tunes so.....please HEEEELLLLPPP!

Last edited by tubatodd; 01-28-2007 at 10:49 AM.
 
Old 01-29-2007, 03:36 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
As far as converting formats is concerned...
Have you tried ffmpeg2theora?
The other mega system for conversion/playback is mplayer.

Also see:
http://ubuntuforums.org/archive/index.php/t-243226.html
... you should be aware that there is no way to play DRM's files (for that is what those "formats" actually are) in linux without breaching the terms in which you used iTunes.

One way to convert is to burn them to a CD (as a music CD) and then rip them to linux.
http://wiki.linuxquestions.org/wiki/Removing_DRM

http://www.techspot.com/news/10045-i...gnu-linux.html
http://www.hackinthebox.org/modules....rder=0&thold=0

And, now you realize why folk get riled over DRM... have a look at:
www.magnatune.com

Last edited by Simon Bridge; 01-29-2007 at 03:57 AM.
 
Old 01-29-2007, 07:22 PM   #3
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Well, here is my solution. Now, a true audiophile will probably tell me how there was some fidelity lose and how this should be a last resort (well it was)......blah blah. Here is what I did.

1. First I took the tunes that were on my wife's ipod and played them (EQ was set to "flat" to avoid changing the sound.) through the "Line In" of our desktop computer.
2. I recorded them as separate WAV files in an Audacity session. (* Be sure to record the session as a stereo file.)
3. Then I burned the tracks to CD.
4. Then I played the CD in our stereo system in our living room, just to make sure the levels were fine and the sound was good.
5. Finally, I ripped the tracks to the hard drive of my laptop (where I store all of our music).

This is certainly a work around, but at least I can continue to play and manage those tunes. For a BIG iTunes collection this may be a rather large undertaking, but worth the time.
 
Old 01-29-2007, 11:27 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Good greif - well in the absence of a windows box...

If you had a bunch of wav files - why not just use oggenc to get ogg/vorbis files. Then you can skip the CD step and get better sound too?
 
Old 01-30-2007, 09:49 AM   #5
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
I'm not saying my way was perfect, but it did get the job done. I probably should have just done everything on my laptop (the recording, the converting, etc) because I could have gone from WAV to mp3 directly without wasting 2 CDs (I forgot to record a song and had to waste a CD to burn the last one). All in all, it worked and my wife was happy with the results.
 
Old 02-05-2007, 01:10 AM   #6
rururudy
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Rep: Reputation: 1
Smile How to play m4a on Rhythmbox

I use Ubuntu and had to install (among other packages) the gstreamer plugin for AAC decoding. I installed numerous packages, the final one was gstreamer0.20-plugins-bad.
sudo apt-get install gstreamer0.10-plugins-bad

Other things I installed before Rhythmbox played AAC (m4a) files were these:
  1. sudo apt-get install faad
  2. sudo apt-get install libfaad2-0
  3. sudo apt-get install gstreamer0.10-plugins-bad-multiverse
  4. sudo apt-get install gstreamer0.10-plugins-base
  5. sudo apt-get install gstreamer0.10-tools
  6. sudo apt-get install gstreamer0.10-plugins-ugly
  7. sudo apt-get install gstreamer0.10-plugins-bad

Viva monkeybrains.net!
 
Old 02-05-2007, 11:53 PM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Interesting... what is that repo, and does your totem play encrypted DVDs?
 
Old 02-06-2007, 01:05 PM   #8
cbj4074
LQ Newbie
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Ubuntu 6.10
Posts: 24

Rep: Reputation: 15
There's a tool that will allow you to decrypt your iTunes .m4p files (m4p is basically DRM'd m4a), the only caveat being that your iTunes account ID will remain "branded" to the file. The reason for this is that the author is not advocating piracy; he's advocating for true "Fair Use", which would allow you to convert your iTunes songs to any format you like, and by extension, listen to the songs on any platform or device. So, your account ID stays with the file, and thus any attempt to disseminate the file across the Internet could, in theory, lead "authorities" back to the original owner.

Anyway, the tool is called HYMN (Hear Your Music Now), and can be downloaded here: http://hymn-project.org/

HYMN also has a sister project called jhymn, which provides a simple GUI, but jhymn requires the Java Runtime Environment and some know-how to use. There are plenty of discussions on the Web that detail how various users have been able to get HYMN to work in Linux. Those new to digital audio and Linux may want to avoid this option (but it will never hurt to try). Naturally, Apple plays cat and mouse with HYMN, so newer songs purchased from the iTunes store attempt to defeat the decryption capabilities of HYMN. Thus, in my experience, not all songs can be decrypted.

That being said, I know that you already did the conversion, but what you basically did was convert all of your audio from a decent-quality digital format to a low-quality analog format (inside a huge WAV file), and then back to an even lower quality digital format. If you don't really care, then I'd just stick with what you've already done. But I'm posting this information for the benefit of others who may have the same question.

Another alternative would be to do what Simon Bridge suggested and burn your iTunes songs to CDs. It'll take you forever and you'll have to waste a bunch of CDs, but you'll be able to maintain all of the original data from the m4p file. You could then rip the CDs to a lossless format, like FLAC (Free Lossless Audio Codec), which has no proprietary restrictions, unlike most other such formats. You would end-up with a FLAC file that is much larger than the original m4a file, which will be the case with any iTunes file (since the quality of iTunes songs is mediocre and the files are fairly compressed).

As another poster mentioned, you probably realize now what a sham iTunes is. Buy your music from a company that doesn't employ ridiculous DRM measures that obstruct paying users from exercising true fair use.

Good luck!

Last edited by cbj4074; 02-06-2007 at 01:15 PM.
 
Old 06-25-2009, 08:54 PM   #9
matty_muso
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
M4A working

Quote:
Originally Posted by rururudy View Post
I use Ubuntu and had to install (among other packages) the gstreamer plugin for AAC decoding. I installed numerous packages, the final one was gstreamer0.20-plugins-bad.
sudo apt-get install gstreamer0.10-plugins-bad

Other things I installed before Rhythmbox played AAC (m4a) files were these:
  1. sudo apt-get install faad
  2. sudo apt-get install libfaad2-0
  3. sudo apt-get install gstreamer0.10-plugins-bad-multiverse
  4. sudo apt-get install gstreamer0.10-plugins-base
  5. sudo apt-get install gstreamer0.10-tools
  6. sudo apt-get install gstreamer0.10-plugins-ugly
  7. sudo apt-get install gstreamer0.10-plugins-bad
Thanks! I only installed gstreamer0.10-plugins-bad and it played m4a straight away. I'm running Ubuntu 8.10 and RhythmBox 0.11.6 Cheers!
 
  


Reply

Tags
rhythmbox



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rhythmbox refuses to open any m4a files dubya Fedora 2 09-23-2006 01:19 PM
m4a/aac playback on Beep-Media-Player GT_Onizuka Linux - Software 0 01-21-2006 02:48 PM
Rhythmbox and M4A laurentbon Linux - Software 4 03-27-2005 12:17 AM
Rhythmbox 0.8.5 song playback problems ej1155 Linux - Newbie 1 06-28-2004 11:54 AM
Rhythmbox crappy playback TheShemeta Linux - Software 3 12-16-2003 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration