CPS 182s DRM Assignment

Friday, March 10, 2006

The Technical Side of Things...

Tried burning mp3 cd with protected songs in iTunes... not allowed... iTunes only lets you burn unprotected files as mp3s

Burning as data cd/dvd works with drm'ed files, but the drm is still there.

Burning an audio cd to an image to the hard drive and ripping from that would be faster than real time, but the ONLY virtual CDRW program I could find (I looked hard) was Ztekware's Original CD Emulator. It doesn't work with iTunes... gave error 4310. Others on internet confirming that Orig CD Emulator doesn't work with iTunes.

This sucks because if it did work it would have been easy and fast.

Jhymn and sharpmusique are supposed to stop working permanently when you start using itunes 6 because itunes 6 uses a fixed up protocol and format that jhymn and sharpmusique cant understand. your account is supposed to be flagged so that apple wont let u buy songs if u downgrade back to an older version...

I installed iTunes 6 so I could be sure that I was actually deprotecting a song that jhymn couldn't deprotect already... After buying a new song from itunes 6, jhymn still works for some reason, so does sharpmusique. Maybe it takes awhile for apple to flag your account, but I still thought it was weird.

We will most likely be using the commandline sound capturer + script method that we originally planned on using.

The idea is to write a program to get an iTunes playlist and play the songs in order automatically. When the song starts, the program will run the sound capturer, telling it to record an mp3 of the current wave output until the song ends. The script will use the iTunes COM SDK to get the title, artist etc, which will be added to the mp3 file as an ID3 v2 tag. The script tells itunes to play the next song, and the cycle continues until all the songs have been converted.

I already have experience with the iTunes COM SDK. I will probably program everything in C#.

Bleucanard Sound Capture
(bleucanard.mark1hosting.net/scripts/blueduck.php?Multimedia) is our lucky command line sound capture tool. It captures directly to mp3!

The sound capture tool doesn't have support for artist and album tags, etc., so we will be using the id3lib library to add the tags (http://id3lib.sourceforge.net/).

Drawbacks of this method:

*loss of sound quality due to lossy re-encoding. Using a lossless codec would solve this problem, but most mp3 players don't support lossless audio. Using a higher bitrate mp3 should be fine, though not perfect.

*Ripping a full 10+ gigs of songs would take weeks since everything is done at 1x. Fortunately, most people don't have $2,000+ to spend on iTunes music.

*No other sounds can be played in the background (on the same soundcard at least or they will get recorded too.

-- Congyi

0 Comments:

Post a Comment

<< Home