Page 1 of 1

VLC only plays SOME m4p files

Posted: 14 Jun 2004 06:46
by asboy
I am having some trouble playing some m4p files with VLC 0.7.2 on Mac OS X 10.3.3. Most of my files play, but some do not. The error is "mp4 error: drms_init( priv ) failed"

I stepped through the code in a debugger to see if I could figure out what was going on. It appears that it only retrieves 6 keys from my iPod (in the GetUserKey function, i is set to 6 at the line

Code: Select all

i = U32_AT( p_sci_data + 5 );
and as it retrieves the i_key's one by one they count from 1 to 6. However, the problematic songs have i_key's of 7 and 8. It's as if my iPod does not have the keys to play them. However, it does in fact play them properly (as does iTunes).

(Hymn, by the way, has the same problem, as you'd expect.)

Any suggestions?

Posted: 14 Jun 2004 15:20
by pronerd
By Chance do the files that will not play come under any of the following situations :

o They are audio books
o They were purachased with iTunes 4.5
o They were purchsed and played on a diiffernt PC that you are playing them on with VLC

Posted: 14 Jun 2004 20:23
by JonLech
If you mail me your iSCInfo(2) and iPod ID I could have a look at it.

Posted: 14 Jun 2004 23:15
by asboy
By Chance do the files that will not play come under any of the following situations :

o They are audio books
o They were purachased with iTunes 4.5
o They were purchsed and played on a diiffernt PC that you are playing them on with VLC
None are audiobooks. Some were purchased with iTunes 4.5 and some were purchased on a different PC, but others were purchased under iTunes 4.2 on THIS computer.

However, inspired by your comment, I took a more careful look at the files. I had thought that some of the files were newer and some were older, but that is not the case. Every file purchased before May 14 works and every file purchased on or after that date does not.

Inspired by JonLech's post, I took a look at my iSCInfo files. The iSCInfo2 file has not been modified since May 22 while iSCInfo was modified today. From what I can see in the code, VLC is only using the iSCInfo2 file. I modified the code to use the iSCInfo file instead, and sure enough it worked! So it seems that all of my keys are in iSCInfo but only some are in iSCInfo2. Strange.

I'll forward the information to you, JonLech.