Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: QTKit + Fairplay = Error?





On Dec 26, 2005, at 12:03 PM, Mark E. Haase wrote:

I'm trying to play an episode of The Office that I bought from iTMS.  
Here is my code:

[SNIP]

This works for an episode of Family Guy that I ripped from DVD, and  
also works for a TMBG music video from their website. When I try to  
run this on "The Office", I get the following in my run log:

[SNIP]

If I step through the above code in GDB, the program exits with a  
return value of 45 on the line with the comment "debugger fails  
here". (As a side note, how do I figure out what exit codes mean?)

I've opened "The Office" in QuickTime player so I know that QuickTime  
can decode the Fairplay DRM, but I guess that decoding ability isn't  
present in QTKit yet. Is this correct? Any ideas on potential work- 
arounds?

This is the expected behavior and has nothing to do with QTKit. You would get the exact same behavior if you build a QuickTime application using Carbon APIs. QuickTime Player knows the magic incantation to recite to get DRM'd video to open and play. There is, to my knowledge, no workaround.


Tim Monroe
QuickTime Engineering




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.