Log in

View Full Version : madVR and Macrovison error fix


dansrfe
13th February 2011, 00:44
For anyone that wants DVD's to work with madVR in Windows 7

Update:

Register dslibdvdnav:

http://sourceforge.net/projects/dslibdvdnav/files/0.2.4.zip/download

-------------------------------------------------------------------------------

The following method of installation is no longer recommended due to the release of dslibdvdnav which has shown greater stability and reliability.

Files:
____________________________

Here's qdvd.dll: http://www.sendspace.com/file/xyixyb

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 to modify/delete them by right-clicking->Take Ownership.

If enough people comment and get good results then I will make an automated patcher for it.

____________________________

Open Source DVD Navigator:

Don't forget to take a look at this open source dvd navigator in the works which may let us MPC-HC and madVR users finally get rid of Microsoft's DVD Navigator: http://forum.doom9.org/showthread.php?t=153191

If there is enough motivation to help this project out or perhaps if someone could even pick up where it was left off and finish the filter then it could quite possibly get integrated into future MPC-HC builds by the devs.

dukey
13th February 2011, 02:04
I assume that's the one from Windows XP 32bit ? Since it's a dll it might just load in the app directory ? I might try and work on the open source navigator very soon, I just need to finish some commercial work first :o

dansrfe
13th February 2011, 03:13
Yeah, actually I'm really looking forward to the open source navigator also. The microsoft one just plain sucks even if it does barely work. Yes this is from Windows XP 32-bit (complements of Windows Virtual XP Mode ;)). Yea basically you have to change the name of or delete the 2 dlls (I'm guessing it uses the system32 one though) and then register qdvd.dll (if putting it somewhere else other than the directories) or just replace it into system32 or syswow64.

Mark_A_W
14th February 2011, 07:07
Yep, works for me.

JaylumX
16th February 2011, 01:38
Link to file that forgoes the jiggery pokery of taking ownership of a file

Linkage (http://www.winmatrix.com/forums/index.php?/topic/13157-easy-way-to-take-ownership-of-system-files-in-vista-windows-7/)

EDIT: The the fix for the macrovision error works also

Cheers fella :D

dansrfe
16th February 2011, 05:59
Ahh yes. Almost forgot about the whole take ownership thing. I've linked the reg file to the OP that automatically adds a take ownership option in the right-click menu.

dukey
16th February 2011, 14:56
You can just put the dll in the directory of the application. It'll work that way. No violating of system dlls needed.

lych_necross
17th February 2011, 04:17
You can just put the dll in the directory of the application. It'll work that way. No violating of system dlls needed.
Even on Windows 7 64bit?

Mangix
17th February 2011, 06:17
yes since madVR is 32-bit

lych_necross
18th February 2011, 04:28
I tested this on my win 7 64 system and it didnt work. I tried following the instructions in the first post and simply placing the dll file in mpc's directory. Neither worked. I still received the macrovision error. I also tried this using zoomplayer, no go.

dansrfe
19th February 2011, 03:40
If you follow the instructions in the first post exactly there is really no way that it shouldn't work.

lych_necross
19th February 2011, 06:57
Oops... I forgot to replace the one in SysWOW64. It works fine now. Cool!!!! Thanks dansrfe!!!!! :D

Weirdo
12th June 2011, 15:26
Very nice, thanks! You can just put the dll in the directory of the application. It'll work that way. No violating of system dlls needed.

This didn't work, Win 7 x64.

Anima123
12th June 2011, 17:31
Still I don't think it's a good idea to replace a dll in the system directory. Maybe it can only be called as a workaround instead of a fix.

Wile-E-Coyote
15th July 2011, 12:51
Hello.

I tried this method and while it allows to open DVDs, I can't navigate the menus. Sometimes MPC will even crash when I try to.

Any other solution to play DVDs with MadVR?

JaylumX
15th July 2011, 21:50
Edit: No it did not work :(

Wile-E-Coyote
16th July 2011, 15:24
Well I did more tinkering (namely cmd > sfc /scannow and replacing the qdvd.dll files again), and it seems to somewhat work now. I can navigate through menus although what I call the clicking zones are not where they should be... It still crashes sometimes, but it seems to happen only when coming back to the menu after watching a movie, even partially. So it's better than nothing.

I have been wondering : since the issue is DirectShow DVD Navigator why can't we simply use another one? But it seems MPC-HC doesn't allow that because even after blocking Directshow DVD Navigator and setting Cyberlink DVD Navigator as prefered in the filter list, MPC still uses the Directshow Navigator.

Mikey2
18th October 2011, 02:21
Wow thanks so much for this! I can finally select "Play DVD" in MPC now!!!

I think this is worth a "bump" (I posted this in an avsForum link too ;) ) since I am sure many people cannot use "Play DVD" in MPC-HC using madVR. (Plus I found a workaround to the menu problem...see below...)

Since I also received a "Macrovision failed" error when trying to "Open DVD" in MPC-HC, I used to directly open the VOB file using "Open File..." However, on some discs the VOB time-stamps are messed up. Even MediaInfo was showing the incorrect time-stamp in the VOB file! I learned that when selecting "Open DVD..." it works like all other DVD players and uses the time-stamp off the IFO and not the one in the VOB. Thus on some DVD's you cannot simply "guess" a VOB and play it by file, one must use "Open DVD."

So after a ton of research I found that EVR correctly plays "Play DVD" ...But I wanted madVR (I love madVR ) thus some searching brought me here. And sure enough, this worked!

However, like some posters above, I was also having problems when trying to navigate through the menus. However, in MPC, I am able to select any title/chapter directly using "Jump To..." under the "Navigate" menu option. That's good enough for me!

Thanks again, I hope other people find this thread since I am sure it is a common problem.

MikeY

Mikey2
19th October 2011, 20:43
If you use LAV Filters (http://forum.doom9.org/showthread.php?t=156191) rather than ffdshow, this modification is no longer necessary.

Really? I use the most updated versions of LAV Splitter and LAV Decoder and I still received this error until I either changed the renderer back to EVR or applied this fix when using madVR. Can you please explain what I'm doing wrong or what I need to do? (I would still rather use default dll's in my system directories...Plus this fix isn't perfect.)

Thanks much!

SamuelMaki
7th November 2011, 10:55
Just as an update, disregard what I said above about disabling the MS DVD Decoder.
With the latest madVR now offering deinterlacing capabilities, you are better off using it.

With the MPC-HC decoder, it performs its own deinterlacing, which works fine with good titles, but is disastrous with "tricky" titles.
With the MS DVD Decoder, it now passes on the deinterlacing work to madVR, which does a much better job with "tricky" titles.

Or you can just check "set interlaced flag in output media type";)

TheDarkTemplar
20th December 2011, 09:51
I replaced the qdvd.dll files and MPC can now open the DVDs with MadVR, but it freezes and crashes immediately when I try and use the menu after loading the DVD. I can play things by using navigate, but that's a bit annoying to have to do. The weird thing is that after I use navigate and finish watching something and it goes back to the menu, the menu works fine. It's only when you just load the DVD. Is there any fix for this?

xiulet
24th December 2011, 00:17
i can't take ownership in any manner! the .reg trick don't work for me, and for this i can't test qdvd.dll :)

JoeH
21st February 2012, 20:58
It would be great to see a safer fix than having to replace a Windows 7 DLL with a Windows XP one. Just a note to let you know we are interested! Thanks!

6233638
21st February 2012, 21:21
It would be great to see a safer fix than having to replace a Windows 7 DLL with a Windows XP one. Just a note to let you know we are interested! Thanks!It's already solved.

Use ffdshow as your video decoder, and make sure you have the DVD decoding option enabled for MPEG2 under codecs.

http://img850.imageshack.us/img850/6057/mpeg.png

You can still use LAV Filters for decoding everything else, it doesn't support DVD playback (yet?) so just make sure that ffdshow is your fallback decoder.

dansrfe
22nd February 2012, 03:42
This thread is pretty old and since then I personally think that the best way to solve the whole DVD playback problem for now (until the splitter or something close to that is integrated in madVR by madshi) is to use the dslibdvdnav hack. It actually fixes a lot of minor problems that the windows qdvd.dll splitter had before too.

http://sourceforge.net/projects/dslibdvdnav/files/0.2.4.zip/download

Also it would be great if all of you trying to fix the whole macrovision problem would also try dslibdvdnav and post comments, questions, and bugs related to it here: http://forum.doom9.org/showthread.php?t=153191

I think cb2000 might be more inclined to pick up the project again then or if someone else would like to pitch in as well. (I think I might ask cb2000 to open a new thread for dslibdvdnav so that it gets more attention and more people start to use and test it out.)

mark0077
22nd February 2012, 20:10
I'm having great luck with 0.2.4 today, working very well. The download link from http://sourceforge.net/projects/dslibdvdnav/ still points to 0.2.3 btw.

My only niggle so far, and it may have nothing to do with the navigator at all, is playing back a Queen DVD I have, it has 2 channel LPCM by default, I get no sound. I'm using the LAV Audio decoder. When I switch to DTS I hear sound.

Also decoder and other queues in madVR seem to max out at 8, where as for other content, it reaches the maximums of 24 / 16 etc. Not a big deal just happened to notice it.

Great stuff though.

fairchild
22nd February 2012, 22:37
I tried 0.2.3 and even 0.2.4 and this doesn't work for me with either EVR.CP or MadVR, I just get blank screen. My setup is listed in my sig. This filter doesn't need to be installed/registered correct? The only thing I did was create a directory, put the files in there, then run the DVDNavigatorPathHack.exe and point to dslibdvdnav.ax

I can get DVD's to play fine in MPC-HC using ffdshow DVD/MPEG2 decoding when using EVR.CP, but once I throw MadVR into the mix, I get the encryption error and the error in MPC-HC: DVD: Copy-Protect Fail.

Only way I can get DVD's to play in MPC-HC with MadVR is to decrypt them first with another software package like AnyDVD or Passkey. The DVD I tested with was Bad Lieutenant.

dansrfe
23rd February 2012, 03:22
I tried 0.2.3 and even 0.2.4 and this doesn't work for me with either EVR.CP or MadVR, I just get blank screen. My setup is listed in my sig. This filter doesn't need to be installed/registered correct? The only thing I did was create a directory, put the files in there, then run the DVDNavigatorPathHack.exe and point to dslibdvdnav.ax

I have the same software setup as you and I don't seem to get any problems. And yeah all you have to do is to run the navigator hack path which just points qdvd.dll's system path to dslibdvdnav.ax.

The only thing which is different for me is that I've only ever tried playing one dvd from the drive and I'm not sure that it was encrypted since I don't have it with me right now.

PS: I changed the link above to point to v0.2.4

JoeH
23rd February 2012, 10:17
Thanks for this. I have been having this problem and just did not want to mess with the original Win7 files. This solution is way better and seems to work perfect.

Mangix
14th March 2012, 11:47
bump

doesn't work on Windows 8.

TheDarkTemplar
17th March 2012, 03:29
I replaced the qdvd.dll files and MPC can now open the DVDs with MadVR, but it freezes and crashes immediately when I try and use the menu after loading the DVD. I can play things by using navigate, but that's a bit annoying to have to do. The weird thing is that after I use navigate and finish watching something and it goes back to the menu, the menu works fine. It's only when you just load the DVD. Is there any fix for this?

I resolved this by disabling the default MPEG-2 Video Decoder filter in my MPC settings, in case anyone else is having this problem. It was interfering with MadVR for some reason, even though I had MadVR set to prefer.

TheDarkTemplar
17th March 2012, 03:49
I have the same software setup as you and I don't seem to get any problems. And yeah all you have to do is to run the navigator hack path which just points qdvd.dll's system path to dslibdvdnav.ax.

The only thing which is different for me is that I've only ever tried playing one dvd from the drive and I'm not sure that it was encrypted since I don't have it with me right now.

PS: I changed the link above to point to v0.2.4

I am trying to run a DVD mounted on a virtual drive and I'm getting the same problem as fairchild, I'm afraid. It's just not working at all. Gives the same Macrovision Fail error as normal.

A shame too, considering I've had to replace my dqvd dlls five times now. Windows seems to keep restoring the originals periodically. It's rather annoying.

dukey
17th March 2012, 15:21
Replacing windows dll files will always fail. Windows has built in protection for this, otherwise spyware would have a field day. Just dump the replacement dlls into the dll search path of the program you are using. Ie the folder where the .exe is. Problem solved, no windows hacking needed.

Midzuki
17th March 2012, 15:54
Replacing windows dll files will always fail.

Even when the user boots the machine with an emergency DVD? :rolleyes: :p :D

Windows has built in protection for this, otherwise spyware would have a field day.

I might suggest you some web sites which, if your "greatest and latest" Windows depends solely on Windows Defender, Windows firewall and the Security Essentials, will make you have no better option than manually un-plug the network connection in order to get your machine out of the "eternal" deadlock. ;)

Wodde
17th March 2012, 16:30
I have the same software setup as you and I don't seem to get any problems. And yeah all you have to do is to run the navigator hack path which just points qdvd.dll's system path to dslibdvdnav.ax.

The only thing which is different for me is that I've only ever tried playing one dvd from the drive and I'm not sure that it was encrypted since I don't have it with me right now.

PS: I changed the link above to point to v0.2.4

Don't work for me either, still Qdvd.dll is loaded as Navigator...

TheDarkTemplar
17th March 2012, 17:57
Replacing windows dll files will always fail. Windows has built in protection for this, otherwise spyware would have a field day. Just dump the replacement dlls into the dll search path of the program you are using. Ie the folder where the .exe is. Problem solved, no windows hacking needed.

Well, I had to replace like five or so for features of my custom theme to work, and they've all been perfectly fine for ages.

Qdvd is the only one that seems to want to need repeated replacing. Even still, it's not like it just 'fails'. It lasts a good month or so. I believe it's just replacing when I update Windows even. They're probably upgrading it in security updates or something. That's hardly built-in protection to prevent changing it, just an unfortunate consequence of something.

Spyware and viruses do have a field day when they want to anyway. The last infection I got completely closed MSE immediately, removed it from my registry, prevented it from ever running again, and eliminated my base filtering engine...

Gser
29th March 2012, 20:19
Menu loads but when I click something it just freezes. At least Navigate->Jump to works.

TheDarkTemplar
11th April 2012, 00:48
Menu loads but when I click something it just freezes. At least Navigate->Jump to works.

I had the same problem. As I posted earlier, I fixed it by disabling all internal MPEG 2 filters in my MPC preferences.

Gser
12th April 2012, 12:21
I had the same problem. As I posted earlier, I fixed it by disabling all internal MPEG 2 filters in my MPC preferences.

I've never had them enabled. Using FFDShow.

TheDarkTemplar
18th April 2012, 03:42
Hmm, are you certain they are all unchecked? It may very well still be interfering if they are. I would try unchecking all internal filters. Also, try libavcodec if you are using libmpeg2?

Chug a Bug
3rd July 2012, 20:15
Its the same for me everything is unchecked and it still doesn't work with FFDSHOW mpeg 2/DVD.

I'm using W7x64 its stated in the madVR notes that it doesn't work with W7 I believe. EVR, VMR9 etc DVD navigation work just fine but not madVR.

I got menu navigation working with the dslibdvdnav.ax hack. The opening post could make it a clearer that the qdvd.dll route is now not recommended I installed it, it didn't work (it kept crashing MPC) but now WMP dvd navigation doesn't work either...

kasper93
3rd July 2012, 20:28
Some time ago it was working, now it isn't. Don't try to fix things that can't be fixed on your side. @madshi need to take a look into it, maybe some workaround in madVR will do the job, but we can't do anything.

Many people doesn't use DVDs anymore, that's why madVR doesn't support it and LAVF too. I use DVD only because of bootlegs, I have some old killer concerts on DVD. But for movies and everything where it's possible you should watch HD content.

dukey
3rd July 2012, 20:49
It's nothing to do with that. The fact is microsoft only allows microsoft renders to connect to the DVD navigator for DRM reasons. This was introduced in windows vista.

6233638
1st August 2012, 11:17
So it used to be that getting DVDs to work with madVR was a real nuisance.

The qdvd.dll "hack" came along and made things easier, but understandably, many people are not comfortable changing permissions and replacing system dlls, and some just weren't able to get it working.

Then you were able to get DVDs working with the Windows 7 DVD Navigator as long as you used LAV for audio decoding and ffdshow for video decoding with the MPEG2 DVD Decoding option enabled, but newer releases of LAV Filters broke this for many of us. For me, any version above 0.50.1 will not work with DVDs.

Of course you could choose to stay on an old version, but newer versions now have audio downmixing support, which I want to use, and other additions/fixes.


Now the recommended method is to use "dslibdvdnav" which does not replace system dlls, but rather changes the registry entries pointing to the system DVD Navigator to this open-source DVD Navigator.

This works with madVR and newer versions of LAV Filters without showing Macrovision errors, but in my experience, fails to work with a large number of DVDs—they just show a black screen, even if you try to manually select the titles.



So I thought I would try going back to installing the old qdvd.dll, but this time I went about it differently. Rather than modifying permissions and changing system files, I used the "DVDNavigatorPathHack.exe" from the "dslibdvdnav" package to point to the old qdvd.dll, and it works!

Now the old qdvd.dll still doesn't work properly with as many discs as the Windows 7 qdvd.dll, but this setup allows me to use the latest version of LAV Filters with madVR to play back DVDs. If the menus for a disc don't work (many do not, or some have the click positions offset) you can always select the title manually, and that will work.


So it's still best to use the Windows 7 DVD Navigator where possible, but if you are having problems with Macrovision errors with the latest versions of LAV Audio as I have, this seems to be the best compromise so far.

JarrettH
4th August 2012, 18:04
Did you try just going to title or root menu with dslibdvdnav? I never wait for the DVD to get to the menu. I do get a few hitches and more warnings/titles appear after clicking play in the menu than with qdvd

I probably haven't tested with as many DVDs as you to find the ones that don't work. Want to take a look at my movies list and tell me if you had menu trouble in any?

http://pastebin.com/dVy9Zg0U

6233638
6th August 2012, 21:59
Did you try just going to title or root menu with dslibdvdnav? I never wait for the DVD to get to the menu. I do get a few hitches and more warnings/titles appear after clicking play in the menu than with qdvd

I probably haven't tested with as many DVDs as you to find the ones that don't work. Want to take a look at my movies list and tell me if you had menu trouble in any?

http://pastebin.com/dVy9Zg0UYep, I tried going to the root menu, title menu, or accessing the titles directly (which is what I normally do) and on many discs I was just stuck with a black screen, or the time would change to 30s and start "playing" but wouldn't actually show anything on-screen and just looped at the end.

I don't have any of those films as DVDs, sorry (the ones I do have, were replaced with Blu-rays a long time ago) and I don't have a list of films that didn't work either, off the top of my head.


Using the Windows XP qdvd.dll definitely doesn't work as well as the Windows 7 one, which was almost completely stable and worked with just about every disc I ever tried. The XP one on the other hand works with most discs, but menu click targets are usually offset if the menus show at all, though films generally start without issue if you start them via the title menu. On most discs, that's fine, but some have over 30 titles! If that happens, I find it's usually quickest to rip the disc with MakeMKV.

I've also found it to be somewhat unstable. If you seek or skip chapters, sometimes the video will play, but MPC-HC becomes unresponsive to further inputs and has to be force quit.


When it actually works, dslibdvdnav is a better experience than the XP qdvd.dll, but it just doesn't work on enough discs for me to use. Too bad the system dvd navigator doesn't work or madshi/nevcariel haven't figured how to get it working again, because it's a lot better than either.

gloor13
9th September 2012, 17:01
Replacing the qdvd.dll works fine with me. However, the "Hack" method doesn't work at all unless I am doing something wrong. This is what I am doing: I click "Hack", Explorer window opens, I point to dslibdvdnav.ax and then to "Open", the window closes - and that's it?