View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
Andy o
10th May 2011, 11:22
Just found something weird. I've stripped my setup to the basics. Using freshly downloaded MPC-HC with default settings, MPC codecs and mkv splitter. Only Arcsoft decoder added for DTS-HD MA. ffdshow is uninstalled. The bug keeps happening, but only happens the first time. If I avoid it by pausing or stopping before opening the next file, it works OK, and after that, I don't have to stop or pause, it just works. Anyone has any ideas?
EDIT:
hmm it seems it still keeps something open, cause it doesn't work with WASAPI exclusive via ReClock, but works seemingly fine when not using exclusive mode.
SamuriHL
10th May 2011, 12:34
I don't know what to tell you guys. The build I made rules out internal filters interfering. Very odd.
Andy o
10th May 2011, 13:00
Man this thing is really bugging me. I'll try with a third PC which I never even turn on anymore.
I have a faint memory of similar symptoms, and I think it may have been related to DirectShowSpy.dll in that case, but I don't remember any details. Maybe it prevented the filters from unloading properly, causing similar symptoms to what you guys are seeing.
pankov
10th May 2011, 22:20
Andy, Samuri,
I've narrowed my problem to 15 different values in the registry for ffdshow audio decoder.
Sadly I'm too tired after a 12 hours work day so I'll do my comparison/test tomorrow and I'll tell you which is the option that breaks it for ffdshow.
I hope this will point to the real problem in MPC-HC and let's hope someone will be able to fix it.
pankov
10th May 2011, 22:52
Well ... I couldn't spleep knowing a solution can be so close so I did it tonight.
The registry value that is causing my problems is ""addToROT"=dword:00000001". If the value is 0 everything is OK. If it's 1 I get multiple files playing at the same time which can sometimes lead to a crash.
Now can somebody tell me what this option does and why is it making MPC-HC behave so bad?
SamuriHL
10th May 2011, 23:27
I saw your ffdshow thread post. I know absolutely nothing about that setting at all.
G_M_C
10th May 2011, 23:43
Well ... I couldn't spleep knowing a solution can be so close so I did it tonight.
The registry value that is causing my problems is ""addToROT"=dword:00000001". If the value is 0 everything is OK. If it's 1 I get multiple files playing at the same time which can sometimes lead to a crash.
Now can somebody tell me what this option does and why is it making MPC-HC behave so bad?
Google lead me to this: http://msdn.microsoft.com/en-us/library/dd390650%28v=vs.85%29.aspx
As far as i understand addToROT should always be returned to 0 when a graph is terminated.
Probably the same thing:
http://msdn.microsoft.com/en-us/library/dd390650(v=vs.85).aspx
EDIT: I was too slow.
Aleksoid1978
10th May 2011, 23:53
i have encodec one file with Xmedia Recode and try to watch with MPC-HC but there is no VIDEO & AUDIO using a fresh installed MPC-HC but adding CoreAVC i'm able to watch the movie...anyone else having problem with this movie and MPC-HC
here is the sample movie : http://www23.zippyshare.com/v/51283375/file.html
here the mediainfo :
Test on this build - http://aleksoid.tosei.ru/Test/mpc-hc.exe.mov_BaseLine.7z
Andy o
11th May 2011, 02:14
That's quite a find pankov, great!
I have also solved my problem just now, but it didn't have to do with ffdshow. I didn't even have it installed, and there's no ffdshow registry keys. I was using the TMT3 decoder from its installation folder. If I only isolate the relevant files in another folder, and register the filter there, my problem is gone. Not necessary to uninstall TMT3 either, I assume it still works. Finally.
SamuriHL
11th May 2011, 02:20
That's probably why I'm not seeing the issue, Andy. I have a separate dir that I register a mix of the TMT3 ax file with the dll's from TMT5.
Andy o
11th May 2011, 02:30
Still having the other minor problem with DD+ where seeking causes channel corruption. The front left stays the same, the FR goes to C, the C goes to FR, and the rest are silent. If I don't seek, the whole sample runs OK. I'll worry more though, when an actual legitimate DD+7.1 movie is found!
BTW, the TMT3 DD+ dll is the same file as in TMT5 .186, could you check if your latest TMT5 has a newer version please?
Andy o
11th May 2011, 02:50
by the way, why use the dlls of TMT5? I know the DTS decoder is newer, but are there any documented differences?
SamuriHL
11th May 2011, 02:51
They haven't changed it in a very long time. It's only used for HD DVD as far as they're concerned, so, think about when that was last touched. :)
SamuriHL
11th May 2011, 02:51
Don't know. I'm thinking it's more bug free. :)
Andy o
11th May 2011, 03:03
So, the fact that downsampling is being done with newer decoders (TMT3 .190) doesn't depend on the dlls, but on the asaudiohd.ax?
SamuriHL
11th May 2011, 03:07
Yup. That's correct.
ikarad
11th May 2011, 15:19
@developpers: Anybody works upon sub renderer or not at this moment? Can we expect a sub renderer without bugs (because there are bugs with bluray subs) soon or not?
nevcairiel
11th May 2011, 15:23
There are no MPC-HC devs, so no-one is working on anything. The only thing thats happening occasionally are random bug fixes, but no-one is working on any major projects like that.
Personally, i would be willing on helping to work on a new sub renderer, but since i only do things when they are done right, that needs someone thats working on the renderers side of things, defining a new interface to get rendered subs onto the video frame.
Since i don't expect that to happen, i'll just do other things. =)
takenori
11th May 2011, 17:06
my display stat become blurry all of sudden.
did a clean install, reset everything to default, no dice.
http://img852.imageshack.us/img852/4060/desktop2011051123022976.jpg (http://img852.imageshack.us/i/desktop2011051123022976.jpg/)
Did reset everything on my amd graphic driver to factory state, just in case,
still no dice
any thought?
namaiki
11th May 2011, 17:11
Maybe check if your graphics driver has anti-aliasing or if ati that Morphological Anti-aliasing thing forced on.
takenori
11th May 2011, 17:19
Maybe check if your graphics driver has anti-aliasing or if ati that Morphological Anti-aliasing thing forced on.
yes, I did a factory reset on my catalyst. the morphological antialiasing turned off by default, and theres no option to disable antialiasing, just 3 option to use application setting, enhance, or override application setting.
And the blur is still there
adam777
11th May 2011, 19:18
Hello all,
Just a quick question - is there an option in MPC HC for reading a stream via pipeline?
Specifically, sending a stream from a different program to VLC's STDIN?
The other program also has an option of UDP streaming, but I could not get it to work either.
Thanks, Adam.
nightfly
11th May 2011, 23:36
Nvidia's 3d Vision player looks a lot like MPC.
link (http://www.nvidia.com/object/3d-vision-video-player-1.6.9-driver.html)
link to screen shot (http://3dvision-blog.com/nvidia-has-released-3d-vision-video-player-v1-5-2/)
Forgive me if this has been discussed before. But if not, it seems like they offer up the code/sdk for their 3D player to devs. Perhaps something MPC-HC could "plug-in" for 3D support?
Thunderbolt8
11th May 2011, 23:46
does anyone know how I can use dscaler5 ivtc mod with mph-hc (32) on win7 (64) ? I cannot add it exclude it from DEP in system settings.
@ nightfly:
Even MPC looks a lot like WMP 6.4 from times of Windows 98 still (therefore the name: "Media Player Classic"): It is just a very simple window with generic widgets around a renderer. There is no design to be robbed. ;)
i think one of them should be remove
my build: xhmikosr
MPC-HC_r3097_x64_MSVC2010
http://www.pixelz.fr/2/4/3/663d169f73375c164278f2d7c9fc1.png
Press the default button for "MPEG Media file", like it says here (http://sourceforge.net/apps/trac/mpc-hc/changeset/3088).
WonderCsabo
13th May 2011, 07:23
Hi Developers and sansnom05!
Did you manage to make any progress on ticket 1087 (http://sourceforge.net/apps/trac/mpc-hc/ticket/1087)?
8GPMPY
14th May 2011, 19:26
@8GPMPY: Desktop composition can be a bit of a strain on the GPU and memory. Also, EVR CP and VMR-9 (renderless) are not light renderers. Even on default settings, everything becomes a problem when displaying subtitles on low end GPUs. (Or even newer ones with animated subtitles.)
I'll be patching a lot of things in due time, but I don't have a perfect solution for you at the moment. Just try to relieve the strain from CPU and GPU by disabling some system items and hope for the best.
I'm getting crazy! :eek:
I had a spare Geforce 9400GT and tested it. On h.264 material it was great, but unfortunately it only has VP2 and is not able to provide DXVA on VC-1. [1]
Then I swapped it with a HD4350, which has UVD 2.2 instead of plain UVD of the HD3200 IGP [2].
But this shows the same lags as the HD3200.
Here is a MediaInfo of a problematic MP4 with 25 fps:
http://pastebin.com/9Wk7zFvc
And here a VC-1 with 59.940 fps:
http://pastebin.com/bFp4erQZ
Once again: on Windows XP both files play fine.
[1] http://en.wikipedia.org/wiki/Nvidia_PureVideo
[2] http://en.wikipedia.org/wiki/Unified_Video_Decoder
oddball
14th May 2011, 20:10
Any ideas what would prevent me from going fullscreen once I hit ctrl-enter or setting the hotkey to just enter? I can do thr alt-enter option but the normal fullscreen does nothing. Build 3104 btw but I am pretty sure this happened before with an earlier build.
psychoirfan
14th May 2011, 22:24
with evr/evr custom
http://i990.photobucket.com/albums/af27/pisipsycho/th_evr.jpg (http://s990.photobucket.com/albums/af27/pisipsycho/?action=view¤t=evr.jpg)
with vmr9/vmr7/haali renderer..(others)
http://i990.photobucket.com/albums/af27/pisipsycho/th_vmr9.jpg (http://s990.photobucket.com/albums/af27/pisipsycho/?action=view¤t=vmr9.jpg)
Colors are terrible and there is a strong denoiser like fft3dgpu with evr modes, cause of that i can't use dxva. Of course, all shaders off :).
The problem exist in windows media player too.
I think it's ati's driver problem, but i'm not sure. I cleaned ati driver and installed only driver(without ccc, avivo ...). It didn't work.
an avisynth script like
directshowsource("something.mkv")
has no problem.
win7 x86
ati mobility hd5730m
ccc 11.5
Mangix
14th May 2011, 23:15
that's due to dynamic contrast being enabled in ATi's CCC and DXVA. disable one of those and the first will look like the bottom.
psychoirfan
15th May 2011, 01:26
I installed again ccc. And closed all of video settings in panel. This time worked. http://forum.darkhardware.com/images/smilies/shot.gif I tried that before. I have no idea what's changed this time. Thanks for your help
Aleksoid1978
15th May 2011, 01:28
I little mistake - rev. 3107 fix rev.3105, not a 3015 :)
CruNcher
15th May 2011, 16:15
Could somebody take a look @ this and try to maybe reproduce ? http://forum.doom9.org/showpost.php?p=1501021&postcount=559
pirlouy
15th May 2011, 17:48
@CruNcher: can you stop posting big images ? Use thumbnails or links please.
And please, change your signature, use a tiny one. I'm sure you know a lot more things than me concerning multimedia, but think about others: big images use CPU, RAM, bandwith; and your signature bothers at least me when I want to read threads...
Lincoln Burrows
15th May 2011, 23:55
How can we report a bug in MPC-HC?
I have reported this before but no one have fixed yet.
If someone can look at this:
- When we change the language from english to another one (portuguese for example) - MPC-HC settings - we are not able to select audio streams anymore. This is only happening when we change the language to another one which is not english.
English (working):
http://i.imgur.com/PfUPz.png
Portuguese (not working):
http://i.imgur.com/gLRxm.png
This is only happening when we change the language to another one which is not english.
This problem has three translations: Armenian, Portuguese (Brasil), and Slovak.
Mercury_22
16th May 2011, 10:14
Is it possible to make MPC-HC use an external "icon.ico" file like it does with the toolbar cause I'll really like (a simpler) way to use a different "icon.ico" for the x64 (or x86) version ?
P.S. And before you ask :)
e.g. to avoid the confusion between the x86 and x64 (formats / file association) on systems with both versions or
for people who like to use another ico (e.g. I really prefer the one from BE mod)
https://sourceforge.net/apps/trac/mpc-hc/ticket/1333
JanWillem32
16th May 2011, 11:31
The main file icon for .exe files is hard-coded in the executable header as a series of bitmaps. As for as I know, it's not possible to make it link to something else, as I've not seen interfaces to manipulate Windows Explorer to load external icons for .exe files.
The icons and other image-related resources can be changed for usage in the program itself without hard-coding them, though.
I believe, more exactly it is called a "resource"; they are not "in the header", but they are in specific file segments, separated from the code.
Resources in executables can be changed by a "resource editor" tool, but with some important restrictions. Especially their size and location must not change.
madshi
16th May 2011, 13:23
Especially their size and location must not change.
Actually they may. See freeware "Resource Hacker".
IMHO those new 16x16 pix icons are too simple. Also even if i have desktop setup in 32-bit colors i see only their uglier 4-bit color versions.
Anyway... i would sugest to remove entire icon cache "mpciconlib.dll" and use generic icons only, available in main "mpc-hc.exe" file.
But even those need some cleanup (view picture), because they contain Aero style icons, which needs to be replaced. http://oi51.tinypic.com/2l9mjj7.jpg
MPC-HC was always lighweight and imo there no need to create new icon for every single new filetype which is supported. It's waste of time and resources.
I suggest to have 5 basic icons only, inside of mpc-hc.exe file:
1./ Main application icon
2./ Generic video file icon
3./ Generic audio file icon
4./ Generic playlist icon
5./ Geric optical disc icon(for CD audio, DVD or Blu-Ray discs)
Very good icons are in K-Lite Codec Pack version of MPC-HC. You should definitelly consider to use them.
http://8bf.deviantart.com/art/Media-Player-Classic-FINAL-132910148
Also good loking are these icons from DeviantArt.com
http://davidm147.deviantart.com/art/MPC-HC-Icon-Library-Glowing-208826509
http://sheppii.deviantart.com/art/xpAlto-MPC-HC-filetypes-203581644?q=boost%3Apopular%20mpc-hc%20icons&qo=4
The "Full Floating Point Processing" setting appears to be incompatible with ffdshow's "High quality YV12 to RGB conversion" setting. When both are checked on my system, video is either corrupted or repeats a few frames over and over (audio still works fine, though.)
Changing to "Half Floating Point Processing", or disabling "Full" fixes the problem. Or, disabling HQ conversion in ffdshow fixes it.
Software environment:
Windows XP SP3
MPC-HC r3112 (xvidvideo.ru)
ffdshow r3853 ICL12 (xvidvideo.ru)
EVR CP
JanWillem32
18th May 2011, 01:57
@kumi: That's well known on a lot of hardware. It's one of the reasons I've set RGB types as to be preferred dead last in the merits list.
For non-interlaced 8-bit 4:2:0 video these formats are preferred: NV12, YV12, I420/IYUV (in that order).
For interlaced 8-bit 4:2:0 video only NV12 is preferred.
For 8-bit 4:2:2 video these formats are preferred: YUY2, UYVY, YVYU (in that order).
The entire merits list counts 31 items, even very rare ones, mostly just to sort all Y'CbCr formats above the RGB formats.
For completeness: when using ffdshow tryouts, it's usually best to let the mixer do a lot of the conversion work. In the output tab of the video decoder, use "Set pixel aspect ratio in output media type", "Set interlace flag in output media type" and "Allow output format changes during playback".
Dstruct
19th May 2011, 07:24
Still no Color Management and Full/Half Floating Point Processing possible with version 1.5.2.3114! Options are grayed out. Working fine in 1.5.1.2903.
(Nvidia GeForce 7600GS, Windows XP SP3)
JanWillem32
19th May 2011, 09:50
The detection method in the trunk build is too strict. I've lowered the requirements for my builds months ago. Because the parts I write for the rendering engine are risky (to say the very least, as I usually break just as many features as I fix), it may take some time before integrating fixes like that.
rsd78
19th May 2011, 15:41
Hi,
I know this topic has been brought up, but I didn't see any new information recently so I thought I would ask.
Any plans or what is the status of fixing DXVA for Intel based platforms (e.g. Sandy Bridge)?
Thanks
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.