The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Coders Corner

Reply
 
LinkBack Thread Tools Display Modes
Old 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???
portreathbeach is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 01-10-2007, 07:37 AM   #2
Constant Bitrate
 
Jeep's Avatar
 
Join Date: May 2004
Location: Sweden
Posts: 151
Quote: Originally Posted by portreathbeach View Post
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
Jeep is offline   Reply With Quote
Old 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.
portreathbeach is offline   Reply With Quote
Old 01-14-2007, 03:02 PM   #4
Constant Bitrate
 
Jeep's Avatar
 
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
Jeep is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD playback issue sciontC StreetDeck 4 07-15-2006 12:51 AM
Problem with DVD playback blustreak General Hardware Discussion 1 03-09-2005 09:47 PM
DVD Playback problems BigSteve FrodoPlayer 6 02-05-2005 02:57 PM
Dvd playback faiz_23 General Hardware Discussion 1 04-27-2004 04:45 PM
DVD and DivX playback software Dimitris1976 Software & Software Development 8 07-01-2002 06:19 PM


All times are GMT -5. The time now is 01:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics