View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
tetsuo55
13th May 2010, 14:52
Thanks for the link and the information Tetsuo55. Just a last couple of questions. Why did you decide to switch to this alternative?
I mean I don't really know ffplay splitter (I just tried it using your link with some audio tracks which not working during my test by the way but maybe I don't use it correctly) but are you so sure that it will not get more troubles that the current splitter in MPC? You are so not confident on your current splitter or it's because you don't have enough developers to fix it?Basically because i want to back a universal open source solution. The fact that 3rd party devs are doing all the work helps too(as we have 0 devs interested in splitter developement)
Fixing the existing splitters to get all the files working cleanly and getting them to act in a uniform way would take a lot of refactoring.
ffplay doesnt support all audio codecs or number of channels that directshow does so some audio will fail. When used in mpc-hc this codec limitation is not a problem.
Steveo08
14th May 2010, 22:27
i found a strange solution for my problem with autochange at fullscreen in connection with direct3d. all the time it seems to be, it dosen't work for me, but some days ago i tried again with a newer build and i thought that was it. but today i did it again and it does not seem to work again. then I found out that it works, but only in combination with the frontend software http://meedios.com/ and mpc-hc as an external player and not under windows 7 directly. i tried mpc-hc in windows 7 with the option "disable desktop composition" but it doesn't helped.
so there is something different in mpc-hc disabling aero and meedio. does anyone know what?
war59312
15th May 2010, 00:06
Just installed Windows 7 x64 and Media Player Classic Home Cinema svn 1883:
http://xvidvideo.ru/media-player-classic-home-cinema-x86-x64/
Nothing else, just a clean install.
When I play any standard def video it drops frames for the first 5 seconds or so and when seeking.
HD videos have no such issue since they are playing using DXVA.
Full system: http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=14684286
Update: MPC-HC 32bit build has same issue. Tried with default settings in MPC and changing between outputs and same dropping of frames with all outputs.
OK downloaded http://download.videolan.org/pub/videolan/testing/vlc-1.1.0-pre4/win32/vlc-1.1.0-pre4-win32.7z to see if it is just MPC-HC having the problem.
VLC plays standard def just fine so its just MPC-HC. :(
xiulet
15th May 2010, 00:10
hi , all!
i get you an anime video(30 MB) that is not working well with ati dxva:
Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv (http://public.bay.livefilestore.com/y1pMZgLS_4CUj07kUeTo7Leh3hJSNkjOx6AVxoDV9QT7MDG1qrmWqWRBcYVPQhdPCfO_n5Pt7U02f0-gK5vRMbhbA/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv?download&psid=1)
I hope that it should be useful for developers.
thank you, adéu.
XhmikosR
15th May 2010, 01:45
Just installed Windows 7 x64 and Media Player Classic Home Cinema svn 1883:
http://xvidvideo.ru/media-player-classic-home-cinema-x86-x64/
Nothing else, just a clean install.
When I play any standard def video it drops frames for the first 5 seconds or so and when seeking.
HD videos have no such issue since they are playing using DXVA.
Full system: http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=14684286
Update: MPC-HC 32bit build has same issue. Tried with default settings in MPC and changing between outputs and same dropping of frames with all outputs.
OK downloaded http://download.videolan.org/pub/videolan/testing/vlc-1.1.0-pre4/win32/vlc-1.1.0-pre4-win32.7z to see if it is just MPC-HC having the problem.
VLC plays standard def just fine so its just MPC-HC. :(
If you use Nvidia drivers newer than 196.21, then that's your problem. Fill in a report in the Nvidia site (http://www.nvidia.com/object/driverqualityassurance.html).
Virtual_ManPL
15th May 2010, 12:33
Shouldnt default option "Position subtitles relative to the video frame" be fully ticked like this ?
http://img42.imageshack.us/img42/4293/configc.jpg (http://img42.imageshack.us/i/configc.jpg/)
cause in 99% like not 100% of anime subtitles are wrong positioned
same like in the movies when this option is only partially set
like its now = partial
http://img517.imageshack.us/img517/1449/badf.th.jpg (http://img517.imageshack.us/i/badf.jpg/)
like should be = fully
http://img52.imageshack.us/img52/5696/goodaz.th.jpg (http://img52.imageshack.us/i/goodaz.jpg/)
For inquiries concerning Blu-ray movie Sherlock Holmes, by opening the file index.bdmv the film begins with but a key chapter relating to special content.
http://img217.imageshack.us/img217/9835/senzatitulo1.png (http://img217.imageshack.us/i/senzatitulo1.png/)
Keiyakusha
15th May 2010, 16:59
Shouldnt default option "Position subtitles relative to the video frame" be fully ticked like this ?
I agree with this. So far didn't saw any cases when "middle state" of this checkbox actually useful.
Also as I already posted some time ago, IMHO this option should be moved from "default style" page to "subtitles", somewhere near "override placement" option. Because default style means style, defined equivalently to the styles in ass specs, and this checkbox in not fully checked states actually overrides positioning, overrides styles.
naoan
15th May 2010, 17:09
I didn't even know that MPC-HC has that option since I just assumed that default styles only affect non-styled sub like ass XD.
If you select "Minimal" preset under the View menu then open a audio file the player disappears!
liquidskin76
15th May 2010, 23:35
Hi,
I haven't had chance to switch back to my Core i3/Intel HD Graphics lately.
I was curious what the state of play was regarding mpcvideodec/dxva/intel hd graphics? Last i heard was...
http://85.230.118.163/showthread.php?t=154082&highlight=intel+graphics
Thanks
namaiki
16th May 2010, 10:59
Hi,
I haven't had chance to switch back to my Core i3/Intel HD Graphics lately.
I was curious what the state of play was regarding mpcvideodec/dxva/intel hd graphics? Last i heard was...
http://85.230.118.163/showthread.php?t=154082&highlight=intel+graphics
Thanks
Possibly the same. I experienced the same behaviour on my previous gen Intel Integrated graphics last time I checked (4500MHD).
Depends on the encoding settings. I'm not sure which one.
jasonwc
16th May 2010, 19:38
Ever since installing ATI's 10.4 Catalyst driver for my ATI 5850 video card, I have noticed that video is a lighter shade than with software decoding. I thought this was due to the use of the wrong color space, but that seems to be fine. It seems every driver revision brings a new problem with DXVA. First, it had corruption, then incorrect black levels, and now this.
See below - the first shot was taken with a recent build of ffdshow and the latter with a recent svn build of MPC-HC (1883). I see the same behavior with Microsoft's DXVA decoder built into Windows 7, as well as the ffdshow DXVA decoder. So, I imagine it's a problem with the ATI driver rather than the implementation. Anyone else having this issue?
At least L5.1 is supported now. Everything seems to decode perfectly - just too light.
http://img91.imageshack.us/img91/4433/ffdshow.jpg (http://img91.imageshack.us/i/ffdshow.jpg/)
http://img695.imageshack.us/img695/7506/dxvai.jpg (http://img695.imageshack.us/i/dxvai.jpg/)
edigee
16th May 2010, 20:02
Try:
Shaders/16-235 -> 0-255[SD][HD]
jasonwc
16th May 2010, 21:01
Try:
Shaders/16-235 -> 0-255[SD][HD]
It makes it darker but still not close to source. Too bright.
Darth Viorel
16th May 2010, 21:05
Perhaps "Brighter Whites" is enabled.
clsid
16th May 2010, 21:07
Or "Dynamic contrast"
sneaker_ger
17th May 2010, 01:37
I agree with this. So far didn't saw any cases when "middle state" of this checkbox actually useful.
"Gray" mark is exactly the same as no mark in the default style, because gray means "use the same setting as default style". It's only useful for the non-default styles.
But I agree: better set the standard to enabled.
jasonwc
17th May 2010, 04:11
Perhaps "Brighter Whites" is enabled.
I was able to replicate the issue with ffdshow. If I force ffdshow to use the "NV12" colorspace, it does the same thing. ffdshow by default uses YUY2. RGB32 also looks fine. Only NV12 causes the brightness.
Edit: I guess the "Dynamic Contrast" setting only applies when NV12 is used. The update must have changed that setting because I know it was disabled before. Disabling dynamic contrast fixed the issue. Working L5.1 hardware decoding is quite nice. Thank you clsid.
rahzel
17th May 2010, 11:22
edit: Solved. checked the option to disable Aero View when playing a movie and I haven't had a random black screen after playing 10 minutes of Avatar (before it happened after 2-5 minutes).
I have a good feeling this isn't MPC HC related, but hopefully somehow has been able to fix the problem I've been having.
I have a Radeon HD 5450 running Win7 32-bit. Whenever I try to use DXVA, every few minutes I get a black screen for a second or two then a popup message saying "Device Driver AMD has stopped responding". Nothing is overclocked and I've tried the latest drivers (ensuring a clean sweep of the previous drivers) as well as the drivers straight from the brand of video card (Gigabyte). If I use CoreAVC (or not DXVA), I have no problems.
Apparently, several ATI owners are experiencing the same thing, and most of them seem to be using Win7 or Vista. I've googled this extensively, but I have yet to find someone find a solution.
There is one thing I haven't tried that someone said fixed it for them, and that is to uninstall ATI CCC. I'd rather not do that though as I use it to disable overscan.
jasonwc
17th May 2010, 14:18
edit: Solved. checked the option to disable Aero View when playing a movie and I haven't had a random black screen after playing 10 minutes of Avatar (before it happened after 2-5 minutes).
I have a good feeling this isn't MPC HC related, but hopefully somehow has been able to fix the problem I've been having.
I have a Radeon HD 5450 running Win7 32-bit. Whenever I try to use DXVA, every few minutes I get a black screen for a second or two then a popup message saying "Device Driver AMD has stopped responding". Nothing is overclocked and I've tried the latest drivers (ensuring a clean sweep of the previous drivers) as well as the drivers straight from the brand of video card (Gigabyte). If I use CoreAVC (or not DXVA), I have no problems.
Apparently, several ATI owners are experiencing the same thing, and most of them seem to be using Win7 or Vista. I've googled this extensively, but I have yet to find someone find a solution.
There is one thing I haven't tried that someone said fixed it for them, and that is to uninstall ATI CCC. I'd rather not do that though as I use it to disable overscan.
I had the same problem with the previous drivers but it seems to have disappeared with the 10.4 driver release. I am also using a Gigabyte motherboard and an ATI 5800 card (5850). Apparently there are known incompatibilities between my mobo and the earlier ATI driver(s).
zzhou
17th May 2010, 17:23
new to the forum. hope my post not hijacking the thread. as I didn't find any relevant info elsewhere, I'd appreciate much if anyone knows about it.
I have a problem of playing multiple h.264 videos with dxva in mpc-hc. the playback is fine with up to 2 videos. it starts to slow down quite proportionally as I launch more mpc-hc instances to play more videos simultaneously. but that doesn't seem to be the case for some other decoder supporting CUDA. Is it a known limitation of DXVA? or limitation of DXVA support in the current MPC video decoder?
mpc-hc: 1.3.0
OS: win 2008 server
GPU: GT200
driver: forceware 197.13
jasonwc
17th May 2010, 18:37
new to the forum. hope my post not hijacking the thread. as I didn't find any relevant info elsewhere, I'd appreciate much if anyone knows about it.
I have a problem of playing multiple h.264 videos with dxva in mpc-hc. the playback is fine with up to 2 videos. it starts to slow down quite proportionally as I launch more mpc-hc instances to play more videos simultaneously. but that doesn't seem to be the case for some other decoder supporting CUDA. Is it a known limitation of DXVA? or limitation of DXVA support in the current MPC video decoder?
mpc-hc: 1.3.0
OS: win 2008 server
GPU: GT200
driver: forceware 197.13
I know that ATI's implementation of DXVA only supports two concurrent streams. Your Nvidia card simply may be limited to 2 real-time decoding threads.
For something like this you're better off with a software decoder, I can decode 5 HD H.264 streams on my Core i7 before my hard drives choke. Processing power is no longer an issue with modern CPUs.
rahzel
17th May 2010, 18:50
I had the same problem with the previous drivers but it seems to have disappeared with the 10.4 driver release. I am also using a Gigabyte motherboard and an ATI 5800 card (5850). Apparently there are known incompatibilities between my mobo and the earlier ATI driver(s).
I had the same issue with 10.4.
Oh well. I don't mind disabling aero view for movies anyway.
jasonwc
17th May 2010, 19:04
May I ask why you're using DXVA rather than software decoding if you're having so many troubles? My experience with ATI's DXVA implementation is that it's just not worth the troubles (at least until this version). In contrast, I found Nvidia's DXVA and CUDA implementations almost perfect.
rahzel
17th May 2010, 19:28
^ Are you talking to me?
If so, just for the lower power usage. Even with CoreAVC, my CPU can go up to 80% usage with high bitrate/action 1080p movies. With DXVA, it only uses 13-19% and my GPU hardly uses any power.
Anyway, considering I have to disable Aero View for DXVA to work without a driver crash, could my video card be faulty, or is this strictly a driver issue? I still have warranty through the store (after that, it goes through Gigabyte) so I could RMA it, but it would still be a hassle (I hate sending stuff back).
edigee
17th May 2010, 19:28
May I ask why you're using DXVA rather than software decoding if you're having so many troubles? My experience with ATI's DXVA implementation is that it's just not worth the troubles (at least until this version). In contrast, I found Nvidia's DXVA and CUDA implementations almost perfect.
I'm using an old HD3650 AGP for one of my HTPC-s(Vista based) and my issues regarding DXVA and MPC-HC are minimal. I mean, despite the L@5.1 profile limitation(for my UVD+ card) no such problems as users above posted were EVER present on my configuration. Because of my week E1400 Intel , DXVA is more than necessarily on my system.
On the other hand ,many HD5xxx cards owners are complaining of a lot of problems regarding DXVA. I assume the HD5xxx series cards are not so "DXVA friendly".
jasonwc
17th May 2010, 19:48
I'm using an old HD3650 AGP for one of my HTPC-s(Vista based) and my issues regarding DXVA and MPC-HC are minimal. I mean, despite the L@5.1 profile limitation(for my UVD+ card) no such problems as users above posted were EVER present on my configuration. Because of my week E1400 Intel , DXVA is more than necessarily on my system.
On the other hand ,many HD5xxx cards owners are complaining of a lot of problems regarding DXVA. I assume the HD5xxx series cards are not so "DXVA friendly".
The 10.4 update fixed my problems, thankfully. I can now playback every encode I have on my system (I tested with a 1080p encode that used 16 reference frames). The prior problems I had were incompatibility issues with my Gigabyte P55-UD3R motherboard, according to ATI.
For a laptop, or an older system, I definitely can see the appeal of DXVA. But on a quad-core system, ffdshow can do a great deal more. For example, its lanczos upscaler provides image quality far better than that of bicubic in most situations. You can even do realtime spline resizing with a fast enough processor.
Ironically, my laptop could actually use DXVA but it has an Intel 4500MHD, and there is a driver bug that causes random video corruption at 15-30 minute intervals. :(
jasonwc
17th May 2010, 19:49
^ Are you talking to me?
If so, just for the lower power usage. Even with CoreAVC, my CPU can go up to 80% usage with high bitrate/action 1080p movies. With DXVA, it only uses 13-19% and my GPU hardly uses any power.
Anyway, considering I have to disable Aero View for DXVA to work without a driver crash, could my video card be faulty, or is this strictly a driver issue? I still have warranty through the store (after that, it goes through Gigabyte) so I could RMA it, but it would still be a hassle (I hate sending stuff back).
Does the screen go black and then give you a warning about a driver failure? (in Win 7). If so, it's not a hardware problem. I had the same issues and it was fixed by a driver update.
stasi
17th May 2010, 21:08
I have installed MPC-HC 1881 32bit on an Windows 7 64bit machine with NVidia 210 Graphics Card with the latest driver. I also use a Shuttle PN31 Remote Control. When I press the Fullscreen button on Remote Control, it just "fits to screen", but the resolution is not changed. But when I doubleklick, or press alt+Enter on keyboard, the resolution is changed as I set in the options. Before I used MPC-HC 1249 32bit, and I never had this bug before. Anyone else with the same problem?
Barlow
17th May 2010, 21:36
Did you check the mapped keys (in the MPC-HC settings)? Keys for fullscreen with and without resolution change can be set separately.
jasonwc
17th May 2010, 22:16
What is the difference between EVR CP and EVR Sync? The latter seems to be identical other than the required use of Fullscreen D3D mode (Alternate Sync) and Frame Time Correction. Is that all? Also, what exactly does Frame Time Correction do? I believe D3D mode is designed to prevent tearing, but I haven't seen anything about FTC.
With DXVA, it only uses 13-19% and my GPU hardly uses any power.
Use GPU-Z to monitor the "Video Engine Load". A 1080p h.264 video regardless of bit rate uses about 40% of my 9800GTX HW video decoder. Only the video renderer (like EVR) uses the GPU itself to render the video. The GPU core isn't doing anything but the video decoder sure is regardless of GPU speeds!
Probably the increased Video Engine Load will not heavily increase power usage if at all!
http://kado.heliohost.org/kado/1080p_dec.png
Snowknight26
17th May 2010, 23:33
I doubt that's available on his 5450.
rahzel
17th May 2010, 23:43
To be fair, 1080p movies only use around 50% of my CPU with CoreAVC. It's only high bitrate/action scenes where it sometimes spikes to 65-80%.
ATI Overdrive in CCC shows the GPU usage, labelled "GPU Activity" (that's what I was using as a reference). Or is that something different?
alexins
17th May 2010, 23:49
Media Player Classic HomeCinema (x86/x64), svn 1896 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-svn-1896.html)
Supported languages: BR, BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SE, SK, TR, UA
Changes log (http://www.xvidvideo.ru/logi-izmeneniy/log-izmeneniy-media-player-classic-homecinema.html)
Changes (1884-1896):
Added new command that switch video frame mode (key 'P');
Added new video frame options like in TV: Zoom 1 and Zoom 2;
"Touch Window From Inside" fixed;
Added auto saving position every 30 seconds;
Some minor format changes;
Some warnings fixed (uninitialized local variable, unused local variable, comparison signed/unsigned type, assignment in if);
SyncClock moved to renderer/misc/SyncClock;
Internal audio switcher ticket #477 fixed;
Added Hdmv subtitle stream name;
Disabled Hdmv subtitle size optimization (dosn't work correct with large subtitles);
Previous commit SyncClock path fix;
Probably fixed ticket #474;
Some L4 warnings fixed in VideoRenderers library;
Update Traditional Chinese translation;
Moved SyncClock to renderer\SyncClock dir;
Cleaned up the solution file;
updated resource files;
Added DirectX SDK Include and Library dirs so there's no need to specify them manually;
Updated Belarusian translation;
EDL update.
@rahzel
That's probably something different. GPU-Z reports GPU usage (2d/3d rendering unit) and Video Engine Load (it's the embedded video decoder) separately. Try GPU-Z (http://www.techpowerup.com/downloads/1788/TechPowerUp_GPU-Z_v0.4.2.html) and see what it reports.
Snowknight26
18th May 2010, 00:41
Doing anything that triggers the OSD results in a black screen for the duration of the OSD.
Whoever commits these changes doesn't seem to test them at all. :|
KindDragon
18th May 2010, 01:08
Doing anythign that triggers the OSD results in a black screen for the duration of the OSD.
Whoever commits these changes doesn't seem to test them at all. :|
I think it's problem not with OSD, but with HDMV subtitles. Before that revision subtitles bigger than 1024x768 was disabled, now they should work. But some problem with subtitles parser exist.
rahzel
18th May 2010, 01:46
@rahzel
That's probably something different. GPU-Z reports GPU usage (2d/3d rendering unit) and Video Engine Load (it's the embedded video decoder) separately. Try GPU-Z (http://www.techpowerup.com/downloads/1788/TechPowerUp_GPU-Z_v0.4.2.html) and see what it reports.
Ok, I'll give it a try later tonight.
Snowknight26
18th May 2010, 02:17
I think it's problem not with OSD, but with HDMV subtitles. Before that revision subtitles bigger than 1024x768 was disabled, now they should work. But some problem with subtitles parser exist.
Not entirely sure how that relates to the problem I mentioned.
rahzel
18th May 2010, 02:29
@rahzel
That's probably something different. GPU-Z reports GPU usage (2d/3d rendering unit) and Video Engine Load (it's the embedded video decoder) separately. Try GPU-Z (http://www.techpowerup.com/downloads/1788/TechPowerUp_GPU-Z_v0.4.2.html) and see what it reports.
The only thing I see is GPU Load, and that number seems to be the same one that is in ATI Overdrive. I don't see any Video Engine Load or Memory load etc. Whatever it is, it usually stays at 0%, sometimes jumping up anywhere between 10-20%.
Any wild guesses as to how much my video card is being used with DXVA? Would the power consumption of my HTPC be less with DXVA or with CoreAVC? I have a low powered CPU (5050E is 45W/65m). Again, CPU usage with CoreAVC is usually 50%, some times spiking to 60-80%.
KindDragon
18th May 2010, 02:48
Not entirely sure how that relates to the problem I mentioned.
Sometimes such subtitles are displayed as black rectangle, sometimes on whole screen.
Snowknight26
18th May 2010, 03:06
That's not the issue here. Issue is with the OSD.
KindDragon
18th May 2010, 03:42
That's not the issue here. Issue is with the OSD.
Than, I can't reproduce it.
nightfly
18th May 2010, 04:52
I am running build 1893. Is it possible to re-position internal subtitles?
I am able to reposition external file based subs using the "default style" over-ride.
But no matter what setting (default style, override placement) I cannot affect the positioning of the forced subs say, with the movie 2012 which places the subs below the picture in the black bar area.
Any tips appreciated.
Snowknight26
18th May 2010, 04:57
Than, I can't reproduce it.
Only happens with the 64-bit build.
LegendaryPOO
18th May 2010, 14:17
I thought I would post my issue in the MPC area, when I thought it may have been a Haali issue.
Running new MPC-HC 1896, and when checking on Haali the OSD, it shows images of 1920x1080, being scaled back to less than half.
http://img510.imageshack.us/i/ghostpc.jpg/
This image should show what im talking about. I have done checks on my laptop which show a 1080p video is scaled to the laptops resolution.
By the way, this is being played on a 1080p television through HDMI, 8500gt on Core 2 Duo.
Any ideas people?
nightfly
18th May 2010, 17:14
I thought I would post my issue in the MPC area, when I thought it may have been a Haali issue.
Running new MPC-HC 1896, and when checking on Haali the OSD, it shows images of 1920x1080, being scaled back to less than half.
...
Any ideas people?
It's a Haali "issue", but it isn't accurate. You can safely disregard that value as you are getting the full 1080 resolution. Halli isn't in fact scaling it back. This has been discussed to death over on the Avsforum.
namaiki
18th May 2010, 17:20
What exactly is it an issue of? My thing in Haali's Renderer displays both as 1920x1080.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.