You are here: Home Personal My Blog Ipod m4a to mp3 converter

Ipod m4a to mp3 converter

by Harald Hoyer last modified Apr 28, 2010 02:13 PM
Small script to convert m4a to mp3

With Fedora 13 you can connect your ipod and nautilus will show you several folders. One is named "Purchases" and I found several .m4a and .plist files in there. Just put them in a folder and run my python script and you will get mp3 files with proper idtags :-)

You might need to install faad2 from rpmfusion and id3v2.

$ python m4aconvert.py *.plist
Filed under: , , , , , ,

oli@thepcspy.com

Avatar Posted by Oli Warner at Apr 28, 2010 06:50 PM
Wait. Why would you want to transcode something you can very easily play?!

The codecs are just as encumbered as MP3 and transcoding audio from one lossy format to another lossy format (as this is doing) will degrade quality even further. My suggestion: cope with a few AAC files.

errors on Fedora 16

Avatar Posted by Lee at Nov 30, 2012 11:27 AM
$ python m4aconvert.py *.plist
Traceback (most recent call last):
  File "m4aconvert.py", line 7, in <module>
    pl = plistlib.readPlist(f)
  File "/usr/lib64/python2.7/plistlib.py", line 78, in readPlist
    rootObject = p.parse(pathOrFile)
  File "/usr/lib64/python2.7/plistlib.py", line 406, in parse
    parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 8

Add comment

You can add a comment by filling out the form below. Plain text formatting.

(Required)
Please enter your name.
(Required)
(Required)
(Required)
Enter the word