View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
flanger216
30th December 2009, 20:53
what "testing" procedure if I may ask? I've tried really really hard on many occasions, but I've never been able to hear any difference whatsoever...and there's no infos about what algorithms are used either.
A/Bing a noise shaper would be pretty impressive. I'm fairly sure I can hear the effects of turning the dither on and off, but, of course, that might just be me kidding myself.
But anyway, groove: look at a waveform analysis of your 24-bit source. Now, play the file through ffdshow with no dithering and output to a soft patchbay, with your DS output rerouted to your soundcard's input pin (this avoids any possible interference from Windows's mixer). Record the playback, and do a waveform analysis. It should look pretty nasty and not at all analogous to the source: specifically, you should seem some 'squarized' artificats. Now rinse and repeat, but this time with ffdshow set to dither; it should look essentially identical to the source.
I suppose doing a similar test for the noise shaper is possible... you could compare spectrograms and see if there's some additional signal on low and high frequencies and very slightly less in the mid bands, but that sounds awfully tedious.
BTW, what's with the "quotes?" :p
flanger216
30th December 2009, 21:04
Not sure if the OS and audio drivers use dithering or not.
Vista and 7 do, and they internally process at 32fp. Xp, of course, is a whole 'nother nightmare.
leeperry
30th December 2009, 21:10
I suppose doing a similar test for the noise shaper is possible... you could compare spectrograms and see if there's some additional signal on low and high frequencies and very slightly less in the mid bands, but that sounds awfully tedious.
well, dithering in eac3to is audible...madshi told me that each bit decimation would add twice more white noise, and going 24>16 is very much audible...especially if you post-process a lot as I do.
if you got time in your hand someday, I'd love to see results of what you're explaining...maybe they could add that piece of code in the MPC Audio Renderer(outputting to a bit-perfect renderer), but well if it's inaudible I still question the point of using it at all :o
Casshern
31st December 2009, 00:30
Is anyone else experiencing this?
All nightfly's mod does is remove the "Only resize when src and dest sizes don't match" part (so it always resizes, regardless).
My code works fine here on ATi 5850 and did so on my nVidia 8800GT.
Spec-Chum
Never had any problems with the new "only resize when source !=dest". ATI 2600 PRO AGP, WIN7, WINXP, EVR CP, 3d surfaces, bicubic resizing. Just the other day i tried all aspect ration setting on an mkv which had incorrect ar info - seemed to work just fine - i had none of the decribed issues. But maybe it only occurs with certain source and target resolutions? At which resolutions did the problems show?
nightfly
31st December 2009, 06:25
Never had any problems with the new "only resize when source !=dest". ATI 2600 PRO AGP, WIN7, WINXP, EVR CP, 3d surfaces, bicubic resizing. Just the other day i tried all aspect ration setting on an mkv which had incorrect ar info - seemed to work just fine - i had none of the decribed issues. But maybe it only occurs with certain source and target resolutions? At which resolutions did the problems show?
Playing back either full-screen or windowed(any size) on a 1280x1024 lcd monitor via vga. Input resolution would be 1080p via BDR, didn't test DVDs off hand. Using DXVA compatible video filters (MPC, Arcsoft).
The selected resizer in Playback->Output doesn't matter. I normally run Binlinear(PS 2.0), but tested Bicubic as well.
Under Options->Playback I do not use the "Change fullscreen resolution" option and "Auto Zoom" is disabled. Changing either setting does not affect the result.
Additionally, I discovered that that the Video Frame->Override Aspect Ratio must be set to default while also setting Video Frame->Normal Size for me to get any video which is not displayed in the correct aspect ratio as it always fills the window/screen.
Setting the video renderer to EVR from EVR custom seems to affect the issue. For instance the image is displayed correctly (2.35 movies are shown in the correct aspect with black bars above/below) but trying to resize via Pan&Scan doesn't work. Neither does changing of aspect ratios. I can't change the image. Setting the renderer to VMR9 renderless results in the same issues as with EVR Custom i.e., no video from a line or two at the top of frame.
I've actually experienced this issue for some time and in that time have gone from vista(reinstalled twice) to xp to win7 32bit and it occurred in all of them with all of them being fresh setups. In addition, it occurs on a gt220, 9300igp, & 8500gt nvidia cards using their mid 180.xx drivers through the current 195.81 beta version.
This is with build v1453.
Shakey_Jake33
31st December 2009, 11:43
Is there any way to make the internal H.264 DXVA decoder connect to the ffdshow raw video filter for deinterlacing using Windows 7 64-bit? It doesn't seem to work for me, though it works when I use an external decoder.
(The alternative would be to use the 'deinterlace' shader in mpc-hc, but is it smart enough to only try to deinterlace interlaced content?)
Steveo08
31st December 2009, 14:22
is it possible to get auto detection for frame rate under output?
kikker
31st December 2009, 16:51
I'm working with a brand new W7 32-bit install here. When in Cust Pres mode, a dialog prompts me that a "directx end-user runtime" must be installed. I don't recall this requirement on previous versions of W7 (RC). So, all google search results seem to point to the "DirectX End-User Runtime Web Installer", which seems to be based on Directx 9. :confused: , when W7 comes preinstalled with DX11. I attempted to install that package only to receive errors. What is required to get rid of the MPC-HC prompt at startup? Thanks...
namaiki
31st December 2009, 17:02
The DX runtime is a required component. You must install it even on Windows 7.
Leak
31st December 2009, 17:10
W7 comes preinstalled with ONLY DX11.
Fixed.
W7 indeed comes with DirectX 11, which is only backwards-compatible to DirectX 10, but if you plan on doing anything else than playing the handful of DirectX 10/11 capable games you MUST install DirectX 9 (http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3) - you'll find "Windows 7" is listed under supported operating systems for it...
Of course why it's not even installed and/or updated via Windows Update is anyone's guess... :(
There's also a full installer (http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=04ac064b-00d1-474e-b7b1-442d8712d553) in case the web installer doesn't work for you, but usually you only need a part of the files it contains so the web installer should download less stuff, especially on upgrades for DirectX 9...
np: Gravenhurst - She Dances (The Western Lands)
kikker
31st December 2009, 18:05
OK, thanks. The web installer, it turns out, needs to be installed while logged onto an admin account. The user account can't be elevated for some strange reason, so I got it installed now.
tetsuo55
31st December 2009, 20:01
W7 indeed comes with DirectX 11, which is only backwards-compatible to DirectX 10, but if you plan on doing anything else than playing the handful of DirectX 10/11 capable games you MUST install DirectX 9 (http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3) - you'll find "Windows 7" is listed under supported operating systems for it...Windows 7 only has DirectX 11 RTM on board, this is mostly backwards compatible right back to directx 1(excluding depreciated commands).
However Directx is being continually developed (9, 10, 10.1 and 11) and every 2-3 months all directx versions get an update in the form of a redist. that means that that redist in the link contains directx 9, 10, 10.1 and 11 updates.
Of course why it's not even installed and/or updated via Windows Update is anyone's guess... :(This is very simple, Microsoft policy is to never distribute runtimes over windows updated except in some special exceptions.
Mangix
31st December 2009, 23:22
does anyone else get tearing when Bicubic PS2 is enabled? if i enable Bilinear PS2 or any of the other two, my tearing disappears. would it be possible to add a PS3 version of the bicubic renderer?
namaiki
1st January 2010, 00:17
Mangix: What is your graphics card?
Astrophizz
1st January 2010, 01:02
I too have rather poor performance with the EVR-CP bicubic scaler (namaiki knows this ;) ). I don't have the same issue with the bicubic scaler in Haali's renderer. I've been told in another forum (by an anonymous poster) that Haali's scaler is mathematically incorrect and this gives it better performance. Maybe tetsuo55 or someone else can illuminate this matter?
Mangix
1st January 2010, 03:33
Mangix: What is your graphics card?
Geforce 8500 GT
could this have something to do with it?
http://www.ostrogothia.com/?p=1444
when i was testing shaders out, i noticed that the denoise shader runs faster if i use ps_3_0_sw instead of ps_3_0. maybe if that were applied to the resizing as well...
namaiki
1st January 2010, 03:40
Do you get tearing when you'e not using denoise? IIRC that is a bit of a power cruncher. btw sw = cpu being used instead of GPU?
Mangix
1st January 2010, 03:56
i don't use denoise. i do get tearing with bilinear+denoise but without denoise, i don't. when i enable only bicubic, i get tearing.
and yes, sw = software.
namaiki
1st January 2010, 04:00
Try default renderer settings + wait for flushes.
If you are not using aero, then also + alternate vsync.
Mangix
1st January 2010, 05:32
using alt vsync + wait for flushes eliminates the tearing
namaiki
1st January 2010, 05:36
using alt vsync + wait for flushes eliminates the tearing
o_o What version of Windows? Also is Aero enabled, if on vista/7?
Mangix
1st January 2010, 10:35
i'm using xp. i never get tearing on vista/7 with aero on.
namaiki
1st January 2010, 10:46
i'm using xp.Yeah, I was just curious.
i never get tearing on vista/7 with aero on.Same, though I did get dropped frames on an Intel GMA 950 @ 1920x1080 -__-
tetsuo55
1st January 2010, 12:19
We could really use someone, to:
-Rewrite the shader base code to be shader version independent (will use the highest shader version available)
-Add shader calculation time overhead to the statistics
DMD
1st January 2010, 18:07
Happy New Year to all
I noticed in the Playback section lacks the function exit at the end of reproduction or the one that returns to the main logo MPCHC
This function is useful when the player is integrated into multimedia interface such as MediaPortal, MedioOs, etc....
Thanks
bobdynlan
1st January 2010, 19:43
Happy New Year to all
I noticed in the Playback section lacks the function exit at the end of reproduction or the one that returns to the main logo MPCHC
This function is useful when the player is integrated into multimedia interface such as MediaPortal, MedioOs, etc....
ThanksCreate a batch file (*.bat or *.cmd). Paste this:
@echo off
rem bobdynlan: Add parameters to be run everytime you open some of MPC-HC's filetypes
rem Requires you to set Options-Formats-Video association in MPC-HC before this
rem customize below
SET parameters=/play /close
SET filetypes=AVI WMV WMP WM ASF SMK BIK SWF ROQ RT RP SMI SMIL RM RAM RPM RMM RATDVD MOV HDMOV 3G2 3GP2 DIVX VP6 RMVB AMV TTA AMR OGM OGV MP4 M4V MP4V MPV4 3GP 3GPP MPG MPEG MPE M1V M2V MPV2 MP2V TS TP TPR PVA PSS M2TS M2T MTS EVO M2P MKV IVF FLI FLC FLIC FLV D2V VOB IFO
rem end customization
REG QUERY "HKLM\SOFTWARE\Clients\Media\Media Player Classic\Capabilities" /v "ApplicationIcon" /reg:64> %temp%\mpc_exe.bat
FOR /F "skip=2 tokens=* delims=" %%A IN (%temp%\mpc_exe.bat) DO SET mpc_exe=%%A > %temp%\mpc_exe.bat
call %temp%\mpc_exe.bat
set mpc_exe=%mpc_exe:~41,-4%
echo !%mpc_exe%!
DEL /Q %temp%\mpc_exe.bat
For %%X in (%filetypes%) do REG ADD "HKCR\mplayerc.%%X\shell\open\command" /ve /d "\"%mpc_exe%\" \"%%1\" %parameters%" /f /reg:64
cls
exitEdit the line starting with "SET parameters" after the "=" sign with the required ones (/play /close...etc. more on Help->Command Line Switches). To revert, leave empty.
And since I posted again, after many requests to remember "Pan & scan settings", can the dev's make it at least a command line switch to apply the first/ second/ last/ some/ atleastone preset?
You cannot do more than simple things like Pos 0.5 0.5 Zoom 1.2500 1.3330, but it's useful as a compromise between scale and zoom. Warpscalling would have been soo...
NiFa
1st January 2010, 20:39
Happy New Year to all
I noticed in the Playback section lacks the function exit at the end of reproduction or the one that returns to the main logo MPCHC
This function is useful when the player is integrated into multimedia interface such as MediaPortal, MedioOs, etc....
Thanks
You need to check that, play --> after playback --> exit, is checked, if you want that player closes after playback. It would be nice if it could stay permanently checked, so that there wouldn't be need to check it every time you play something.
DMD
2nd January 2010, 00:50
Create a batch file (*.bat or *.cmd). ........
Thanks for your help.
But launching the file. Bat gives me error
Can not find the key to the registry
http://www.allfreeportal.com/imghost/images/979810Senza titulo-1.PNG (http://allfreeportal.com)
something wrong? :confused:
I did copy-paste the text file and then I renamed. bat
MrHetfield
2nd January 2010, 06:06
Happy New Year everyone!
Hi! I have one question about screen capturing to .jpg - can I change settings of capturing and how can I know what quality it uses? and I tried to post into 'new features' but I can't - so it would be great if you'll add .jpg quality settings to options. (I use captured frames for Photoshop that's why I need the maximum quality)
Thanks.
Snowknight26
2nd January 2010, 07:25
Use PNG..
hdboy
2nd January 2010, 09:02
Is it possible to put a progress/seek bar inside the aero preview on win7? I don't know if win7 supports controls other than buttons inside the preview, but since it can show a live video in the preview window, a seek bar would seem easy ny comparison.
I play full screen video on a 2nd monitor (TV) and it'd be very nice to be able to control the seek bar via the preview window on my main PC monitor.
redix 123
2nd January 2010, 12:00
First I have to say, I love MPC HC very much. I've been playing with associations, because I tried different music and video players and found a little bug in association window when UAC is switched on in Windows 7. When you open new association window and click on the previous one, it says not responding. Sorry for bothering you, but I change association quite often and don't like this:)
Weirdo
2nd January 2010, 13:37
Happy New Year everyone.
I'm opening the same BDMV (VC-1) folder on two systems, and on one system the BD subtitles work fine, but on the other they don't. They do appear normally in the 'Navigate/Subtitles' menu but just won't show up when selected.
System 1: (subs ok) - Win 7 x64, ATI 2600.
System 2: (no subs) - Vista x86, Nvidia 9600 GT.
Using mpc-hc v.1.3.1249.0 x86, EVR cust. renderer and mpc's internal vc-1 codec on both systems.
Can't think of a solution to the subtitle issue.
alexins
2nd January 2010, 14:06
In the latest builds of mpc-hc DVXA mode very picked up the load on the CPU!!!
Tested on the rev. 1467.
JohnnyFu
2nd January 2010, 14:30
Not sure if this is the right place to report a MPCVideoDec decoding problem.
I'm trying to play some VC-1 (mkv) video content using MPCVideoDec.ax (x64 rev 1453) but the video stops playing (freeze) at the same point everytime while the audio keeps playing. I can skip forward to prevent the freeze.
I tested this with the latest Haali Splitter(x64) as well as MatroskaSplitter.ax (x64 rev 1453) and EVR (7MC) with no luck. FFDShow (set to WMV9) works fine btw.
matthew_eli
2nd January 2010, 15:03
In the latest builds of mpc-hc DVXA mode very picked up the load on the CPU!!!
Tested on the rev. 1467.
please alexins, could you post this compiled version?
Thanks
Brazil2
2nd January 2010, 15:19
Not sure if this is the right place to report a MPCVideoDec decoding problem.
I'm trying to play some VC-1 (mkv) video content using MPCVideoDec.ax (x64 rev 1453) but the video stops playing (freeze) at the same point everytime while the audio keeps playing. I can skip forward to prevent the freeze.
I tested this with the latest Haali Splitter(x64) as well as MatroskaSplitter.ax (x64 rev 1453) and EVR (7MC) with no luck. FFDShow (set to WMV9) works fine btw.
Maybe you should post a sample split of the faulty part so we can check on different systems if we experience the same behaviour and if it's related to a specific version of MPC-HC or to anything else (x86 vs x64, renderer, etc).
alexins
2nd January 2010, 15:37
please alexins, could you post this compiled version?
Thanks
mpc-hc_1467.zip (http://www.mediafire.com/file/yzz33lfmk5z/mpc-hc_1467.zip)
JohnnyFu
2nd January 2010, 15:49
Maybe you should post a sample split of the faulty part so we can check on different systems if we experience the same behaviour and if it's related to a specific version of MPC-HC or to anything else (x86 vs x64, renderer, etc).
Allright, check this sample (http://rapidshare.com/files/329269640/sample.mkv.html) please.
betaking
2nd January 2010, 16:06
mpc-hc_1467.zip (http://www.mediafire.com/file/yzz33lfmk5z/mpc-hc_1467.zip)
can not download at this site ,can you up it to xvvideo.ru?:thanks:
matthew_eli
2nd January 2010, 16:14
mpc-hc_1467.zip (http://www.mediafire.com/file/yzz33lfmk5z/mpc-hc_1467.zip)
Thanks alexins: what settings do you suggest? It seems that the MOV splitter is broken because all my 1080p trailers play black screen but audio is correct...
XhmikosR
2nd January 2010, 16:31
MPC-HC_r1485_x86.7z (http://www.mediafire.com/?hniyn2qomzj)
Casimir666
2nd January 2010, 17:41
Thanks alexins: what settings do you suggest? It seems that the MOV splitter is broken because all my 1080p trailers play black screen but audio is correct...
Can you post a sample of your trailer with broken video?
JohnnyFu
2nd January 2010, 17:43
Casimir can you check this sample (http://rapidshare.com/files/329269640/sample.mkv.html) please? It will freeze using MPCVideoDec.
Brazil2
2nd January 2010, 18:05
Allright, check this sample (http://rapidshare.com/files/329269640/sample.mkv.html) please.
It freezes for me too with recent builds of MPC-HC. I think it might contain some interlaced frames and the sample is flagged as being interlaced.
But interestingly r1043 automatically falls back to the DMO decoder while recent builds just freeze and stay in pause mode (tested with build r1059 and over).
bobdynlan
2nd January 2010, 18:08
Hint: Close MPC-HC after playback
Thanks for your help.
But launching the file. Bat gives me error
Can not find the key to the registry
something wrong? :confused:
I did copy-paste the text file and then I renamed. bat
YES :D I've updated my post with a *proper* batch file, for me it works on Win7-x86 or Win7-x64 (EN) (both MPC-HC x86 and MPC-HC x64)
http://forum.doom9.org/showthread.php?p=1358780#post1358780
matthew_eli
2nd January 2010, 18:12
Can you post a sample of your trailer with broken video?
for example Quantum of Solace:
http://www.bigandfree.com/11051881
or CopOut (Apple Trailers, 1080p)
with SVN 1453 and internal MP4/MOV splitter there is no problem...:p
_xxl
2nd January 2010, 18:16
Is Alternative VSync complete broken even in D3D fullscreen mode?
mark0077
2nd January 2010, 19:16
Hi all. Just wondering is it necessary to use d3d fullscreen to avoid mpc being interrupted by things like windows notifications. For example this week windows 7 activation notification has taken mpc out of fullscreen during movies I was watching.
Is this expected?
tetsuo55
2nd January 2010, 19:41
Is Alternative VSync complete broken even in D3D fullscreen mode?It only helps on ATI hardwareHi all. Just wondering is it necessary to use d3d fullscreen to avoid mpc being interrupted by things like windows notifications. For example this week windows 7 activation notification has taken mpc out of fullscreen during movies I was watching.
Is this expected?
unfortunately that seems to be the case, what renderer are you using?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.