Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: WMP OCX DVD API

HTVi
TV Discussion Newsgroups

WMP OCX DVD API
DigiLee 6/28/2007 6:54:00 AM
How's that for a multiple acronym title?

I am trying to write a simple app to play a DVD using a WMP OCX (WMP11)
control. I have generated .tlh and .tli files using #import, which results
in a dizzying array of API templates, interfaces, or what have you.

I have searched for a long time and failed to find any documentation of
these API.

If I use PutURL() with a .VOB file, I get a "cannot play protected content
in this environment" message from the CinePlayer codec. The WMP SDK DVD
Player sample code has the same problem. I suspect that I have to access the
DVD through some of the other APIs, (Playlist ??) but I have no clue.

If anyone can point me to the appropriate documentation, or a bit of sample
code that will play a DVD once the OCX is instantiated, I will be forever
grateful.

Thanks

Lee

Re: WMP OCX DVD API
"AUGE_OHR" <AUGE_OHR_NOSPAM_[ at ]CSI.COM> 6/28/2007 2:28:16 PM
hi,

try to use WMPDVD:// Protokoll to load your *.VOB

greetings by OHR
Jimmy


RE: WMP OCX DVD API
DigiLee 6/29/2007 4:16:04 AM
Well, it turns out I should have known better. In earlier days, trying to
use a debugger such as WinIce would cause DVD software decoders to barf to
'protect' their data. It seems that a similar thing is happening here. When
I run my application from within Visual Studio, it fails. When I run it by
itself, it works just fine.

I also found the documentation [ at ]

http://msdn2.microsoft.com/en-us/library/bb262381.aspx
Follow the cookies under Windows Media Player Object Model Reference

Still would like example code or a tutorial.

Thanks,

Lee



"DigiLee" wrote:

[Quoted Text]
> How's that for a multiple acronym title?
>
> I am trying to write a simple app to play a DVD using a WMP OCX (WMP11)
> control. I have generated .tlh and .tli files using #import, which results
> in a dizzying array of API templates, interfaces, or what have you.
>
> I have searched for a long time and failed to find any documentation of
> these API.
>
> If I use PutURL() with a .VOB file, I get a "cannot play protected content
> in this environment" message from the CinePlayer codec. The WMP SDK DVD
> Player sample code has the same problem. I suspect that I have to access the
> DVD through some of the other APIs, (Playlist ??) but I have no clue.
>
> If anyone can point me to the appropriate documentation, or a bit of sample
> code that will play a DVD once the OCX is instantiated, I will be forever
> grateful.
>
> Thanks
>
> Lee
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen