View Full Version : dslibdvdnav - directshow wrapper of libdvdnav, a DVD navigator
dansrfe
5th March 2010, 20:53
"dslibdvdnav" is a directshow wrapper filter of libdvdnav. This project started with the goal of creating an open source directshow dvd navigator.
Tested to work on Windows XP, Vista, 7 (x64/x86)
Installation:
Register http://sourceforge.net/projects/dslibdvdnav/files/0.2.4.zip/download
Alternative method: qdvd.dll replacement
Warning! The following method of installation is no longer recommended due to the release of dslibdvdnav which has shown greater stability and reliability. However it is available if you still want to try it.
Files:
1) qdvd.dll from Windows XP: http://www.sendspace.com/file/xyixyb
2) Take Ownership Install/Uninstall Registry Files: http://www.sendspace.com/file/xrnsi7
Instructions:
Replace the qdvd.dll in your system32 and syswow64 directories. You will have to take ownership of those dlls in order for Windows to authorize your user account to modify/delete them. This can be done by right-clicking on the file => Take Ownership.
Superb
5th March 2010, 20:58
http://www.mplayerhq.hu/
2008-09-09, Tuesday :: libdvdnav-4.1.3 and libdvdread-4.1.3 released ?
EDIT: oh, you want an open-source DirectShow filter... good luck w/ that.
dansrfe
5th March 2010, 21:17
yeah, something I can use with Media Player Classic. Something that accepts non-ms video renderers like Haali Renderer. This is a big problem on Vista and Win 7 (what I have) and i always have to switch to VMR 9 Renderless in order to play DVDs. In XP I can play it straight with haali without issues. It's this new MS DVD Navigator in Vista and Windows 7 that's causing the problem.
roozhou
5th March 2010, 21:33
Wow, this will also make DVDRIP much easier.
Superb
5th March 2010, 22:46
yeah, something I can use with Media Player Classic. Something that accepts non-ms video renderers like Haali Renderer. This is a big problem on Vista and Win 7 (what I have) and i always have to switch to VMR 9 Renderless in order to play DVDs. In XP I can play it straight with haali without issues. It's this new MS DVD Navigator in Vista and Windows 7 that's causing the problem.Why wouldn't you simply use EVR under Vista/7?
dansrfe
6th March 2010, 03:04
I can't see the EVR option in the renderer list in MPC plus I don't know how it compares to Haali Renderer.
Midzuki
6th March 2010, 03:53
As long as such DVD-Navigator fully supports DVD-Audio,
it will keep receiving my official approval. :devil: :D
tetsuo55
6th March 2010, 10:38
I think what dansrfe wants to know is:
Is anyone interested and able to help create an open source directshow dvd navigator.
It does not matter how we do it at this point, what we need is a group of developers willing to discuss and then work on the project.
My current vision on this is that it will be part of MPC-HC, but like all other splitters its fully portable and usable on all other dshow applications.
Also since its new also supporting mediafoundation from the start should be seriously considered
stax76
6th March 2010, 11:13
@dansrfe
From where do you know the problem is caused by the navigator and not by the renderer?
dansrfe
6th March 2010, 19:07
@dansrfe
From where do you know the problem is caused by the navigator and not by the renderer?
Because I can use any other MS Renderer and it works however with Haali Renderer it shows the error "DVD: Macrovision Failed". Also coming straight from http://www.codecguide.com/faq_mpc.htm
it says:
"Q: I get a "DVD: Macrovision Failed" error when trying to play a DVD
A:
This may happen if you have are using Haali video renderer. Solution is to change the video renderer in MPC options.
MPC options -> Playback -> Output"
As tetsuo55 said my question is if anyone interested and able to help create an open source directshow dvd navigator :)
Leak
6th March 2010, 20:09
I can't see the EVR option in the renderer list in MPC plus I don't know how it compares to Haali Renderer.
You are using MPC Home Cinema (http://mpc-hc.sourceforge.net/), aren't you?
Because if you're using the ancient MPC without Home Cinema in it's name it's no wonder there's no EVR support...
np: Autechre - Autechre.ws Webcast (02.03.2010)
dansrfe
6th March 2010, 20:59
I just really wanted to use only ffdshow audio/video decoder and coreavc for everything so I thought I didn't need the MPC-HC version and getting the "stripped down" MPC version would keep the install clean :confused:
G_M_C
6th March 2010, 23:06
I just really wanted to use only ffdshow audio/video decoder and coreavc for everything so I thought I didn't need the MPC-HC version and getting the "stripped down" MPC version would keep the install clean :confused:
If you wanted to keep you install clean you could also just have gotten the MPC-HT full version in the first place.
Cause then you wouldn't even have needed to install CoreAVC and/or ffdshow. And you would have got DVD navigation thrown in too.
dukey
7th March 2010, 01:20
I'd be interested in this project.
Reasons for an open source DVD Navigator
1. We can ignore region codes and play dvds from any region
2. Macro vision errors. We can allow any renderer connect to the dvd navigator, instead of ONLY the microsoft ones. So you can use the Haali renderer to view dvds.
3. Unskippable dvd features, we could remove this limitation.
I wrote a nice library of functions to authenticate and decrypt dvds. VS 2008 project. Code is functional enough to decrypt entire dvds from command line. (regardless of disc or drive region). Just needs some navigation code and direct show wrapped around it. Was trying to port the libdvdnav project, but haven't had much luck with it.
dansrfe
7th March 2010, 20:31
I think any other people that are interest in this project should post on this thread and contact dukey in order to further progress this project and reach the goal.
dansrfe
10th March 2010, 23:07
Any updates dukey? :)
cb2000
17th November 2010, 13:40
Sorry for picking up an old thread. I have do some work on directshow DVD Navigator based on libdvdnav.
http://sourceforge.net/projects/dslibdvdnav/
Anyone are fond of improving it? Because I am a newbie in directshow and OSS.
dansrfe
18th November 2010, 01:10
wow^ now that's what I'm talking about. This just might do the trick for me in madVR on Windows 7.
cb2000
18th November 2010, 07:31
Can u test it? I havn't Win7 installed so I'm not sure if it can work with madVR on Win7.
commander1979
18th November 2010, 23:06
Hi,
will you implement libbluray in your DVD Navigator. I am not so good in c and c++. How i can it implement in c#?
cb2000
19th November 2010, 03:58
Half an year ago, when I start to learn directshow, I had read something about libbluray. But I think it is not stable enough to port. So I select libdvdnav as my first try on directshow.
I don't know the development status about libbluray now. Do you know the detail?
C# I think is not fit for directshow filter design because of the efficiency. MSDN/directx sdk sample code/other one’s directshow code are worth to read.
nevcairiel
19th November 2010, 08:33
I started an implementation using libbluray for my LAVFSplitter. The problem i basically run into is how to get the title selection to players, because there is no proper title selection DShow interface, and the interface the DVD Navigator uses is quite limited and rather stupid, imho. (its also very specific to DVDs)
The best solution would be to define a new interface, which parts with the MS DVD Navigator interface, and use it for both libbluray and the dvd navigator. Of course, player developers would have to jump on board as well, or its all pointless.
cb2000
19th November 2010, 10:36
I think for the enduser, the menu is the most important interface for title selection. So impletement of the BD menu system and BDJ in DShow is the first.
I don't know if the libbluray work well on menu and BDJ. If It is, it is worth to work on it now.
nevcairiel
19th November 2010, 13:41
BDJ support in libbluray looks like a work in progress, not sure how far its along, default menus might be better, but i didnt try to get them working yet.
Sadly libbluray is like not documented at all, and development seems to be limited to 1-2 guys right now, that push a few commits every other week, so its going slow.
Note when i'm saying "interface", i don't mean something the user can click on, i mean a interface in the programming sense, an abstract definition that defines how the player and the source filter/splitter communicate. The interface the DVD Navigator uses is just not re-usable for other source filters. I looked into that before, and its just lacking, and would severely limit the splitter.
There needs to be something new that defines how the player tells the splitter what to do, and the splitter tells the player about the stream events. Starting to blindly code some filter without this will not result in any maintainable code. Thats why i also want player developers on board with this, because when they don't work on this as well, its a futile attempt. Sadly i don't know of any good player that has active devs that would want to work on this as well. MPC-HC does not really have an active dev experienced enough with the DShow parts to work on this, and i've never seen some guy from another player around these forums =/
cb2000
19th November 2010, 13:59
I think MS DVD Navigator had show the way for what yo saying "interface". It use filter events notification to tells the player about the stream events. The player use its IDVDInfo and IDVDControl interface to tells the splitter what to do. We can define a new universal event code and interface to do it better.
nevcairiel
19th November 2010, 14:39
Yeah thats what i mean. IDVDInfo2 and IDVDControl2 are designed a bit silly, and full of legacy functions that don't make sense much anymore.
cb2000
19th November 2010, 15:31
Yes, I agree. Some functions don't make sense much anymore. I don't impletement all of them now. I doubt now if it is worth to impletement them to make the filter as much as compatiable to MS DVD Navigator.
cb2000
25th November 2010, 04:00
Can madVR work with i945gm?
When I try to test dslibdvdnav with mpc-hc, I find madVR don't work.
Software: mpc-hc release_v1_4_2499_0 (src downloaded from svn, changed to load dslibdvdnav, for test only)
madVR v0.34
WinXP SP3
Hardware: DELL 640m
namaiki
25th November 2010, 04:09
Can madVR work with i945gm?
No, but it works with the next generation, X3100.
cb2000
25th November 2010, 07:10
Bad news. I must find another computer for testing.
Or anyone can help to test it, files has upload to sourceforge.
http://sourceforge.net/projects/dslibdvdnav/files/0.1.2.zip/download
cb2000
27th November 2010, 03:18
It seems no one had a test...
I found it crash with mpc internal video decoder and madVR in Win7.
There is a bug in MHC-HC\src\DSUtil\deinterlace.cpp line 258, it make an aligned SSE2 store instruction on a unaligned pointer, should corrrect it by
_mm_storeu_si128(dstrow++, ...).
After a search i found it is corrected in SVN trunk.
Anyway it works with madVR on my computer now.
commander1979
27th November 2010, 20:46
Hi cb2000
can i test it with mediaportal?
greets
commander
cb2000
28th November 2010, 06:58
Thanks, it need to make some change on mediaportal to support dslibdvdnav.
dslibdvdnav use the same interface as MS DVD navigator.
I know that is written by C#, can u do it?
Maybe just make some change on "Core/DShowNET/Helper/Filters/FilterHelper.cs" is enough.
Neeto
29th November 2010, 11:45
The results of my testing
If the DVD is in a local DVD drive then all works okay
If the DVD is mounted from a NAS device MPC-HC plays a few frames of the FBI notice then freezes, but this works fine on normal MPC-HC.
If the File->Open Directory is used and the Directory is on a NAS then MPC-HC displays "Cannot fid DVD directory" but this works fine on normal MPC-HC.
If the file->Open DVD is used and the Directory is on a NAS then MPC-HC plays a few frames of the FBI notice then freezes, but this works fine on normal MPC-HC.
It seems any network path does not work properly.
Regards, Neeto
mark0077
29th November 2010, 20:59
I'm getting the "Cannot find DVD directory" error also using 0.1.2, windows 7 opening video_ts.ifo from hdd, using qdvd.dll allows me to play dvds with madVR, sweeet, any workaround or differences between this opensource one and qdvd.dll. I can't navigate through the dvd menus correctly with qdvd.dll and mpc-hc freezes every so often when attempting to do so.
cb2000
30th November 2010, 07:03
Thanks a lot.
1. It can not open video_ts.ifo now, it only support by open dvd root directory or a dvd image file. I will fix it.
2. I test on my computer that a network path is working by file->Open DVD.
Neeto, are you sure the disc you mount on the NAS can be played if it mount on a local DVD drive?
Is the NAS use SMB procotol for sharing?
commander1979
3rd December 2010, 19:37
Hi,
i have changed Core/DShowNET/Helper/Filters/FilterHelper.cs. I can choose now dslibdvdnav as DVS Navigator but if i will play the DVD i get an error message. Can not play DVD: video_ts.ifo.
Greets
commander
cb2000
4th December 2010, 09:28
can open video_ts.ifo now, try new file from sourceforge please.
dansrfe
5th December 2010, 07:12
I think you should send a pm to one of the devs for mpc-hc to include the "use: dslibdvdnav" for all future builds.
_xxl
5th December 2010, 07:49
I think you should send a pm to one of the devs for mpc-hc to include the "use: dslibdvdnav" for all future builds.
Maybe it should be included in MPC-HC.
Neeto
5th December 2010, 11:27
Thanks a lot.
1. It can not open video_ts.ifo now, it only support by open dvd root directory or a dvd image file. I will fix it.
2. I test on my computer that a network path is working by file->Open DVD.
Neeto, are you sure the disc you mount on the NAS can be played if it mount on a local DVD drive?
Is the NAS use SMB procotol for sharing?
To be clear, the mount is of the directory on the NAS.
i.e. I'm NOT mounting an image.
I'm mounting the directory with the VIDEO_TS.
My NAS is a Windows Home Server i.e. the normal Windows file share protocol.
Neeto
5th December 2010, 12:35
I've tested with verison 0.13
The directory open works a little bit.
Let me explain, I can open the directy and choose the main menu & navigate in the main menu, but there is no sound.
The nagivation does not work properly either - the first menu works, but if I go to another menu it does not display.
cb2000
5th December 2010, 15:12
I think you should send a pm to one of the devs for mpc-hc to include the "use: dslibdvdnav" for all future builds.
:) I don't think it is stable enough to be released.
cb2000
5th December 2010, 15:30
To be clear, the mount is of the directory on the NAS.
i.e. I'm NOT mounting an image.
I'm mounting the directory with the VIDEO_TS.
My NAS is a Windows Home Server i.e. the normal Windows file share protocol.
Do you only sharing the VIDEO_TS directory but not the disc root(i.e. the parent directory of VIDEO_TS)?
Neeto
6th December 2010, 02:33
Do you only sharing the VIDEO_TS directory but not the disc root(i.e. the parent directory of VIDEO_TS)?
Actually I share the root of the root like i.e. \\NAS01\SharedMovies
Then Open this directory with OpenDirectory of MPC-HT"
\\NAS01\SharedMovies\SomeMovie
Which contains the VIDOE_TS directory like:
\\NAS01\SharedMovies\SomeMovie\VIDEO_TS
Keep working on this - it is seriously needed :)
cb2000
9th December 2010, 12:48
Not found this problem. But I have only one computer now, maybe I need another computer to form a local network for test.
And can you copy this directory to local computer to make sure that the problem is the network?
What video render are you using?
cb2000
13th December 2010, 05:48
dslibdvdnav (https://sourceforge.net/projects/dslibdvdnav) (0.2.0)
* new multi-thread cache impletement
* title duration and time bug fix
* menu button select bug fix
* use UDF to open dics, for some disc that is not supported by windows
* basic fast forward support
Neeto
13th December 2010, 12:44
Hi,
Did a little testing on 0.2.0 version.
Seems to be much better for many DVDs.
I still have a problem with some DVDs where you navigate into indexes. e.g. Eagles Hell Freezes Over DVD.
Does not matter if the directory is opened over the local network on on the local drive.
This causes a lockup which can't be fixed without closing mpc-hc.
Thanks, Neeto
commander1979
13th December 2010, 20:31
Hi,
your new version looks good. I can open my DVDs now. Now i have problems with navigation play the movie on some DVDs.
Greets
commander
tetsuo55
14th December 2010, 08:46
could you give some more detail?
Which movies, what doesnt work exactly?
See this page for some extra info on what cb2000 will need to fix it: http://sourceforge.net/apps/trac/mpc-hc/wiki/How_to_Report_Issues
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.