View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
mariner
10th May 2007, 09:26
Hi Casimir666,
Tested EVR on Xp with 6600GT AGP with no visible tearing. Hope you can get the tearing test working in the next version.
Bu the way, how is the OSD enabled?
Best regards.
hdboy
10th May 2007, 18:08
Hi Casimir666,
Tested EVR on Xp with 6600GT AGP with no visible tearing. Hope you can get the tearing test working in the next version.
Bu the way, how is the OSD enabled?
Best regards.
I think it's enabled by default. Try changing volume, playback speed, or sound delay.
I notice something: I cannot play/pause by clicking on the screen with the mouse. I have Play/Pause mapped to mouse Left Up.
Casimir666
10th May 2007, 18:20
Hope you can get the tearing test working in the next version.
I'm working on "EVR custom presenters". If i can make it works I'll be able to add tearing test, internal subtitles, pixels shader and D3D fullscreen mode ;)
mariner
10th May 2007, 18:49
1. Internal subtitles with EVR would be great as VSfilter really slows things down.
2. Pixel Shader to do 16-235 to 0-255 mapping.
3. D3D Full Screen Mode : is this the same as FullScreenMode on EVR properties panel? It seems that control F does not work at the moment.
4. Would you also look into making video processor mode selectable by user.
Now, did I forget anything?
Thanks.
hdboy
10th May 2007, 20:09
what are the advantages of EVR? picture quality wise, I really cannot see a difference from VMR9
NoX1911
11th May 2007, 02:14
Better timings, so no tearing. And no colorspace problems (YUV 16:235 output on vmr9, seems driver problem though).
Is it possible to have a separate thread for seeking and an optional 'seek by keyframe' seeking mode? Currently, if i seek by mouse wheel (5sec jump per click) mpc processes next jump only when actual picture is decoded so seeking is very uncomfortable at the moment.
EVR is running fine. I have some problems with EVR+ffdshow and WMVs though. Chroma channel is corrupt and picture is mainly b&w. Same happens with KMP Player so it maybe a driver problem (ati) or ffdshow's fault.
wozio
11th May 2007, 06:45
And no colorspace problems (YUV 16:235 output on vmr9, seems driver problem though).
It is driver who performs actual color conversion, it is not dependent on renderer. So if you have any color space issues blame ati or nvidia not renderer (vmr9 or evr).
chros
11th May 2007, 11:11
an optional 'seek by keyframe' seeking mode?
Whoaa! This idea is in my mind too!
Like in GOM Player (unfortunately, only their avi splitter supports it).
In MPC avi, mkv, mp4 built-in splitters supports the jump to next keyframe (SHIFT+arrows), so I think it can be done for the several types of jumps.
Please implement this!
Thanks
NoX1911
11th May 2007, 18:57
It is driver who performs actual color conversion, it is not dependent on renderer. So if you have any color space issues blame ati or nvidia not renderer (vmr9 or evr).In the end no one cares about that.. The driver is part of the concept as well. EVR and Overlay don't have that bug. Its just VMR.
mplayerc_homecinema_v1.0.6.0:
- EVR Renderer
If you use 'Tweaks/Free window sizing' the offscreen video area as well as the letterbox areas (at fullscreen) are not black(Y0), they are grey(Y16). I think i've seen this with windows media player before but wondering why KMP Player doesn't have it.
http://www.imagebanana.com/img/w5v446a8/thumb/mpc.png (http://www.imagebanana.com/view/w5v446a8/mpc.png)
In the end no one cares about that.. The driver is part of the concept as well. EVR and Overlay don't have that bug. Its just VMR.
EVR and Overlay *do* depend on driver. And EVR on Vista does have that "bug". It is not EVR's fault, though. Try watching a video on a Intel GMA X3000 and you will see.
NoX1911
11th May 2007, 19:47
I'm talking about the main vendors (ati, nvidia) that don't have proper vmr support and i don't care if its their fault. VMR is not just 2 days old...
The_Keymaker
11th May 2007, 22:55
I have a simple question.
I created a graph in graphedit that succesfully plays HD-DVD EVO files. Can MPC use or "import" this graph so I use it to play EVO files?
Thank you.
PS, I apologize in advance if this is the incorrect thread, and will be happy to post in the proper thread if someone can point me in that direction.
arfster
12th May 2007, 00:29
what are the advantages of EVR?
DXVA2 support, which is required for hardware acceleraiton with Purevideo2.
It's also much less prone to tearing on my systems, whereas VMR9 would tear constantly unless you used exclusive mode.
hdboy
12th May 2007, 03:29
is exclusive == renderless?
killerhex
12th May 2007, 04:57
where can i get the latest patches
Casimir666
12th May 2007, 08:36
I created a graph in graphedit that succesfully plays HD-DVD EVO files. Can MPC use or "import" this graph so I use it to play EVO files?
There is no need to import GRF : MPC can read EVO directly if you set-up properly internal/external filters.
Little tips :
- disable AC3/DTS and Mpeg internal filters
- install latest Haali splitter, and enable MPEG TS/PS source
- add all unwanted filters in "External filters" and set "block" radio button
arfster
12th May 2007, 15:22
is exclusive == renderless?
Nah, it's something separate. Overlay, EVR, VMR9 windowed and VMR9 renderless are all different renderers. Exclusive (aka fullscreen in some apps) mode is an option for VMR9 renderless.
burfadel
12th May 2007, 18:37
If you change from EVR top VMR 9 renderless etc, then go fullscreen, you can go back, press ctrl-alt-del or anything. It still plays and pauses etc though!... have to press the reset button...
I've tested Cashimir666's patched build, seems to be very nice.
EVR tested under XP here, no problems, no tearing whatsoever, works when fed both YV12 and RGB32. 7600 nvidia, drivers of course last WHQL, i.e. 101.09 (recommended of course ^^).
Direct3D fullscreen looks like an ugly hack for now though, lots of troubles when using it (not drawing controls properly, can't switch to any other window while MPC is on etc).
Interesting that in RGB32/EVR mode ffdshow shows 100% cpu, but much less in RGB32/VMR9 mode. It seems also that EVR is considerably softer as well. Seems like EVR does unneccessary conversions or probably VMR9 is ahead of EVR because of better queueing.
Are there any settings for EVR system-wide? Register keys or something ...
And now BUGS :P
1. If going back to old mpc and then back again to cashimir build then setting for "use d3d hack" is lost and it is checked again (was previously unchecked).
2. Moar serious: in VMR9 D3D RGB32 mode image is MUCH sharper than in old mpc. It looks like you have sharpener enabled! It is same as usual picture in VMR D2D mode. Note that this sharpness is not shown on screenshot saved by MPC, so it must be shaders enabled when not needed (and btw in the combobox for resizers bilinear was chosen).
3. On start of the video, I have couple of pixels bar on the left side of picture. I have 1280x720 video and 1280x1024 screen resolution, and "normal size" selected, and that doesn't happen in old mpc.
hdboy
13th May 2007, 15:08
EVR tested under XP here, no problems, no tearing whatsoever, works when fed both YV12 and RGB32. 7600 nvidia, drivers of course last WHQL, i.e. 101.09 (recommended of course ^^).
did you say XP+7600+101.09 driver? where do you get that? I went to nvidia.com and it's still 93.81 (november 06).
arfster
13th May 2007, 15:25
List of all betas here:
http://downloads.guru3d.com/download.php?id=10
Beware some of these are severely beta, read the forums to see possible problems.
Casimir666
13th May 2007, 16:26
Direct3D fullscreen looks like an ugly hack for now though, lots of troubles when using it (not drawing controls properly, can't switch to any other window while MPC is on etc).
I know but there is no solution to have controls, options dialog box or menu in this mode. This is the price to pay to remove tearing ;-) You can use "Ctrl+C" to close video or "Alt+X" to exit MPC from this mode.
2. Moar serious: in VMR9 D3D RGB32 mode image is MUCH sharper than in old mpc. It looks like you have sharpener enabled!
I think it's because the "Shapen complex" pixel shader is activated. You can remove it with the menu
3. On start of the video, I have couple of pixels bar on the left side of picture.
Will be fixed in next release
Mc Onyx
13th May 2007, 18:40
Hi, thought i should post about what seems to be a bug. When using your MPC build in fullscreen playback, using Haali renderer in Windows Vista, mouse cursor doesn't show until i press right mouse button, then it becomes visible, but doesn't hide after some time like in "regular" builds. Also the fulscreen controls of MPC don't show at all! Can someone confirm this?
burfadel
14th May 2007, 16:18
This is great! I love it, the picture quality in vmr 9 renderless with pixer shader turned on is great! I have a couple of suggestions though:
- I went to the pixel shader editor, and selected ps_3 for everything instead of ps_2. Pixel shader 3 where supported I believe is superior to 2, but do these settings make a difference? If so, maybe an option should be added to one of the menu's to say 'Pixel shader version' and have the submenu options as per the pixel shader list. Say ps_3 is best where supported!
- My concern over this not working properly was only because I didn't know about the Ctrl - c thing! An addition to the OSD in VMR 9 etc should be 'Press Ctrl - C to close' or something along those lines. At least then people know that don't have to reset :)
- When using 'VMR 9 renderless' output mode, in the normal version having 'vmr9 mixer mode' box checked works fine, however with the new display method the screen is very dark and the colours are off. It looks quite bad! Without it ticked its fine.
- The size of the video was always the original size. Of course in the VMR9 mode you can't right hand click and select 'touch window from inside' which is required to view the video fullscreen (well you know, so width wise it touches the edge of the screen). You have to first go to say overlay output method, set it, then go back, and from then on it defaults to that method. Maybe that can be set by default for vmr9 renderless etc?...
- If you have something running in the background it can flash through occasionally regardless of whether you are using vmr9 renderless or evr. I was encoding in the background and moved the mouse, clicking it. The mouse actually worked on the desktop behind MPC and it happened to close off the x264 window! consequently my encode was stuffed (it was ok, I did it again)! but yeah... normally that wouldn't happen!
I hope I don't sound like a whinger! I just think these things would help!
Thanks again for a great job!
http://downloads.guru3d.com/download.php?id=10
Beware some of these are severely beta, read the forums to see possible problems.
101.09 forceware is not beta, and it's in fact WHQL certified. That's why I use it :)
I think it's because the "Shapen complex" pixel shader is activated. You can remove it with the menu
Why is it activated in the first place? Makes high-quality material look like some cheap overshaprened upscale ^^
(for instance edges might become quite aliased).
Sirber
14th May 2007, 21:57
Does subtitles work using Vista, EVR and Cyberlink H264 decoder un DXVA mode?
Casimir666
14th May 2007, 22:40
Does subtitles work using Vista, EVR and Cyberlink H264 decoder un DXVA mode?
Subtitles for EVR are almost ready, but there is still some works to have a smooth playback. EVR is compatible DXVA2, and can use Vista Mutimedia Class Scheduler to boost rendering process (to improve playback smoothness).
Cyberlink H264 can be used with MPC, but not VC1 decoder (it refuse to connect :mad:)
Sirber
15th May 2007, 01:10
For some obscure reasons, CyberLink now display in black and don't play.
Sirber
15th May 2007, 02:16
It seems it doesn't like every H264...
zambelli
15th May 2007, 08:36
Cyberlink H264 can be used with MPC, but not VC1 decoder (it refuse to connect :mad:)
I think Cyberlink is starting to tie their decoders to their player apps. I'd be surprised if the future H.264 decoder versions continue to work outside their player app.
I was testing the shaders today (on Drevil's build) and I've noticed that the procomp shader is not scaling the TV->PC color range. Actually, it is the only shader that doesn't produce any results. All the others work fine.
Does anyone know why? KMPlayer's scaler works (but it doesn't work on MPC) and MPC's procomp works on KMPlayer too, so I believe this is something with MPC. I tested on Casimir's build and it doesn't work either ;)
have you tried editing the shader and trying the different ps versions?
ps_1_4 seems to be the only one that changes the colour range with the procomp shader for me *shrug*
burfadel
15th May 2007, 21:36
have you tried editing the shader and trying the different ps versions?
ps_1_4 seems to be the only one that changes the colour range with the procomp shader for me *shrug*
What graphics card do you have? also what driver are you using? both affect what pixel shader version you can use!
8800GTX, Win XP x64, 160.03 Forceware
I couldn't make the procomp shader to work, but I still haven't tried using PS 1.4 as you said Pyro. I will when I get home. All the other shaders work with PS 3.0.
I am so sorry. It was my fault. I said before KMPlayer's remap16_235 shader didn't work on MPC and that's not true. It was my mistake. It actually works pretty well. I have a video with both 17 and 235 (RGB white levels) on the same frame. Using Photoshop eyedropper I get 1 and 255 with KMPlayer's shader. I think the colors with this shader is nice too. Believe it or not, that's the only way I can get the 0-255 range with DVDs at the moment. :(
KMPlayer's remap16_235 shader formula is very simple, so maybe procomp produces better image quality. I don't know. Credits: http://www.homecinema-fr.com/forum/viewtopic.php?t=29814317
(I'm not sure I can paste the code here)
Thank you for your help.
Pyro, I can't compile procomp with PS 1.4. Here is the message I get:
"error X3539: ps_1_x is not supported in this version of the compiler"
hdboy
16th May 2007, 09:22
Casimir: I have a request: could you add a key or a menu item to toggle on/off D3D fullscreen on the fly? I usually DON'T want to use D3D fullscreen for playing back video on my PC monitor, since I lose some functions, but I DO want it when playing back movie on my HDTV, to avoid vmr9 tearing on 1080i. Right now, I have to go into the options dialog and check/uncheck it.
Or, perhaps add a command line argument /d3dfullscreen to turn it on?
Pyro, I can't compile procomp with PS 1.4. Here is the message I get:
"error X3539: ps_1_x is not supported in this version of the compiler"
If you're using latest DirectX SDK, then look in the realease notes. It states the shader compiler no longer supports legacy shader models. If you want to compile in such a legacy mode (below 2.0, if I remember it right), you have to pass a few extra parameters on the command line. Everything is in the release notes for february or april.
Pyro, I can't compile procomp with PS 1.4. Here is the message I get:
"error X3539: ps_1_x is not supported in this version of the compiler"
weird, i get "D3DXCompileShader succeeded" using ps_1_4 or higher
but the ps_2_sw and ps_3_sw shaders give me a message "Could not load shader: procamp"
the remap16_235 seems to have a much more noticeable effect
Thank you, Kod, but I don't have any DirectX SDK. You're talking about recompiling MPC with legacy support, is that it? Is Procamp's quality worth it? Remap_16_235 does have a noticeable effect, but the writer states it is low quality. Oh, well, our impression is what should matter. Pyro, you are probably using a different version of MPC or you are on XP. I'm using latest Drevil's build on Vista. Maybe that's the difference.
Anyway, as I've stated on Haali's thread, I managed to make it work with DVD sources. :D And Haali's renderer quality is indisputable. I was just trying to do some tests.
Thanks again for your help.
Casimir666
16th May 2007, 18:14
Casimir: I have a request: could you add a key or a menu item to toggle on/off D3D fullscreen on the fly? I usually DON'T want to use D3D fullscreen for playing back video on my PC monitor, since I lose some functions, but I DO want it when playing back movie on my HDTV, to avoid vmr9 tearing on 1080i. Right now, I have to go into the options dialog and check/uncheck it.
Or, perhaps add a command line argument /d3dfullscreen to turn it on?
Already exist : use Ctrl+F to toggle D3D mode ;)
xnguard
16th May 2007, 21:19
BugTraq advisory here (http://www.securityfocus.com/bid/23991).
hdboy
16th May 2007, 21:45
Already exist : use Ctrl+F to toggle D3D mode ;)
ah thanks. Found it now.
The way it works now, you have to hit Ctrl+F to turn it on, then open a file, then it goes into d3dfs before you have a chance to do anything. I think what'll be more useful is to have Ctrl+F work like the normal fullscreen command. You open a file, do whatever you need to do, like load subtitle, adjust shader, etc. (which you can't do easily or at all in d3dfs), then hit Ctrl+F, and it goes into d3dfs and you sit back and enjoy. then the D3D option in the dialog would be something like "D3D fullscreen on file open" for those who want that. hope that makes sense.
Casimir666
16th May 2007, 22:23
I think what'll be more useful is to have Ctrl+F work like the normal fullscreen command.
I agree but it's complicated to switch from fullscreen to normal mode when video is loaded (renderer should be disconnected and reconnected).
Sirber
16th May 2007, 22:57
BugTraq advisory here (http://www.securityfocus.com/bid/23991).
"Failure to Handle Exceptional Conditions"
Like what? Tornado? ;)
foxyshadis
17th May 2007, 00:43
Denial of Service means "it crashes". Big deal, you don't even need an invalid stream to crash MPC or FFDshow! :( Many crashes are exploitable with some analysis, so they probably didn't even try too hard or they might have found a way to hijack the player. Put a fuzzer on some streams and watch almost every music and media player, codec/decoder/filter/plugin, and driver crash and burn. Winamp is mostly immune to mp3/wav errors, but only through years of attrition from cleaning up crashes, and AAC/Vorbis streaming is still prone to crashing on bad data.
But it only crashes MPC, rather than a video driver or explorer or some other important part of the OS. Why bother posting to bugtraq instead of guliverkli's bugtracker? (Which is more likely to get attention, even if it's still pretty close to zero.) Is there a specific reason this is a more important security vulnerability than the thousands of other crashes this and similar software have?
Sirber
17th May 2007, 14:13
"Failure to Handle Exceptional Conditions" is a DoS?
"Failure to Handle Exceptional Conditions" is a DoS?
Nonono...
In this day and age, everything that makes a program terminate unexpectedly is called "Denial of Service". That's newspeak for "crashing bug", but it sounds much more horrifying...
Thankfully, it's been quite some time since I've last been DoS-ed by my power company, or I'd have to post an advisory about them on SecurityFocus...
np: Adult. - The Importance Of Being Folk (Part I) (Why Bother?)
hdboy
17th May 2007, 15:21
I agree but it's complicated to switch from fullscreen to normal mode when video is loaded (renderer should be disconnected and reconnected).
how about just one way switch, from normal to d3d fullscreen? the idea is to let user do some setup after opening file and not going into d3d fullscreen immediately.
in any event, a commandline switch will also be very useful for launching file from a batch or another control program.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.