Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know of a codec that is availible for Mplayer that can play itunes music that has been downloaded using there service. When i try an play something gives me an error.
Code:
Cannot find codec for audio format 0x736D7264
I have downloaded and compiled Mplayer with the codecs for Quicktime and it does detect this as a quicktime file but will not play it with the error above.
Any help is apreciated.
By the way the only reason im trying to do this is because the songs were backed up from a windows computer that was running this service and now that linux is the primary os they can no longer play the files.
I converted a bunch of iTunes formatted music for my girlfriend a few weeks ago into Ogg Vorbis, here is the script i wrote to do this:
anonobomber@zyklon:/home/manda$ cat m4a2ogg.sh
Code:
#!/bin/bash
#
# Converts m4a files to wav then to ogg vorbis with quality setting 4
for i in *.m4a
do
mplayer -ao pcm "$i" -aofile "$i.wav"
done
for i in *.wav
do
oggenc -q 4 "$i"
done
for i in *.ogg
do
x=`echo "$i"|sed -e 's/m4a.ogg/ogg/'`
mv "$i" "$x"
done
rm *.wav
rm *.m4a
Copy all that into a file called m4a2ogg.sh and do a 'chmod +x m4a2ogg.sh' to make it executable then copy it into /usr/bin/ if you like so you can cd into the directory containing the .m4a file and run 'm4a2ogg.sh' which will convert all that music into .wav format, then into ogg vorbis.
My suggestion:
Grab from the original source. I know this will take some time, but AAC (M4A/M4P) and
OGG are *not* lossless codecs. You know AAC encoding will cut off some information
from the music file and OGG another, so the re-encoding a M4A coded file
into OGG will make it sound worse then the original M4A encoded.
Encoding from the original (usually WAV) into OGG will give you the
best results.
Distribution: slackware 9.1, redhat 9.0, PHLAK, SuSE 9.0Pro windows XP (HEAVILY MODIFIED)
Posts: 111
Rep:
Itunes music is no different fomr regular mp3s but itunes does add id3 tags to the mp3s or other music formats, and some mp3 players do not support that in itunes just right click on the mp3 and go to CONVERT ID3 TAGS and in the window that comes up set the drop down menu to NONE
Well, Convert ID Tags does an conversion of the ID Tags of MP3 Files, coded with older iTunes Versions or other
encoder to the latest ID Tag standard ID-Tag V 2.4 used in iTunes 4.7
This however is only for MP3 files. M4P files, so the ones you can buy through the iTunes Store, are
very different from standard MP3 files. M4P are protected (encrypted) AAC (Advanced Audio Codec) files.
MP3 is actaully MPEG 1- Layer 3
AAC in the iTunes case is the audio layer of MPEG-4, also known as M4A.
M4P is nothing else then an encrypted M4A file (so MPEG4 and *not* MPEG1-Layer 3).
The encryption key is based (Windows case) on the Windows Serial number, computer's ROM serial number
and some other parameters. So if you copy a M4P file to another computer it won't play since
the generated key wil not match the key with which teh M4A files are encrypted.
hymn will decrypt a M4P file into a M4A file permanently, but will leave the embeded id of the
iTunes Store user that bought the M4P song, in order to prevent misuse.
What a bunch of bullshit. Wow this teaches me never to use itunes anymore. And wanna know something else. Even if it is <-- the same pc the <...> wont play. So its distinct to the version of windows. Screwum im just gonna log onto phex and leach the mp3 version.
Last edited by jtshaw; 01-14-2006 at 10:54 PM.
Reason: Needs some soap in the mouth
When converted to M4A with hymm the iTunes Shop Music can be plyed whereever you want.
The music however, you grep via iTunes from CDs or WAVs, is stored
in iTunes in M4A (so unprotected) and can be plyed wherever you want.
Well, indeed this can be a way, but you'll loose quality. Once coded with 128 kBit AAC there is some information missing, as part of the compression.
When burning it to CD the missing part is not fully restored. Then you rip from CD and code/compress again and loose additional information.
I do not think that programs like hymn are that complicated to handle.
There is no legal way to play iTunes music in Linux short of running iTunes through wine (if that is even possible).
We have a strict policy of not discussing methods of piracy on this site.
As for Exvor's comments... all legitimate music download services implement a DRM scheme. The Apple FAQ's and licenses clearly state that the music will work through iTunes, on iTunes compatible music players (aka iPods), and can be burned to CD. It also very clearly states the number of copies and computers your purchased music can live on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.