View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
tetsuo55
31st August 2010, 20:40
How do I completely delete MPC-HC? (preferences, registry, filters... complete uninstallation)Did you use the installer? then you can uninstall afaik.
Snowknight26
31st August 2010, 21:01
http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/trunk/src/apps/mplayerc/Changelog.txt?annotate=2424#l149
Someone should change distal to digital.
Polcius
31st August 2010, 21:29
Did you use the installer? then you can uninstall afaik.
No, standalone version.
tetsuo55
31st August 2010, 21:33
then there is a gabest registry key and possibly a folder in your documents and settings folder called mpc-hc.
If you installed any external filters you will have to uninstall those with the same cmd key you used to install them
Maybe a full clean install like this will make the high cpu usage go away...
Polcius
31st August 2010, 21:41
then there is a gabest registry key and possibly a folder in your documents and settings folder called mpc-hc.
If you installed any external filters you will have to uninstall those with the same cmd key you used to install them
Maybe a full clean install like this will make the high cpu usage go away...
Yeah, that's why I'm asking. Thanks.
Polcius
31st August 2010, 21:59
What's the difference between MSVC 2008 and 2010?
Wich one should I use? Why? Running W7 32bit.
tetsuo55
31st August 2010, 22:12
2010 build is a bit faster but requires an sse2 cpu
Polcius
31st August 2010, 22:14
Uninstalled an reinstalled...
Same CPU usage behavior as before... WTF
tetsuo55
31st August 2010, 22:18
what hardware and drivers do you have?
Polcius
31st August 2010, 22:23
Here are my 2 posts detailing the problem:
I noticed a huge CPU usage in non-DXVA files, like simple SD .avis.
Before it was in the 15-25% range and now its 45-50%.
As far as I know the problem just happens to .avi, DVD-Files work nice (.vobs,etc...)
Using the latest rev., Win7 32bit, Catalyst HD4350 with latest 10.8 drivers.
I don't know in wich rev. the CPU usage increased. It's not caused by Catalyst drivers because VLC works fine in the 15-25% range in wich MPC-HC used to.
EDIT: Happens in some DXVA files (.mkvs) too. In a nutshell, I see a 25% CPU usage increase since older versions.
CPU Usage Increase Problem persists...
But I noticed something strange...
If I load Windows' ressource monitor to check CPU usage BEFORE I open MPC-HC, CPU usage stays at normal levels (15-20%).
But, If I open MPC-HC and THEN check for CPU usage, it shows 50% usage.
Weird...
Steveo08
31st August 2010, 22:35
For LPCM Streaming of HD formats, you need a decoder for those. TrueHD is supported by ffmpeg, so that will work. DTS-HD is however not, so you'll need to install a decoder that can do that. They are not free however, and usually only come in a package with big playback software, like PowerDVD or TotalMediaTheatre
ok, thanks for info!
tetsuo55
31st August 2010, 22:39
Polcius, your posts only state your videocard, however your computer has more hardware and drivers, like cpu, ram., etc..
Also could try to pinpoint the revision that causes the increase in cpu usage? please try the builds from this site http://xhmikosr.1f0.de/index.php?folder=bXBjLWhjX21zdmMyMDA4L29sZC94ODY=
Polcius
31st August 2010, 22:45
Polcius, your posts only state your videocard, however your computer has more hardware and drivers, like cpu, ram., etc..
Also could try to pinpoint the revision that causes the increase in cpu usage? please try the builds from this site http://xhmikosr.1f0.de/index.php?folder=bXBjLWhjX21zdmMyMDA4L29sZC94ODY=
Ok, I will do the testing tomorrow.
Tom Keller
1st September 2010, 05:19
I've got a strange problem with MPC-HC SVN 2397 and above:
Every time i use ffdshow with activated internal avisynth support (no matter if there's a script or not), MPC-HC crashes with:
http://www.imagebanana.com/img/r8p7g0an/mpchc.png
After deactivating ffdshows internal avisynth support everything works fine. I know: some may assume, it might be an avisynth or ffdshow issue. But with MPC-HC SVN 2371 and prior versions there's no such problem :confused: . So it seems like a player related problem!
Snowknight26
1st September 2010, 06:48
If only someone compiled a debug build. ;)
tetsuo55
1st September 2010, 08:27
might be this: https://sourceforge.net/apps/trac/mpc-hc/changeset/2374
soulkeeper
1st September 2010, 08:29
just installed mpc-hc 2420 msvc2010 from here
http://xhmikosr.1f0.de/index.php
(both x86 and x64)..got a message to install latest june directx sdk and i did...
both versions crash at opening..
previous versions installed works fine..(2099 x64 and 2225x86)
windows 7 64 ,ati 5670 with 10.7, intel Q9400...
edit:
@tetsuo55
thanks!
I'll try that..
tetsuo55
1st September 2010, 08:34
try deleting your settings, see here https://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines
Steveo08
1st September 2010, 09:22
is future planned that color managment also works with evr-sync?
or is this option still enabled if i have selected evr-sync?
because it's grayed if i want wo enable it.
someone know an answer to my question? :)
XhmikosR
1st September 2010, 09:26
I've got a strange problem with MPC-HC SVN 2397 and above:
Every time i use ffdshow with activated internal avisynth support (no matter if there's a script or not), MPC-HC crashes with:
http://www.imagebanana.com/img/r8p7g0an/mpchc.png
After deactivating ffdshows internal avisynth support everything works fine. I know: some may assume, it might be an avisynth or ffdshow issue. But with MPC-HC SVN 2371 and prior versions there's no such problem :confused: . So it seems like a player related problem!
I cannot reproduce it using the latest ffdshow and the latest mpc-hc. BTW, why does it say: C:\Programme\Windows Media Player in the path?
If only someone compiled a debug build. ;)
Yeah, you can start doing that.
just installed mpc-hc 2420 msvc2010 from here
http://xhmikosr.1f0.de/index.php
(both x86 and x64)..got a message to install latest june directx sdk and i did...
both versions crash at opening..
previous versions installed works fine..(2099 x64 and 2225x86)
windows 7 64 ,ati 5670 with 10.7, intel Q9400...
edit:
@tetsuo55
thanks!
I'll try that..
More info is needed. Crash on startup doesn't say anything.
someone know an answer to my question? :)
EVR Sync is pretty much dead IMO. Only if someone volunteers. For the time being EVR CP has only this feature.
Keiyakusha
1st September 2010, 09:48
I've got a strange problem with MPC-HC SVN 2397 and above:
Every time i use ffdshow with activated internal avisynth support (no matter if there's a script or not), MPC-HC crashes with:
http://www.imagebanana.com/img/r8p7g0an/mpchc.png
After deactivating ffdshows internal avisynth support everything works fine. I know: some may assume, it might be an avisynth or ffdshow issue. But with MPC-HC SVN 2371 and prior versions there's no such problem :confused: . So it seems like a player related problem!
Also MPC-HC's executable is called mpc-hc.exe, not mpleyerc.exe
Steveo08
1st September 2010, 10:20
@XhmikosR
ok, so i will hope it comes in future.
NikosD
1st September 2010, 11:15
I have a Win 7 x64 - Radeon 5750 - Catalyst 10.8 system and when I try to play H.264 UHD clips (4096 x 2304) in DXVA, MPC-HC crashes.
Codecs tried are:
MPC Video Decoder
FFDShow DXVA
Sample here:
http://rapidshare.com/files/414985529/YouTube_-_Troya_HD_Test_4_4096_x_2304_23.97_fps.mp4.html
Have you tried to play such clips in UVD2.2 ?
Thank you
namaiki
1st September 2010, 12:34
NikosD, what is the behaviour of the Microsoft DTV-DVD Video Decoder in the same situation as above? It is capable of DXVA, but no idea at that resolution.
NikosD
1st September 2010, 12:44
NikosD, what is the behaviour of the Microsoft DTV-DVD Video Decoder in the same situation as above? It is capable of DXVA, but no idea at that resolution.
Black screen and audio decoding only
namaiki
1st September 2010, 12:48
Which build of MPC-HC are you using? Also, 64-bit or 32-bit MPC-HC?
NikosD
1st September 2010, 13:47
Which build of MPC-HC are you using? Also, 64-bit or 32-bit MPC-HC?
MPC-HC v1.3.2354 x86
PetitDragon
1st September 2010, 16:16
I've got a strange problem with MPC-HC SVN 2397 and above:
Every time i use ffdshow with activated internal avisynth support (no matter if there's a script or not), MPC-HC crashes with:
http://www.imagebanana.com/img/r8p7g0an/mpchc.png
After deactivating ffdshows internal avisynth support everything works fine. I know: some may assume, it might be an avisynth or ffdshow issue. But with MPC-HC SVN 2371 and prior versions there's no such problem :confused: . So it seems like a player related problem!
YES, I confirm this too. I always have the following error:
-----------------
Problem signature:
Problem Event Name: APPCRASH
Application Name: mpc-hc.exe
Application Version: 1.3.2420.0
Application Timestamp: 4c7d179f
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdbdf
Exception Code: e06d7363
Exception Offset: 0000b727
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1028
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
-------------------
There is no such problem before revision 2372. I tested it with latest mpc-hc and ffdshow.
People using mpc-hc+ffdshow+avisynth now stuck with revision 2372.
XhmikosR
1st September 2010, 17:20
@PetitDragon: Try this (http://dl.dropbox.com/u/3607425/mpc-hc.exe.7z) build and report back. I still cannot reproduce this problem.
ranpha
1st September 2010, 17:58
@PetitDragon: Try this (http://dl.dropbox.com/u/3607425/mpc-hc.exe.7z) build and report back. I still cannot reproduce this problem.
The KERNELBASE.dll problem (which I also has) disappear with that build.
XhmikosR
1st September 2010, 18:13
Then it's r2374 to blame. Someone has to take a better look so just don't use any newer builds until it's fixed.
tetsuo55
1st September 2010, 18:22
So ffdshow and or avisynth depend on the exploit to work, they need to fixed then.
PetitDragon
1st September 2010, 18:23
@PetitDragon: Try this (http://dl.dropbox.com/u/3607425/mpc-hc.exe.7z) build and report back. I still cannot reproduce this problem.
Thank you XhmikosR. Problem solved with the build (2436) you provided in the link above.
The latest revision (also 2436) in your web page still has the problem.
tetsuo55
1st September 2010, 18:38
Petit, the builds on the site don't have the security disabled like the test build, thats why they obviously still crash.
I'm fairly sure the problem is that avisynth tries to load dll's from the working dir, this is no longer allowed due to the exploit and causes a crash.
Avisynth will have to be adjusted so it's not exposed to this security leak anymore.
(or maybe ffdshow is trying to load something from working dir when avisynth is used, in any case, it has to be fixed on their side)
Tom Keller
1st September 2010, 18:39
The KERNELBASE.dll problem (which I also has) disappear with that build.
Yep... working fine for me too.
I'm fairly sure the problem is that avisynth tries to load dll's from the working dir, this is no longer allowed due to the exploit and causes a crash.
You're right. Renaming the avisynth plugin folder (so avisynth can't load any plugin) prevents the MPC-HC from crashing.
why does it say: C:\Programme\Windows Media Player in the path?
It's a bad habit from the past: i used to use the MPC as a replacement for the classic WMP6 - so the MPC(-HC) was always in my WMP folder. Just a habit... and to make the WMP jealous :rolleyes: .
Also MPC-HC's executable is called mpc-hc.exe, not mpleyerc.exe
I have to rename the exe, cause i used Girder to control the MPC via remote. But since changing the file name of the MPC-HC i had two options: creating a new Girder profile pointing to the new file, or renaming the exe to "it's old" name. I was simply too lazy to do the first one :o .
PetitDragon
1st September 2010, 18:59
@tetsuo55
Thanks for the details, and hope the sides of ffdshow and avisynth will get fixed soon.
NikosD
2nd September 2010, 14:29
A new problem with DXVA on ATI cards.
Maybe Nvidia, too. I don't have one to check it out.
An H.264 clip L4.1 - 1080p30fps, when I try to play it in DXVA mode I get artifacts by every player I tried.
What is so special with this clip?
Sample here:
http://rapidshare.com/files/416586142/1.Twinpeaks1080p30fpsRef2-27Mbps.mov.html
v0lt
2nd September 2010, 16:37
Revision 2340
Added MediaInfoLib (v0.7.34) (there's no need for MediaInfo.dll anymore)
Why stuck DLL in an executable file? mpc-hc.exe is an already very large.
XhmikosR
2nd September 2010, 16:56
I didn't stuck the dll, ffs. MediaInfoLib is statically linked. You can either build mpc-hc without MediaInfoLib (find it how in the source code) or upx the executable; it's an open source project after all. Everyone who distributes mpc-hc inlcuded the MediaInfo.dll already. Also I have a little change which will cut down 0.4MB so it will be almost like before adding MediaInfoLib (since we have already saved 0.5MB).
soulkeeper
2nd September 2010, 19:25
just installed mpc-hc 2420 msvc2010 from here
http://xhmikosr.1f0.de/index.php
(both x86 and x64)..got a message to install latest june directx sdk and i did...
both versions crash at opening..
previous versions installed works fine..(2099 x64 and 2225x86)
windows 7 64 ,ati 5670 with 10.7, intel Q9400...
edit:
@tetsuo55
thanks!
I'll try that..
@XhmikosR
this is what i get from the "view details" of windows when the app. (msvc2010 2420 both x86 and x64)crashes..
"
Problem Event Name: APPCRASH
Application Name: mpc-hc.exe
Application Version: 1.3.2420.0
Application Timestamp: 4c7d179f
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdbdf
Exception Code: e06d7363
Exception Offset: 0000b727
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1032
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789"
Any help?
tetsuo55
2nd September 2010, 20:06
Google says you are running a debugger on mpc-hc http://www.codeguru.com/forum/archive/index.php/t-333591.html
You did install the msvc2010 redist??
MPC-HTPC
2nd September 2010, 20:08
Hi soulkeeper,
since the error message Windows is giving equals the one I qouted below from PetitDragon, your problem is probably caused by AviSynth (definetly not MPC-HC). If you would rename the AviSynth Plugin folder like Tom Keller (http://forum.doom9.org/showpost.php?p=1430937&postcount=14417) did, you should not get the error anymore. The problem you experience is based on an DLL-Vulnerability which was fixed with Rev2374:
"Remove the current working directory from the DLL search path in order to avoid the DLL preloading vulnerability (Ticket #694)"
YES, I confirm this too. I always have the following error:
-----------------
Problem signature:
Problem Event Name: APPCRASH
Application Name: mpc-hc.exe
Application Version: 1.3.2420.0
Application Timestamp: 4c7d179f
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdbdf
Exception Code: e06d7363
Exception Offset: 0000b727
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1028
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
-------------------
There is no such problem before revision 2372. I tested it with latest mpc-hc and ffdshow.
People using mpc-hc+ffdshow+avisynth now stuck with revision 2372.
soulkeeper
2nd September 2010, 20:23
@tetsuo55
yes it's installed
@MPC-HTPC
you're right! it seems avisynth problem..
tried 2436 (posted by @xhmikosr in #14415) and everything is fine...
so i'll stick with that revision...
is there also a x64 revision of mpc-hc msvc2010 so i can use now with avisynth?
edit: ok..the last working is 2372...
XhmikosR
2nd September 2010, 20:24
@XhmikosR
this is what i get from the "view details" of windows when the app. (msvc2010 2420 both x86 and x64)crashes..
"
Problem Event Name: APPCRASH
Application Name: mpc-hc.exe
Application Version: 1.3.2420.0
Application Timestamp: 4c7d179f
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdbdf
Exception Code: e06d7363
Exception Offset: 0000b727
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1032
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789"
Any help?
See the previous posts. And you don't need the msvc2010 runtime.
@tetsuo55
yes it's installed
@MPC-HTPC
you're right! it seems avisynth problem..
tried 2436 (posted by @xhmikosr in #14415) and everything is fine...
so i'll stick with that revision...
is there also a x64 revision of mpc-hc msvc2010 so i can use now with avisynth?
edit: ok..the last working is 2372...
No. Ask the software developers to fix it on their side.
MPC-HTPC
2nd September 2010, 20:27
You can find all the old MSVC 2010 on XhmikosR FTP-Space. I give you the direct link to the old MSVC 2010 builds were you can also find Rev2372:
http://xhmikosr.1f0.de/index.php?folder=bXBjLWhjX21zdmMyMDEwL29sZC94NjQ=
or the direct link to it:
http://xhmikosr.1f0.de/mpc-hc_msvc2010/old/x64/MPC-HomeCinema.1.3.2372.0.x64.MSVC2010.exe
Tom Keller
2nd September 2010, 23:20
OK... i took a closer look into the avisynth depending crash problem. Seems like (for me!) the problem was simply related to the old restore24.avsi script, which was in my avisynth plugin folder. Seems like it has some LoadPlugin lines in the beginning (which were trying to load some plugins after the avsi is auto-loaded by avisynth) - and this caused the MPC-HC crash. Removing the avsi (or those lines in the beginning of the avsi) prevents the MPC-HC from crashing. So i suggest (for everyone with the same problem) to take a look into the avisynth plugin folder and it's avsi scripts...
rpm7200
3rd September 2010, 14:22
Please delete the output range setting. because color management is doing the same job. sorry my bad english.
MPC-HTPC
3rd September 2010, 14:35
In my understanding color space (what is "Output Range" in MPC-HC) and color management are two totally different things, that also serve a different purpose. Please somebody correct me if I am wrong!
Anyhow, for further information please refer to the respective Wikipedia-Articles:
Color space (http://en.wikipedia.org/wiki/Color_space)
Color Management (http://en.wikipedia.org/wiki/Color_management)
tetsuo55
3rd September 2010, 14:46
Some poeple have reported crashing or hang problems with mpc-hc, especially when seeking and more often with files that go through the mpeg splitter.
You can help solve this problem if you are a Windows XP user.
Download and unzip this program http://drmemory.googlecode.com/files/DrMemory-Windows-1.3.0-1.zip
The binary will be in the bin directory, unzip this debug build of mpc-hc with the pdb into that bin directory http://www.mediafire.com/file/4p0jt2ltibcdi1b/mpc-hc_x86_Debug.7z
Then use the commandprompt to open mpc-hc like this drmemory.exe -- mpc-hc.exe
Try opening the problematic file and making a lot of seeks, if you get a result put it in pastebin.com and paste the link here.
(This fails on windows 7 and possibly vista due to their security models blocking drmemory from injecting its code into mpc-hc)
NikosD
3rd September 2010, 20:32
I found out a third issue with DXVA.
When I try to play the sample below an H.264 L4.2 - 1080p60fps file in DXVA mode, I can't go over 35fps.
Latest MPC-HC x86, latest FFDShow DXVA
I have the same problem to every 1080p60fps H.264 file (L4.1-L4.2-L5.1) I try.
In WMP12, I get 58-60fps
Sample here:
http://rapidshare.com/files/415777315/ken_ross_02-1920x1080_60fpsRef4.mts.html
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.