PDA

View Full Version : faking Windows video renderer GUID?


leeperry
24th August 2009, 13:47
hi there,

I'd love to use mVR in KMP...not too useful on XP as mVR doesn't "hold" the VSYNC enough for +1H from what I've seen when using Reclock(same as VMR9/EVR in non-D3D modes)...but it might come in handy on W7, and would allow me to upgrade sooner than later(it won't be supported in KMP anytime soon :()

so I've tried to hex-edit the mVR DLL, KMP .exe...I've failed.

how about hacking the registry? could I somehow fake EVR/HR's GUID and send it to mVR instead?

stax76
24th August 2009, 14:02
I doubt it would work as KMP is likely to use interfaces not implemented by this renderer.

leeperry
24th August 2009, 16:43
well ZP has an option to use "unknown" video renderers....and madshi said that mVR is not presenter dependent, so provided that I could change the GUID in the registry, for instance I could give it EVR's GUID on XP and call it a day :)

I'll try to see if it's feasible, apparently the GUID is not embedded in mVR's DLL, it's just redirected from the registry :confused:

stax76
24th August 2009, 17:30
You can try it but my dshow programming experience tells me it's highly unlikely it will work.

leeperry
24th August 2009, 23:31
yeah, anyone's got an idea on how to do that? I'll experiment I guess..

stax76
25th August 2009, 00:27
You could ask the author of KMP if it could work.

leeperry
25th August 2009, 01:54
the original coder of KMP was apparently forced to sell/give its source code by the korean government?! there's some very strange posts on the official forum :confused:

and his new player, PotPlayer, is korean-only...plus he doesn't speak any english.

and the company that now owns KMP is about to go bankrupt apparently....so my only hope is some registry magic trick at this point :D

leeperry
26th August 2009, 00:21
ok, that's mVR in my XP SP3 registry:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance\{E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}]
"FriendlyName"="madVR"
"CLSID"="{E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}"
"FilterData"=hex:02,00,00,00,00,00,20,00,01,00,00,00,00,00,00,00,30,70,69,33,\
00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,\
00,00,00,38,00,00,00,48,00,00,00,76,69,64,73,00,00,10,00,80,00,00,aa,00,38,\
9b,71,59,56,31,32,00,00,10,00,80,00,00,aa,00,38,9b,71

[HKEY_CLASSES_ROOT\CLSID\{E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}]
@="madVR"

[HKEY_CLASSES_ROOT\CLSID\{E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}\InprocServer32]
@="C:\\madVR\\madVR.ax"
"ThreadingModel"="Both"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance\{E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}]
"FriendlyName"="madVR"
"CLSID"="{E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}"
"FilterData"=hex:02,00,00,00,00,00,20,00,01,00,00,00,00,00,00,00,30,70,69,33,\
00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,\
00,00,00,38,00,00,00,48,00,00,00,76,69,64,73,00,00,10,00,80,00,00,aa,00,38,\
9b,71,59,56,31,32,00,00,10,00,80,00,00,aa,00,38,9b,71


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}]
@="madVR"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}\InprocServer32]
@="C:\\madVR\\madVR.ax"
"ThreadingModel"="Both"

and EVR:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance\{FA10746C-9B63-4B6C-BC49-FC300EA5F256}]
"FriendlyName"="Enhanced Video Renderer"
"CLSID"="{FA10746C-9B63-4B6C-BC49-FC300EA5F256}"
"FilterData"=hex:02,00,00,00,00,00,20,00,01,00,00,00,00,00,00,00,30,70,69,33,\
02,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,\
00,00,00,38,00,00,00,48,00,00,00,76,69,64,73,00,00,10,00,80,00,00,aa,00,38,\
9b,71,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00


[HKEY_CLASSES_ROOT\CLSID\{FA10746C-9B63-4B6C-BC49-FC300EA5F256}]
@=""

[HKEY_CLASSES_ROOT\CLSID\{FA10746C-9B63-4B6C-BC49-FC300EA5F256}\InprocServer32]
@="C:\\WINDOWS\\system32\\evr.dll"
"ThreadingModel"="Both"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance\{FA10746C-9B63-4B6C-BC49-FC300EA5F256}]
"FriendlyName"="Enhanced Video Renderer"
"CLSID"="{FA10746C-9B63-4B6C-BC49-FC300EA5F256}"
"FilterData"=hex:02,00,00,00,00,00,20,00,01,00,00,00,00,00,00,00,30,70,69,33,\
02,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,30,74,79,33,00,\
00,00,00,38,00,00,00,48,00,00,00,76,69,64,73,00,00,10,00,80,00,00,aa,00,38,\
9b,71,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{FA10746C-9B63-4B6C-BC49-FC300EA5F256}]
@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{FA10746C-9B63-4B6C-BC49-FC300EA5F256}\InprocServer32]
@="C:\\WINDOWS\\system32\\evr.dll"
"ThreadingModel"="Both"


apparently the GUID that KMP calls is only a redirection from the registry :confused:
there's gotta be a way to make XP believe that mVR is EVR http://forum-images.hardware.fr/images/perso/kabouk.gif

if anyone's got an idea, this would be fantastic!

leeperry
26th August 2009, 15:07
so there's no DS mad scientist in the house?

this would allow to use mVR in WMP/BSplayer/VLC/KMP(and what not) if we could somehow patch the registry or mVR's .ax file :(

stax76
26th August 2009, 15:21
Maybe there is not much interest, you could ask madshi if he think it could work. Like I said before you could ask the KMP author as well, it's simply not possible to build a player like KMP without knowing english.

leeperry
26th August 2009, 16:35
the original KMP coder doesn't own it anymore, and the new one is AWOL(his company is said to be close to bankruptcy).

madshi doesn't care for mVR support in players that don't support it natively(MPC only?), so if any DS guru had an idea how to fake a GUID so it could work in ANY media player :o

Mark_A_W
27th August 2009, 08:17
It works fine in Zoom Player, even before Blight added specific support for it.

You need to use a fully customisable player.

leeperry
27th August 2009, 12:12
yep, ZP has an option to use "unknown" renderers....KMP does not.

but ZP lacks all the great features of KMP(seamless playback etc etc), so it doesn't help ;)

Mark_A_W
27th August 2009, 15:15
Why do you need seamless playback?

It used to be useful, back in the TS file days, with all those 100mb chunks (which are easily amalgamated to one big file).

But why does it matter in the age of Bluray? You just convert the disc to a single MKV file.


But yes, seamless playback was added to ZP, then disabled after it proved too troublesome.

What are the etc etc features exactly? It's just MPC-Hc with a different GUI. And using stolen code, if I understand correctly.

leeperry
27th August 2009, 19:30
well, there's still BD movies cut in zillion .m2ts files(I'll give you names if you want) and I can't be hassled to always remux them :o

well, the ZP FS transport bar is aimed at right handed ppl only anyway...I really don't like having the navigation buttons on the right end for one thing, it feels uneasy to me being left-handed.

KMP also has two A>B buttons so you can loop any movie section you like, the GUI is also customizable to the utmost...there's .bmp files and .ini, your imagination is the only bound! both ZP and KMP support auto-resume, so it's tie.

but seamless is also useful for series and such...but anyway, nothing ever works the way it should on a HTPC, it's only a matter of getting used to it and trying to find workarounds :rolleyes: