Discussion:
Programmatically Playing a DVD
(too old to reply)
BryanA
2010-04-14 14:42:10 UTC
Permalink
I current am using the Windows Media SDK to display videos in my program. I
have windows 7 64-bit and windows media player 12 on my computer, and am
writing the program in vc++. Currently, I am trying to allow the user to load
a dvd and play the dvd by pressing a button. I have tried many ways of
playing the dvd, but every time I attempt to do it, it will say Loading
Media, then it will skip through every title on the DVD real quick, and then
say Finished. I have tried loading the url of the DVD using the WMPDVD
protocol http://msdn.microsoft.com/en-us/library/dd564696(VS.85).aspx , and I
have also tried grabbing the playlist off of the dvd, and passing it in to
the Media player, and both give the same result. The strange thing is that if
I open the Full Version of Windows Media Player on my computer, and then play
the DVD, exit, and then load my program, it will play the DVDs, but the video
will be distorted. I think there must be something I am not initializing or
setting properly for the dvd, because I can play normal video files with no
problems. Any help will be appreciated.
BryanA
2010-04-15 11:31:01 UTC
Permalink
After checking some more, this doesn't happen with all DVD's, just Enhanced
DVD's. Still having the problem though. Thanks
Post by BryanA
I current am using the Windows Media SDK to display videos in my program. I
have windows 7 64-bit and windows media player 12 on my computer, and am
writing the program in vc++. Currently, I am trying to allow the user to load
a dvd and play the dvd by pressing a button. I have tried many ways of
playing the dvd, but every time I attempt to do it, it will say Loading
Media, then it will skip through every title on the DVD real quick, and then
say Finished. I have tried loading the url of the DVD using the WMPDVD
protocol http://msdn.microsoft.com/en-us/library/dd564696(VS.85).aspx , and I
have also tried grabbing the playlist off of the dvd, and passing it in to
the Media player, and both give the same result. The strange thing is that if
I open the Full Version of Windows Media Player on my computer, and then play
the DVD, exit, and then load my program, it will play the DVDs, but the video
will be distorted. I think there must be something I am not initializing or
setting properly for the dvd, because I can play normal video files with no
problems. Any help will be appreciated.
Loading...