View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
namaiki
21st July 2011, 03:04
Check: View-> Options-> Tweaks.
Hera
21st July 2011, 03:06
Which filters do you use ?
Vanilla + Haali Splitter
Eliminateur
21st July 2011, 03:57
As a side-note, A32B32G32R32F, A16B16G16R16F and A2R10G10B10 disable the forced bilinear filter on chroma in the video mixer with ATi and some Intel GPUs. Chroma up-sampling shaders are required if you don't want the chroma to be scaled by nearest neighbor in these cases.
so if i understand correctly:
independently of using D3DEX or 2D surface if we use FFPP+10bit output the chroma upsampler is nearest neighbour?
this only happens when using 10 bit processing?
shouldn't d3dex solve this, seeing as it enables undithered A2R10G10B10 display output?
also, i found a bug in D3DEX and chapter/file jump:
with/without gui support, the keyboard pageup/pagedown keys work ok but with my mouse "up/down" keys it fails, if i press the up key several times maybe it will go back one chapter and pause the video at random.
Keys are marked as "X1 up" "X2 down"
i'm not using any mouse software
rev 1.5.2.3423 x64
rahzel
21st July 2011, 04:22
Indeed, with several modes.In EVR CP and VMR-9 r. there are 4 surface formats, the one used for the mixer and renderer stages depends on the renderer setting.
m_SurfaceType = m_bFullFloatingPointProcessing? D3DFMT_A32B32G32R32F : m_bHalfFloatingPointProcessing? D3DFMT_A16B16G16R16F : m_bHighColorResolution? D3DFMT_A2R10G10B10 : D3DFMT_X8R8G8B8; (actual code, but should not be too hard to read)
With every step of higher surface precision, the precision losses for every step of processing of the decoded input to display output are less than with X8R8G8B8.
At the end of rendering, the output is dithered or rounded to A2R10G10B10 or X8R8G8B8, depending on the display format and the selected option for dithering.
The display format can be A2R10G10B10 when both the D3D exclusive mode and 10-bit output options are activated, else it's always X8R8G8B8.
All of this can be seen in the stats screen.
As a side-note, A32B32G32R32F, A16B16G16R16F and A2R10G10B10 disable the forced bilinear filter on chroma in the video mixer with ATi and some Intel GPUs. Chroma up-sampling shaders are required if you don't want the chroma to be scaled by nearest neighbor in these cases.
I have another question. On the current build, if I don't have D3DEX checked, I understand that I'm not truly getting 10-bit output, but from my eyes, looking at a grayscale ramp, the gradients are definitely smoother. Is it the dithering that's enabled with 10-bit output that's smoothening out the gradients?
I don't use D3DEX because I can't seem to exit fullscreen... how are you supposed to do so?
sawg
21st July 2011, 04:39
@sawg
I do not have this problem. But I do not use NVIDIA Video Decoder.
Why do you have two NVIDIA Video Decoder and two renderers in the filters?
Show me a graph that you have get. (GraphStudio (http://blog.monogram.sk/janos/tools/monogram-graphstudio/)->File->Conect to Remote Graph...)
Please forgive me if I make any errors; my English is a little weak.
rev3357 and rev3432, I can't use Internal Filters: MPEG2-DXVA too.
grf file:
http://www.mediafire.com/?dke4boknfl7bzwt
http://www.megaupload.com/?d=VMQ4BJOP
mpc3357_mpeg2ts.grf
http://www.rehost.org/images/1311219382.jpg
mpc3357_dvd.grf
http://www.rehost.org/images/1311219381.jpg
mpc3436_mpeg2ts.grf
http://www.rehost.org/images/1311219384.jpg
mpc3436_dvd.grf
http://www.rehost.org/images/1311219383.jpg
Underground78
21st July 2011, 06:24
Check: View-> Options-> Tweaks.
More precisely "Fast seek (on keyframe)", note that this option has been disabled by default in latest build.
Vanilla + Haali Splitter
Have you tried using the internal splitter and see what happens ?
Aleksoid1978
21st July 2011, 06:25
Please forgive me if I make any errors; my English is a little weak.
fix in rev.3442 (https://sourceforge.net/apps/trac/mpc-hc/changeset/3442/trunk)
e-t172
21st July 2011, 08:22
Please forgive me if I make any errors; my English is a little weak.fix in rev.3442 (https://sourceforge.net/apps/trac/mpc-hc/changeset/3442/trunk)
You made his english better? :p
JanWillem32
21st July 2011, 10:45
so if i understand correctly:
independently of using D3DEX or 2D surface if we use FFPP+10bit output the chroma upsampler is nearest neighbour?
this only happens when using 10 bit processing?
shouldn't d3dex solve this, seeing as it enables undithered A2R10G10B10 display output?The only parameter required for the ATi driver to skip the bilinear filter is that the surface format for the mixer is anything but X8R8G8B8. In this case the 10-, 16- and 32-bit formats will cause the driver to skip the bilinear filter. (Not that I particularly care, I prefer to set my own set of chroma up-sampling methods, anyway. Outperforming the bilinear kernel isn't hard to do: on 4:2:0 it only blurs every corner pixel of the 2×2 block by adding up the pixels next to it. Its pixel weights are 1/16 diagonal + 3/16 horizontal + 3/16 vertical + 9/16 of the nearest neighbor.)I have another question. On the current build, if I don't have D3DEX checked, I understand that I'm not truly getting 10-bit output, but from my eyes, looking at a grayscale ramp, the gradients are definitely smoother. Is it the dithering that's enabled with 10-bit output that's smoothening out the gradients?
I don't use D3DEX because I can't seem to exit fullscreen... how are you supposed to do so?In my builds you can set dithering to level 0, to disable it. That will cause the input values to round to the display format. A completely pure gradient can be made by enabling the "color gradients" shader as "post-resize" (does need a dummy video running at a normal video rate in the background). A nice color set to produce banding with red, green and blue is in my case:
#define ColorTopLeft float4(0, .015625, 0, 1)
#define ColorTopRight float4(0, 0, .015625, 1)
#define ColorBottomLeft float4(.015625, 0, 0, 1)
#define ColorBottomRight float4(0, 0, 0, 1)
It should show 8-bit banding very nicely, but you may set any value in the interval [0, 1] for the target float4(red, green, blue, 1).
You can simply switch the options for dithering during that test to compare to compare the amount of banding against the ditherer's noise. There's also the "Dithering Test" option that will show what the dither filter is doing.
The exclusive mode can be closed by default by Ctrl+C, or exited by Alt+X (Alt+F4 like in all regular windows applications works, too). The key commands can be edited in the "View", "Options", "Keys" menu.
For indicating what the renderer is doing, see the stats screen (default key Ctrl+J) during playback. It will indicate the formats used by the player, timing statistics, and more information.
v0lt
21st July 2011, 18:27
MPC-HomeCinema 1.5.2.3445 (x86) (http://www.mediafire.com/?xfgh33iws56bh)
Fix : DVD playback with Nvidia PureVideo Decoder.
corrected time precision (for display).
fixed Russian translation
sawg
21st July 2011, 18:48
MPC-HomeCinema 1.5.2.3445 (x86) (http://www.mediafire.com/?xfgh33iws56bh)
Fix : DVD playback with Nvidia PureVideo Decoder.
corrected time precision (for display).
fixed Russian translation
Thanks for your help.
rev3445 fix MPEG2 files and DVD with Nvidia PureVideo Decoder.
But Internal Filters: MPEG2 Video (DXVA) still can't use.
Please tell me what I should do.
v0lt
21st July 2011, 19:31
But Internal Filters: MPEG2 Video (DXVA) still can't use.
Please tell me what I should do.
It always has been. Use a built-in software decoder.
clsid
21st July 2011, 20:54
So what exactly is the purpose of the recent MPEG2 changes?
Tessier
21st July 2011, 21:07
I have a problem with loading external subtitles. It's ok when the movie is stored on a local HDD.
However, I also have a router with an USB HDD connected to it and shared using SMB (the router uses OpenWRT). Whenever I open a movie from this remote HDD, no subtitle is loaded. Other players (e.g. Potplayer) loads the subtitle correctly and all files are correctly accessible from windows.
I have found a similar problem (old...), but no solution:
http://www.cccp-project.net/forums/index.php?topic=2600.15
Underground78
21st July 2011, 21:11
Is this the same issue: https://sourceforge.net/apps/trac/mpc-hc/ticket/610 ?
fairchild
21st July 2011, 22:15
Could someone be so kind as to give me an answer to these question I've been having. I've tried searching the net but haven't found an answer. When running DXVA (through an external ffdshow's DXVA decoder which uses NV12) and applying the YV12 Chroma Upsampling shader, do I need to enable this shader as a pre-resize shader or post-resize shader or both?
I read that this shader is still needed when running an external dxva decoder on ATI hardware as it still doesn't do proper chroma upsampling. If I run the internal MPC-HC DXVA decoder then the YV12 chroma upsampling is handled correctly thus not needing to use that shader?
Thanks!
Silent Rain
22nd July 2011, 01:20
Guys, how about the fix ticket #1533 (https://sourceforge.net/apps/trac/mpc-hc/ticket/1533)?
Is it possible?
Wile-E-Coyote
22nd July 2011, 04:30
So what exactly is the purpose of the recent MPEG2 changes?
I'd like to know as well.
sawg
22nd July 2011, 05:17
So what exactly is the purpose of the recent MPEG2 changes?
rev3362
Add : Support DVD Menu marker with DXVA in EVR Custom and EVR Sync renderer, big thanks to judelaw.
rev3363
Change : Improved cursor behavior in DVD mode.
rev3369
Change : improve OSD message at File/DVD open.
Fix : Zoom at open DVD + DXVA decoder.
rev3378
Add : Support DVD Menu marker with DXVA in EVR.
rev3380
Fix the "Prev Angle (DVD)" hotkey and add an OSD message when changing the angle using the hotkeys or the "Navigate" menu.
Patch partially by judelaw.
This commit fixes ticket #1509.
rev3394
Change : improve normal Zoom at open DVD + DXVA decoder.
Fix : Corrupt DVD playback with Microsoft DVT-DVD Video decoder after rev.3362 - Disable "Line 21 Decoder 2".
rev3407
Disable DVD subtitle mixing in EVR-CP and EVR-Sync for Microsoft DTV-DVD Video Decoder
rev3436
Fix : Disable multiple output pin from internal MPEG2 software decoder, it's broken normal MPG playback.
Add : Missing class member in Mpeg2DecFilter, it't improve the debugging.
Change : Remove submenu in "Navigate" if no multiple stream present.
rev3442
Fix : DVD playback with Nvidia PureVideo Decoder.
DVD?
Underground78
22nd July 2011, 06:04
Guys, how about the fix ticket #1533 (https://sourceforge.net/apps/trac/mpc-hc/ticket/1533)?
Is it possible?
I never saw this behavior but I will try again tonight.
clsid
22nd July 2011, 15:55
rev3362
Add : Support DVD Menu marker with DXVA in EVR Custom and EVR Sync renderer, big thanks to judelaw.
rev3363
Change : Improved cursor behavior in DVD mode.
rev3369
Change : improve OSD message at File/DVD open.
Fix : Zoom at open DVD + DXVA decoder.
rev3378
Add : Support DVD Menu marker with DXVA in EVR.
rev3380
Fix the "Prev Angle (DVD)" hotkey and add an OSD message when changing the angle using the hotkeys or the "Navigate" menu.
Patch partially by judelaw.
This commit fixes ticket #1509.
rev3394
Change : improve normal Zoom at open DVD + DXVA decoder.
Fix : Corrupt DVD playback with Microsoft DVT-DVD Video decoder after rev.3362 - Disable "Line 21 Decoder 2".
rev3407
Disable DVD subtitle mixing in EVR-CP and EVR-Sync for Microsoft DTV-DVD Video Decoder
rev3436
Fix : Disable multiple output pin from internal MPEG2 software decoder, it's broken normal MPG playback.
Add : Missing class member in Mpeg2DecFilter, it't improve the debugging.
Change : Remove submenu in "Navigate" if no multiple stream present.
rev3442
Fix : DVD playback with Nvidia PureVideo Decoder.That is the SVN changelog. I read that daily. It does not explain things in detail. It seems that DVD menu effects were fixed when using DXVA, but that broke many things for which workarounds have been implemented. For example is blocking Line21 correct when internal subs are disabled? Does DVD playback still work properly with the non-EVR renderers?
Silent Rain
22nd July 2011, 16:49
I never saw this behavior but I will try again tonight.
Great!
Specification of my PC:
CPU: Intel Core 2 Quad Q6600 @ 2.40 GHz
GPU: NVIDIA GeForce 8600 GT
RAM: 4 GB
OS: Windows 7 x64 (SP1)
Underground78
22nd July 2011, 17:22
I have tested the samples you linked in the ticket and I cannot reproduce your problem using the internal decoder and splitter (I also tested LAVSplitter and it works too). Have you tried the latest nightly (http://goo.gl/8NqfJ) ?
Silent Rain
22nd July 2011, 18:14
I have tested the samples you linked in the ticket and I cannot reproduce your problem using the internal decoder and splitter (I also tested LAVSplitter and it works too). Have you tried the latest nightly (http://goo.gl/8NqfJ) ?
Yes, I've tried.
On Splash PRO, PotPlayer, The KMPlayer, SPlayer and other video players all works like lightning! :eek:
Problems with rewinding only in MPC-HC :mad:
Underground78
22nd July 2011, 18:24
Maybe it's because I am not using Windows 7. I will ask if v0lt and Aleksoid can reproduce.
JanWillem32
22nd July 2011, 18:35
I just tested it. The trunk build with default codecs and splitters enabled did freeze twice on me (after a whole lot of tries). It basically pauses, until I jumped to some other part again. I couldn't get it to freeze while testing VMR-9 r., with LAVSplitter, or with modified versions of VMR-9 r. or EVR CP. (I did test those a bit less than during the first test run, though.)
Underground78
22nd July 2011, 18:38
I use VMR-9 so it might explain why I can't reproduce.
Silent Rain
22nd July 2011, 22:44
Underground78, bring your PC configuration, please.
And show me your stats while jumping on the timeline (Ctrl + J). With the default settings (with internal decoders and splitters).
Underground78
22nd July 2011, 23:11
Underground78, bring your PC configuration, please.
And show me your stats while jumping on the timeline (Ctrl + J). With the default settings (with internal decoders and splitters).
CPU: AMD Athlon X2 6000+ @ 3.00 GHz
GPU: ATI HD2600XT
RAM: 2 GB
OS: Windows XP (SP3)
I can't show you the stats as the renderer doesn't support it.
6205
23rd July 2011, 17:07
1./ I have updated to new stable build 1.5.2.3456 and i am missing shaders. Specially "Sharpen Complex" shader, which is very usefull for some anime in blurry, low resolution. How to get it back?
2./ I see that new icons are uglier than before. Why is that? You could at least fix them, because i see only 4-bit version of icons, which are very primitive and ugly.
Underground78
23rd July 2011, 17:14
About 1/, use "Select pre/post-resize Pixel Shaders". About 2/ have you tried doing the association process again ?
6205
23rd July 2011, 17:23
About 2/ have you tried doing the association process again ?
Yes i have tried that many times, including delete icon cachce in Windows 7. Even if my desktop is in 32 colors, small icons in 16x16 size are displayed in their ugliest 4-bit version.
Ayukawa
23rd July 2011, 17:26
I am using MPC-HC 64-bit on a laptop with switchable graphics. Win 7 64-bit. Ati HD 6770M and Intel HD3000 chipsets. Ati driver 8.830.6.1000 dated 3/15/11. All came with the laptop. Having an issue with DXVA. Have tried cleared settings.
With MPC-HC 1.5.0.2827: h264 will play with DXVA on the Ati chipset with excellent video quality. VC1 and mpgs also play with DXVA, but there are some graphics artifacts with mpgs.
With the intel chipset, I get horrible marcoblocking, making it unusable. Did not try VC1 or mpgs because I mostly play h264 videos.
With MPC-HC 1.5.2.3456: h264 refuse to play on the Ati chipset. It says "Opening" then "Stop". Does not crash. The length of the video is shown in the bar, but moving the slider to any other position will not result in video play. VC1 and mpg play fine with DXVA. In fact, the mpg now play without the previous video artifacts.
With the intel chipset, the h264 macroblocking is gone, but I still get video artifacts, mainly in the form fuzziness around hardcoded subtitles and logos. The video is better if not using DXVA. 1.5.0's video quality is the same as the nondxva version. VC1 defaults to FFmpeg decoding. Mpgs play fine with DXVA.
I briefly tried 1.5.1 from sourceforge, and the behavior is the same as 1.5.2.
I would like to use 1.5.2 and DXVA with h264 videos, but am not sure what the problems is. I'm sorry if this is a known issue. Please direct me in the right direction if it is.
6205
23rd July 2011, 17:28
About 1/, use "Select pre/post-resize Pixel Shaders
Okay thanks.
It seems like Ctrl+P makes picture noticeable sharper.
Ctrl+Alt+P seems to do nothing...
Underground78
23rd July 2011, 17:31
Ctrl+Alt+P seems to do nothing...
I think it's normal if you only select the shader for pre-resize.
About the icons I don't really know but I don't think I see this behavior (I'm still using XP).
6205
23rd July 2011, 17:40
About the icons I don't really know but I don't think I see this behavior (I'm still using XP).
OK... meantime i will not use default icon cache until it's resolved.
Here is picure of 4-bit versus 32-bit icons.
http://forum.doom9.org/showpost.php?p=1498967&postcount=17239
I asume than on 32-bit desktop i should get 32-bit version, but not in this case...
Underground78
23rd July 2011, 17:46
For me the icons look like that: http://i.imgur.com/mJWvA.png, seem to be the 16-bit version.
JaLooNz
24th July 2011, 13:31
Sorry if this has been asked before, before the latest stable version it is possible to use the video frame to drag the application around. However, the latest stable seems to have disabled the drag, any events simply pause/play the video. Is there anyway to get back the previous behavior? :thanks:
Underground78
24th July 2011, 13:34
Sorry if this has been asked before, before the latest stable version it is possible to use the video frame to drag the application around. However, the latest stable seems to have disabled the drag, any events simply pause/play the video. Is there anyway to get back the previous behavior? :thanks:
It's a known problem, read ticket #1427 (https://sourceforge.net/apps/trac/mpc-hc/ticket/1427) for more information and more specifically this comment (https://sourceforge.net/apps/trac/mpc-hc/ticket/1427#comment:20) for a possible workaround.
Toddler Naruto
24th July 2011, 20:45
Hi, question, is it possible to use the association icons from an older build with a newer one?
JanWillem32
25th July 2011, 10:41
Sure, as long as the internal numbers for the icon list hasn't changed (very rarely happens). Even if that happens, nothing will crash because of it. The icon file is only read by the Windows Explorer.
Toddler Naruto
25th July 2011, 23:35
Sure, as long as the internal numbers for the icon list hasn't changed (very rarely happens). Even if that happens, nothing will crash because of it. The icon file is only read by the Windows Explorer.
Thanks, that's good to know, hope it's as simple as installing the older build on a different hard drive, deleting the icons for the new build, and then moving the icons from the old build folder to the new build folder.
JanWillem32
25th July 2011, 23:44
You only have to unpack and copy-replace the newer mpciconlib.dll, no extra installation required (except maybe re-association from the "Options", "Formats" menu, but that's all).
Toddler Naruto
26th July 2011, 04:29
You only have to unpack and copy-replace the newer mpciconlib.dll, no extra installation required (except maybe re-association from the "Options", "Formats" menu, but that's all).
Thanks alot for the help :), what you said worked for me :cool:.
6205
26th July 2011, 12:46
Thanks alot for the help :), what you said worked for me :cool:.
I do NOT recommend to do that. Icons will not fit to correct file type. Many things have changed since revision 3088 - last revision with old icons. Since then MPC-HC supports many new formats and new icons has been added to icon library, therefore old mpciconlib.dll file will not work properly. Also ordering is different.
For some file types will be icons missins, for some will MPC-HC display wrong icon. For example(when you see linked image) for MKV file will MPC-HC show D2V icon (no. 22) from old icon library. http://oi54.tinypic.com/ly91j.jpg
Anyway, if you wanna keep at least some old icons, i have deleted entire mpciconlib.dll and made afterward re-association process. This way i have all icons the same for all file types which are now taken from mpc-hc.exe file directly.
Mercury_22
26th July 2011, 14:30
@ Mercury_22 and Underground78
I agree that the x64 needs its own icon, for now the existing icon with x64 added on top should do (We're about to get shiny new icons)
I also think the file association should have some hint to distuinguish between 32 and 64 bit versions (this requires code changes)
The BE mod skinability options where still in an alpha or pre-beta state last i heard, and that would be the reason why its not yet included. Ofcourse i want to have them committed as soon as possible.
Any news about the x64 exe's new icon ?
I've "made" :) as you propose a new icon with the "x64 edition" for the x64 version that we can use until something better comes up
icon_x64.ico & MPC_HomeCinema_1.5.3.3482_x64 with the new icon (http://www.multiupload.com/SYYW8WPEOR)
http://i51.tinypic.com/dlrp1j.png http://i54.tinypic.com/qz55vm.png
P.S. I've included a new icon for the x86 version too
Also the GUI part of the BE mod it's working without any problem for quite some time now
v0lt
26th July 2011, 16:23
@Mercury_22
A new icon is bad. Nothing to see.
Mercury_22
26th July 2011, 16:55
@Mercury_22
A new icon is bad. Nothing to see.
Why a new icon for the x64 version "is bad"?
As you can see many other people (everybody else) seems to think that "is good" cause as I've said many, many, times we need to easily distinguish between the two version (file format association ) on systems with both x86 and x64 version
v0lt
26th July 2011, 17:23
Why a new icon for the x64 version "is bad"?
А small icon (16x16) like a heap of pixels.
Middle icon (48x48) looks bad too.
Mercury_22
26th July 2011, 17:31
А small icon (16x16) like a heap of pixels.
Middle icon (48x48) looks bad too.
OH you mean the icon is bad ? :) not the idea for a new icon for x64 MPC-HC ?
If that is what you mean then like I've said this is so we can add the code for a separate icon_x64.ico "until something better comes up "
Fell free to come up with something better but this was the closest icon to the current one (so the user still recognize the well known MPC-HC "brand" :) ) but different, that I could come up with
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.