|
 |
01-08-2007, 04:08 PM
|
#1
|
|
Constant Bitrate
Join Date: Sep 2006
Location: Cornwall, England
Posts: 145
|
DVD Playback
I have already posted about this topic, but I need some further assistance. I am writing a front-end in VB.net and want DVD playback. A simple task, I thought to myself. Just download the WMP SDK, and use it with VB.....
After installing the SDK, I wrote a small bit of code and got it to play a DVD, giving me info on what chapter, title etc. was being played. Brilliant I thought, but every so often it would crash and restart the computer. I have read a lot of posts about WMP being unstable and not a good choice for DVD playback, quite a lot of people reckon that DirectX 9 (DirectShow) is better. I have searched everywhere and don't understand how to use DirectShow in a VB application.
i have been programming VB.net for about 4 months, and have managed most stuff, windows messages to Winamp, Creating playlists and custom list boxes, but I am stuck when it comes to DirectX...
Please can someone post me a link to a sample DirectX DVD player using VB.net, it would be very much appriciated.
Also, what do you think the best way to incorperate CD playing into a front-end, Winamp, WMP, DirectShow???
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
01-10-2007, 07:37 AM
|
#2
|
|
Constant Bitrate
Join Date: May 2004
Location: Sweden
Posts: 151
|
Quote: Originally Posted by portreathbeach 
I have already posted about this topic, but I need some further assistance. I am writing a front-end in VB.net and want DVD playback. A simple task, I thought to myself. Just download the WMP SDK, and use it with VB.....
After installing the SDK, I wrote a small bit of code and got it to play a DVD, giving me info on what chapter, title etc. was being played. Brilliant I thought, but every so often it would crash and restart the computer. I have read a lot of posts about WMP being unstable and not a good choice for DVD playback, quite a lot of people reckon that DirectX 9 (DirectShow) is better. I have searched everywhere and don't understand how to use DirectShow in a VB application.
i have been programming VB.net for about 4 months, and have managed most stuff, windows messages to Winamp, Creating playlists and custom list boxes, but I am stuck when it comes to DirectX...
Please can someone post me a link to a sample DirectX DVD player using VB.net, it would be very much appriciated.
Also, what do you think the best way to incorperate CD playing into a front-end, Winamp, WMP, DirectShow???
maby this will do: http://www.planetsourcecode.com/vb/s...3215&lngWId=10
|
|
|
01-10-2007, 12:49 PM
|
#3
|
|
Constant Bitrate
Join Date: Sep 2006
Location: Cornwall, England
Posts: 145
|
Thanks for the link, but I can't get it to play a DVD. I also wrote a bit of code to use MSWebDVD, and it doesn't recognise any DVD in any drive. Stange. Also, I've read that it won't allow you to play a DVD of a hard drive, I wish WMP worked properly, I have all the functions for it working (when it decides to work), but mostly crashes!!!
Edit: Right, sorted out why WMP crashes, something to do with my nVidia drivers. Anyway, I now have a new problem
WMP plays a DVD fine, but the embedded WMP only plays the sound, no video, what is going on. I've tried everything???
Last edited by portreathbeach; 01-13-2007 at 05:42 AM.
|
|
|
01-14-2007, 03:02 PM
|
#4
|
|
Constant Bitrate
Join Date: May 2004
Location: Sweden
Posts: 151
|
I you know C# then this is the way to do advaced video/DVD in .NET, you can use the DirectShow library in VB.NET but I'm not sure if thre is any code examplen in VB included, you can always port the C# to VB.
DirectShowLib: https://sourceforge.net/project/show...roup_id=136334
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:46 AM.
| |