View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
pirlouy
18th October 2009, 19:14
It's not often said: thank you Alexins for providing nightly build of MPC-HC in particular.
And thank you for your work around MPC-HC in general.
Casshern
18th October 2009, 21:17
Let me also thank you for your relentless work and great support of mpc hc, ffdshow and other video stuff.
THANX!
My site is often not available because of poor quality work of my ISP (http://www.smile-net.ru/) :mad:
Now I renew software on the server. The site will be accessible through the pair of days.
bob0r
18th October 2009, 23:51
Both files mirrored on x264.nl, keep up the great work!
uncola
19th October 2009, 09:59
woo, thanks for the mirror since xvidvideo.ru is down.
Hey have you guys ever thought of rebooting the thread? 500 pages is a lot
hoborg
19th October 2009, 10:57
Question about WMV9 pro and MPC-HC:
I have WMV video sample with 6ch. WMA3 audio.
MPC-HC will play sample and output 5.1 correctly, but if i open same file in graphstudio, i got only stereo output.
So my question is - what special MPC-HC do to get 5.1 from WMV?
Same graphs are created (checked by graphstudio).
Polcius
19th October 2009, 14:26
Is there a way to force DXVA in MPC-HC?
I'm asking because deinterlacing looks awful when I'm not using DXVA. And when I use PowerDVD9, DXVA is on and deinterlacing looks better.
My setup: ATI HD 4350, Windows7, EVR-CP in MPC-HC
Thanks
Jong
19th October 2009, 16:28
Is there a way to force DXVA in MPC-HC?
I'm asking because deinterlacing looks awful when I'm not using DXVA. And when I use PowerDVD9, DXVA is on and deinterlacing looks better.
My setup: ATI HD 4350, Windows7, EVR-CP in MPC-HC
ThanksWhat material are you trying to view? If DVD/MPEG2, the MPC MPEG2 decoder cannot use DXVA so try uisng the Cyberlink decoder instead (although you may have problems with DVD menus?).
Polcius
19th October 2009, 17:36
What material are you trying to view? If DVD/MPEG2, the MPC MPEG2 decoder cannot use DXVA so try uisng the Cyberlink decoder instead (although you may have problems with DVD menus?).
Yes, DVDs.
If I use the Cyberlink decoder, I can't see DVD subtitles.
BTW, Is there a way to doo a good deinterlacing without DXVA? Because I don't care much about DXVA, my main concern is to apply a good deinterlacing.
Thanks
mark0077
19th October 2009, 18:05
Yes, output in the nv12 colorspace to your graphics card, seems to be the only way to get good de-interlacing in my card anyways.
You can use ffdshow to do this, just select only nv12 in its output options, and in mpc-hc mpeg2 decoder options, set "Set interlaced flag in output media type". Just be careful because most DVD's won't require de-interlacing, but are badly flagged so your graphics card may show tiny anomilies when trying to de-interlace material that doesn't need to be de-interlaced at all. Tis a bit of a mess to be honest, very much a manual step before watching a DVD, to decide if it will need de-interlacing or not.
mark0077
19th October 2009, 18:17
Well the only thing that occurs to me to test is to check different drivers and devices. Unfortunately it's been a while for me since I've used anything other than the ATI HDMI device in my HTPC. Your experience seems to be similar to mine though. If someone else is using another device that behaves differently, then it might be drivers. The problem is that this is not the only flavor of this side/back surround issue. Some drivers like Nvidia confuse the matters further by swapping them.
I'm thinking of just going back to regular 5.1. This speaker number race is getting out of hand anyway. DPLIIz?
By the way, I fix my issues with ReClock or WASAPI exclusive. Those can set your channels in Windows automatically according to the source. Thing is I don't think they work with the Xonar very well, cause the Xonar doesn't let them bypass its control panel settings.
What happens when you set Windows to 5.1 output, and the Xonar CP to 5.1 input and 7.1 output? Where do you hear the surrounds?
Setting windows / xonar control panel to 5.1 input, and xonar control panel to 7.1 output of course shows the same effects. The xonar is getting 5.1 channels in, with the two surround channels being sent to the back by mpc-hc. Because there are no side channels coming as input, the xonar again tries to use all available channels, so when it gets for example right back channel data from mpc-hc, I hear it approx 90% volume from my side right, and about 10% from side left. Same for left back channel input data of course.
All perfectly expected behaviour given my drivers are being sent back channel data.
When using WASAPI of course none of this happens, it seems to do a great job of mapping "surround" to the correct place, just when using directsound, mpc-hc is sending "surround" to my back channels and this is a problem. Sorry to harp on, just I know its going to effect others, with the majority "sadly?" not noticing it as its a subtle effect, or if their soundcard does very simple upmixing from back to sides, then they won't notice at all.
Unfortunately the xonar does a little more advanced upmixing to available channels, hence the channel bleeding effect. Still hoping to get input from developers on this.
Polcius
19th October 2009, 19:01
Yes, output in the nv12 colorspace to your graphics card, seems to be the only way to get good de-interlacing in my card anyways.
You can use ffdshow to do this, just select only nv12 in its output options, and in mpc-hc mpeg2 decoder options, set "Set interlaced flag in output media type". Just be careful because most DVD's won't require de-interlacing, but are badly flagged so your graphics card may show tiny anomilies when trying to de-interlace material that doesn't need to be de-interlaced at all. Tis a bit of a mess to be honest, very much a manual step before watching a DVD, to decide if it will need de-interlacing or not.
It doesn't work. I've done it and I still see it interlaced.
Is it possible to do Cyberlink decoder+DVD subtitles? Because this would be perfect.
If not, I would like to "force" DXVA in some way.
mark0077
19th October 2009, 19:12
Well if your worried about de-interlacing, dxva shouldn't have anything to do with it. If you have ffdshow setup correctly, ie decode raw video set to "All supported", and interlaced flags being output from mpeg2 decoder, then outputting in nv12 mode should get your graphics card doing good de-interlacing.
If not I guess either your drivers arn't good, or the original content was badly flagged.
In any case, you can always try software de-interlacing in ffdshow, in the form of the yadif de-interlacer with double frame rate on. Its often hard to spot the difference between yadif and the hardware de-interlacers. My bet is that ffdshow isn't correctly configured though. When playing your content, does ffdshow icon show up in the bottom right of your screen indicating its being used or not.
Polcius
19th October 2009, 19:32
Well if your worried about de-interlacing, dxva shouldn't have anything to do with it. If you have ffdshow setup correctly, ie decode raw video set to "All supported", and interlaced flags being output from mpeg2 decoder, then outputting in nv12 mode should get your graphics card doing good de-interlacing.
If not I guess either your drivers arn't good, or the original content was badly flagged.
In any case, you can always try software de-interlacing in ffdshow, in the form of the yadif de-interlacer with double frame rate on. Its often hard to spot the difference between yadif and the hardware de-interlacers. My bet is that ffdshow isn't correctly configured though. When playing your content, does ffdshow icon show up in the bottom right of your screen indicating its being used or not.
Yes, it shows up.
In the "output" tab I deselect everything and only check "NV12".
In the "codecs" tab, MPEG2 is set to "libavcodec" and raw video to "all supported".
And in MPC-HC, I check "flag interlaced content" in the decoder. (Maybe I have to check this in ffdshow too?)
EDIT: When the DVD plays, the icon in ffdshow says: Input YV12 and Output N21,VU
Darth Viorel
19th October 2009, 19:51
You have to set it in ffdshow. In the output tab there is a checkbox for the interlaced flag.
gngn
19th October 2009, 21:06
You have to set it in ffdshow. In the output tab there is a checkbox for the interlaced flag.
thanks to you and mark0077 !
it's the first time i understand how to get hardware-deinterlacing of mpeg-2 material :p
littleD
19th October 2009, 21:22
Is it possible to do Cyberlink decoder+DVD subtitles? Because this would be perfect.
If not, I would like to "force" DXVA in some way.
MPC HC + Cyberlink decoder + DVD internal subtitles works!!
Inspector.Gadget
19th October 2009, 21:34
MPC HC + Cyberlink decoder + DVD internal subtitles works!!
Has that bug been officially fixed? For a while ANY DXVA-enabled MPEG-2 decoder wouldn't work with internal subs or dvd menu highlighting when used in MPC-HC...
littleD
19th October 2009, 21:40
Ups.. looks i was wrong. It doesnt work on win7. Subtiltles dont show up even with microsoft decoder :(
Andy o
20th October 2009, 00:04
Setting windows / xonar control panel to 5.1 input, and xonar control panel to 7.1 output of course shows the same effects. The xonar is getting 5.1 channels in, with the two surround channels being sent to the back by mpc-hc. Because there are no side channels coming as input, the xonar again tries to use all available channels, so when it gets for example right back channel data from mpc-hc, I hear it approx 90% volume from my side right, and about 10% from side left. Same for left back channel input data of course.
All perfectly expected behaviour given my drivers are being sent back channel data.
When using WASAPI of course none of this happens, it seems to do a great job of mapping "surround" to the correct place, just when using directsound, mpc-hc is sending "surround" to my back channels and this is a problem. Sorry to harp on, just I know its going to effect others, with the majority "sadly?" not noticing it as its a subtle effect, or if their soundcard does very simple upmixing from back to sides, then they won't notice at all.
Unfortunately the xonar does a little more advanced upmixing to available channels, hence the channel bleeding effect. Still hoping to get input from developers on this.
I'm pretty sure the bleeding is a Xonar issue. I've had the HDAV before (returned it) and I had a Xonar DX. I think you can disable the bleeding, but I'm not sure how, maybe disabling one of the startup entries? (I think it was something with a "gx" in it.)
kieranrk
20th October 2009, 00:14
Can I add that if you are having problems with particular devices please contact the manufacturer and ask us to contact us.
Certain manufacturers have ignored our requests for information so if you inform them about this then maybe we might get a response.
mark0077
20th October 2009, 01:04
I'm pretty sure the bleeding is a Xonar issue. I've had the HDAV before (returned it) and I had a Xonar DX. I think you can disable the bleeding, but I'm not sure how, maybe disabling one of the startup entries? (I think it was something with a "gx" in it.)
Well I had lengthty discussions through an asus bug report many weeks ago now but they seem adament that the drivers are fine.
I have gx disabled and hi fi mode on yes but I don't believe it is an issue with xonar drivers. It's only natural that if they get fed channel information for channels that I don't physically have that they try to upmix this rather than pure channel mapping giving more accurate placement of the intended sounds.
This is a feature rather than an issue. That's the message I try to get across with my posts with the proper solution not being workarounds or tricks bt a discussion on how mpc chooses where to send surround channels. It's the only way I feel for this to have a proper conclusion and potentially can bring changes to mpc regarding where surround channels get sent when using directsound out.
Polcius
20th October 2009, 01:52
You have to set it in ffdshow. In the output tab there is a checkbox for the interlaced flag.
In ffdshow AND in MPC-HC's decoder? Or just in ffdshow?
mark0077
20th October 2009, 09:56
Well if ffdshow is used at all, it will need to be set in ffdshow (its default option is perfect).
If the mpeg2 decoder is used, it will need to manually be enabled there (its default option means very basic de-interlacing is used), but if ffdshow mpeg2 decoder is used, it wont need to be set in mpc-hc decoder. No harm in enabling the flag everywhere anyways.
Again, remember that you will find that most of your DVD's will not require de-interlacing, and enabling it can (although slightly) alter / damage the original image. So any functions in ffdshow that will require knowing if the source is interlaced or not (resizing, some colorspace conversions), interlaced options in "output" will probably need to be manually set to interlaced / progressive manually.
I have two registry files that I execute, one for progressive DVD's (my default), and the other for interlaced ones, that just sets all of the above options accordingly. Pity we can't rely on the flags from DVD's but its just a fact that we can't and need to manually get it right for each movie.
Mixer73
20th October 2009, 10:08
Pity we can't rely on the flags from DVD's but its just a fact that we can't and need to manually get it right for each movie.
This is really only true for PAL content.
mark0077
20th October 2009, 10:18
This is really only true for PAL content.
Ah yes cheers, I only have PAL content, thanks for clearing up.
avivahl
20th October 2009, 22:49
Windows 7 32bit RTM (+All Updates).
Latest DirectX Runtime.
MPC-HC 1301.
CUSTOM EVR.
Bug: When using the Microsoft MPEG-2 DXVA decoder that comes w/ Windows 7, I can't get the subtitles of the dvd (the bitmap-based subtitles inside the vobs) to show. WMP12 shows the subtitles fine (using the same video decoder, obviously).
JohnLai
21st October 2009, 08:41
I read somewhere in this forum, anyone with X4500MHD can use hardware acceleration with mplayerc. I rip my DVD to H.264 MKV L@4.1, but mplayerc doesnt seem to use any hardware acceleration with the video at all. Is there any certain requirement for the DXVA playback? The O.S. is XP, internal filter DXVA selected, VMR9 renderless and haali splitter are being used.
hoborg
21st October 2009, 08:43
I read somewhere in this forum, anyone with X4500MHD can use hardware acceleration with mplayerc. I rip my DVD to H.264 MKV L@4.1, but mplayerc doesnt seem to use any hardware acceleration with the video at all. Is there any certain requirement for the DXVA playback? The O.S. is XP, internal filter DXVA selected, VMR9 renderless and haali splitter are being used.
Vista + Win7 only. Blame Intel the are not able to release XP DXVA drivers...
matthew_eli
21st October 2009, 09:28
Vista + Win7 only. Blame Intel the are not able to release XP DXVA drivers...
I quote you: Windows XP and DXVA with G45 will be perfect! I hope that Intel will release soon a driver set with this usefull function!
clsid
21st October 2009, 12:50
Bug: When using the Microsoft MPEG-2 DXVA decoder that comes w/ Windows 7, I can't get the subtitles of the dvd (the bitmap-based subtitles inside the vobs) to show. WMP12 shows the subtitles fine (using the same video decoder, obviously).That is a known bug. It also happens with the Cyberlink MPEG-2 decoder when DXVA is enabled.
JohnLai
21st October 2009, 14:57
Vista + Win7 only. Blame Intel the are not able to release XP DXVA drivers...
Ouch.....does that mean i have to fork out $$ for vista in order to have the dxva functionality?
thuan
21st October 2009, 18:57
Why buy Vista now, it's so yesterday?
But yes I'm on Vista now, stupid ASUS can't release a working set of Windows 7 Xonar driver, I haven't tested their latest beta though but I doubt it works now.
STaRGaZeR
21st October 2009, 19:59
Because 7 has an atrocious Windows Explorer?
khagaroth
21st October 2009, 20:50
And what sane person uses Windows Explorer on any version of Windows?
pirlouy
21st October 2009, 22:00
OT:
Xp windows explorer is a reference ! :-)
I really don't like total commander and all this kind of explorers.
Klaus_1250
21st October 2009, 22:44
I tried running MPC rev 1301 (and several earlier builds) on an Asus Eee PC 1101HA (Z520+GMA500) with Windows XP, but when using h264+DXVA, I get an instant BSOD. Using MPC-HC with PDVD 9 (DXVA enabled) and an h264, no problems (except for some stuttering). Seems MPC-HC is feeding the GMA500 something it doesn't like when using DXVA.
Also, does anyone have some tips to improve playback performance on the Asus Eee PC? I can get about 20fps max with an L4.1 2Mbps H264, but it seems that playback performance is not so much hampered by the GMA500 (no blockiness or artefacts) but by the display renderer (VMR9 renderless in my case) and the MPC-HC UI. Especially the latter seems very heavy. I know subs are heavy, but using the right mouse menu during playback causes major framedrops. Same goes for Display stats, not usable.
Mixer73
21st October 2009, 22:47
I've found the Haali rendererer superior in lower power machines but I don't use subs, and iirc Haali doesn't support them?
STaRGaZeR
21st October 2009, 23:44
And what sane person uses Windows Explorer on any version of Windows?
~99,9% of Windows users?
Wait, you said sane... :D
Mangix
21st October 2009, 23:47
Haali supports subs
namaiki
22nd October 2009, 05:53
Ouch.....does that mean i have to fork out $$ for vista in order to have the dxva functionality?
Forget DXVA for now.. Just use some multithreaded filter with default settings and it's pretty much the same thing, unless you're actually experiencing performance related issues when playing certain H.264 encoded videos.
tetsuo55
22nd October 2009, 06:41
I've found the Haali rendererer superior in lower power machines but I don't use subs, and iirc Haali doesn't support them?i find that strange seeing that haali is very cpu intensive when compared to renderers like overlay
Mixer73
22nd October 2009, 06:55
i find that strange seeing that haali is very cpu intensive when compared to renderers like overlay
Sorry I should clarify, my machine has Core2Duo processor but only Intel chipset for graphics.
tetsuo55
22nd October 2009, 07:17
Sorry I should clarify, my machine has Core2Duo processor but only Intel chipset for graphics.Yeah thats a good system for haali, but an atom chip might be to slow for haali
Mixer73
22nd October 2009, 08:09
Yeah thats a good system for haali, but an atom chip might be to slow for haali
I just found all the settings that normally work well on my desktop PC don't work for shit with the Intel and the Haali renderer worked very well, I still get tearing but I'll have to live with it.
namaiki
22nd October 2009, 08:31
I just found all the settings that normally work well on my desktop PC don't work for shit with the Intel and the Haali renderer worked very well, I still get tearing but I'll have to live with it.
What kinds of settings were you using and which intel card?
EVR-CP all default settings appears to work perfectly for me with a core 2 duo 1.6 GHz + intel 965
For me Haali's Renderer is better performing on XP and EVR-CP is better performing on Vista and up.
avivahl
22nd October 2009, 14:56
That is a known bug. It also happens with the Cyberlink MPEG-2 decoder when DXVA is enabled.
Alright... I filed a ticket then...
http://sourceforge.net/tracker/?func=detail&aid=2883934&group_id=170561&atid=854651
Piyoko
22nd October 2009, 20:16
Is there any way to manually load an external audio track when playing a file? Like how you can load external subtitles from the menu or with Ctrl+L.
Because the LPCM mono bug (http://sourceforge.net/tracker/index.php?func=detail&aid=2842169&group_id=170561&atid=854651) hasn't been fixed (and seems to be more or less buried and forgotten in bug report hell) I can't play any of my Criterion Blu-rays. However then I thought of the brilliant idea that I could demux the mono tracks, do a simple conversion to stereo (dual mono), and then load them as external audio tracks while playing the .m2ts files from the Blu-rays.
But then I came upon the above problem, that I can't seem to find any way to load them in MPC-HC unless they are in the same folder, which is of course impossible since the video is on disc.
Can anyone think of a solution (maybe some command line arguments?) that doesn't involve copying the 30+ gig movie files to my hard drive?
Inspector.Gadget
22nd October 2009, 20:18
Use the "Open file..." option instead of the "Quick open file..." option. Use the second box to pick the audio file.
Snowknight26
22nd October 2009, 20:39
However then I thought of the brilliant idea that I could demux the mono tracks, do a simple conversion to stereo (dual mono)?
Why not just convert the audio to FLAC?
Piyoko
22nd October 2009, 20:55
Use the "Open file..." option instead of the "Quick open file..." option. Use the second box to pick the audio file.
Awesome, thanks a lot! Had totally missed that option. :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.