View Full Version : Playing VOB files with Visual Basic
I like to play VOB files on my hard disk using VB (Visual Basic).
Currently I "remote control" WinDVD with VB to play VOB files. This works, but it's not exactly an elegant solution.
In a way WMP (Windows Media Player) does what I want. If no DVD player is installed WMP is unable to play DVDs. As soon as a DVD player is installed WMP uses this DVD player to play DVDs. The problem is that WMP does not play VOB files and I don't want to build on a Microsoft program with lots of restrictions.
I need only the very basic functions like play and stop. I also want to show the maximum and remaining play time.
Any Ideas?
Dark-Cracker
16th June 2004, 07:12
hi,
welcome in this forum :)
i think u can use the mswebdvd control it allow u to reproduce a dvd player (show menu , chapters ...etc). he probabely need a dvd structure (.ifo / .vob)
but i think u need a directshow mpeg2 filter, u can find some freely on the internet (sorry i have forget the name).
if u just need to play .vob file i think a dshow filter for the mpeg2 + mci command should be enought.
Bye.
Hello Dark-Cracker,
Thank you for the welcome and the fast reply.
mswebdvd is very much what I was looking for and I did not know it till now. I played around with the control in the last hour and I managed to control a DVD in the DVD Driver and a complete DVD Backup on the hard disk.
However, if I try to play VOB files (without any inf files) it looks like this control is not able to do that. I have already thousands of ripped VOB files so it would be too much work to rip them all again including the inf files.
Any more ideas?
Ede,
To get your target use VLCplayer.
Playing back vobs you can change audio tracks and subtitles.
eb
VLC Player looks great! Thank you for the tip.
I guess I can use it in the way I want but it's a program with lots of options so I have to check it in detail first.
Just in case anybody knows other programs please let me know.
Thank you
Ede
Dany
5th February 2007, 18:29
Hello Ede,
I am very interested in controlling WinDVD via Visual Basic, but I have no idea how to do it. Could you please provide some information or even some source code for a WinDVD control using VB?
Many thanks in advance. Best regards,
Dany
setarip_old
5th February 2007, 20:39
Hi!The problem is that WMP does not play VOB filesI need only the very basic functions like play and stopFor your limited requirements, try installing good ol' reliable Windows Media Player v.6.4, as follows:
Desktop>>Start>>Run then type MPLAYER2.EXE
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.