With a little side of applesauce...

Monday, January 31, 2011

iTunes - play ogg

"Ogg! Ogg!", as the caveman raises his club to the sky...

This image always enters my mind when talking about Ogg Vorbis, but as a matter of fact it is "a completely open, patent-free, professional audio encoding and streaming technology with all the benefits of Open Source." (http://www.vorbis.com/) I double on GNU/Linux, as well as Mac OS X, so when I want to play my ogg-encoded files in iTunes, I install the Xiph Quicktime Components, (http://www.xiph.org/quicktime/download.html).

To install Xiph Quicktime Components:
2. Open Terminal
3. Run this command:
cd ~/Downloads ; IFS=\n ;for m in $(hdiutil attach xiph-qt-0.1.9.dmg | tail -n1 ) ; do mp=$(echo $m | awk 'BEGIN {FS="\t"}; {print $3}') ; dest='Library/Components' ; cd ; mkdir "${dest}" ; cp -R ${mp}/XiphQT.component "${dest}" ; hdiutil detach ${mp}; done

4. Restart iTunes
5. Try to add ogg files to library.

No comments: