Mailing Lists: Apple Mailing Lists

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

Re: Using DVD as input source to Core Video API




On 24-mrt-07, at 2:48, Chase wrote:

Anyone know how to use a DVD -- being played using the DVDPlayback
framework -- as an input source to the Core Video API?

Interesting question.

From the DVDPlayer Framework:

"
DVDSetVideoPort
Enables or disables DVD-Video playback in a Carbon window.

OSStatus DVDSetVideoPort (   CGrafPtr inVidPort );
 "

If you try to copy the the contents of this window you'll likely get the dreaded green picture as ususal.

I see "Carbon" in there, so are we on topic now?      ;-)

"
OSStatus DVDSetVideoDevice (   GDHandle inDevice);

Discussion
You need to call this function or DVDSetVideoDisplay each time you move the video playback window to a new graphics device.
"


Try this to play a DVD to a GWorld? Unlikely to succeed.

QuickTime can open unprotected VOB's if the QuickTime MPEG2 playback component is installed. That is the simplest route to get frame buffers for unprotected content.
Without the playback component you would need to invoke open source stuff.
The DVDPlayback frame work might still be useful for getting info on tracks and chapters etc.


Hope this helps a little,

Jan E.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/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.