VLC only plays SOME m4p files

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
asboy
New Cone
New Cone
Posts: 2
Joined: 03 Apr 2004 23:42

VLC only plays SOME m4p files

Postby asboy » 14 Jun 2004 06:46

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?

pronerd
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Feb 2004 04:14
Location: Kansas City, MO

Postby pronerd » 14 Jun 2004 15:20

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

JonLech
Blank Cone
Blank Cone
Posts: 11
Joined: 08 Jan 2004 14:23
Location: France
Contact:

Postby JonLech » 14 Jun 2004 20:23

If you mail me your iSCInfo(2) and iPod ID I could have a look at it.
Jon Lech Johansen
VideoLAN developer

asboy
New Cone
New Cone
Posts: 2
Joined: 03 Apr 2004 23:42

Postby asboy » 14 Jun 2004 23:15

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests