View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
tetsuo55
26th August 2010, 17:40
The Morgan Stream Switcher was never included, we just removed the warning about it.
cca
26th August 2010, 18:19
Dunno about others but I also get a blank screen with 10bit RGB input enabled. Radeon 4850 with Catalyst 10.8 on Windows 7 64bit. But it is also dependent on the colorspace used. YV12 works correctly, YUY2 was horrible colors and NV12 has always blank screen.
Mercury_22
26th August 2010, 19:05
Dunno about others but I also get a blank screen with 10bit RGB input enabled. Radeon 4850 with Catalyst 10.8 on Windows 7 64bit. But it is also dependent on the colorspace used. YV12 works correctly, YUY2 was horrible colors and NV12 has always blank screen.
So basically you get black screen when using DXVA No?
edigee
26th August 2010, 20:48
So you have Surface A2R10G10B10 Backbuffer A2R10G10B10 Display A2R10G10B10 ? or you're just talking about the black screen ?
What OS are you using and what filters ?
Same thing happens in 3D3 fullscreen mode. OS is Vista 32bit and the filter is MPC_HC H264 (DXVA) for H264 videos anf ffdshow for divx.
@Mercury_22
I'm not getting blackscreen when using DXVA .It works as I said on the post above:
http://forum.doom9.org/showthread.php?p=1429339#post1429339
asarian
26th August 2010, 21:50
I'm trying to get %$%#$%^& Windows 7 to do something it should have done out of box: to play and support LPCM audio.
So, I downloaded the standalone filters for MPC, and ran a command like:
C:\Windows\SysWOW64\regsvr32.exe MPCVideoDec.ax
(After having coped the file there, of course). This does nothing for my LPCM audio, though. So, which filter do I need to register to get LPCM supported?
Thanks.
Anyone? Still can't get Windows Media Center to play LPCM audio.
SantinoSan
26th August 2010, 22:25
Anyone? Still can't get Windows Media Center to play LPCM audio.
Try installing graphstudio. You will need an additional proppage.dll file to get it to run properly. A quick google should turn up the info you need. Play the media with the LPCM audio through graphstudio and check what renderer is set for the audio. I don't think you need a decoder for LPCM, but I have found problems with media players not connecting the splitter audio out directly to the audio renderer.
Santino
Polcius
26th August 2010, 22:58
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.
Ryo94
27th August 2010, 05:02
Is there any way to create preset with the shaders? I want to apply some shaders in some xvid movies and other combination for x264 movies.
Aleksoid1978
27th August 2010, 06:41
Is there any way to create preset with the shaders? I want to apply some shaders in some xvid movies and other combination for x264 movies.
No - can't
edigee
27th August 2010, 06:49
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.
Yes ,same thing here.
I've just killed some time to check out and the problem with the massive CPU increase ussage lies somewhere between rev 2071 and 2075. So rev. 2071 is the last one in which CPU load is low as usual.
Edit: Please someone with a NVIDIA card check this out too....
cengizhan
27th August 2010, 07:16
So you don't get black screen when enable "Force 10-bit RGB Input" and "10-bit RGB Output" ?
And you also have
Surface A2R10G10B10 Backbuffer A2R10G10B10 Display A2R10G10B10 ?
Surface x8r8g8b8 backbuffer a2r10g10b10 display x8r8g8b8. So does this mean it is not working ? If i enable 10bit input then those weird colors appear
hoborg
27th August 2010, 07:17
Feature request:
MPC - Mpeg Splitter (Gabest) cannot split some MPEG-1 *.MPG files (https://sourceforge.net/apps/trac/mpc-hc/ticket/690)
BTW, it is working using LAVF splitter.
nevcairiel
27th August 2010, 07:24
Anyone? Still can't get Windows Media Center to play LPCM audio.
Just a silly question, but what make you think the file called "VideoDec" would actually help you with LPCM audio? :d
Try installing ffdshow and in the codecs list, enable RAW audio, and if a setting for LPCM exist, that too.
MPC-HTPC
27th August 2010, 08:06
Edit: Please someone with a NVIDIA card check this out too....
I just did a quick test in order to confirm the increased CPU usage. First of all the specs of the system I tested this on:
CPU: Intel Core Duo T2250
RAM: 2GB
GPU: Nvidia GeForce Go 7300
OS: WinXP SP3
And of course the revisions I used for testing and their respective CPU usage:
2071: mainly 15-25% CPU usage
2075: mainly 15-25% CPU usage
2350 (MSVC 2008): mainly 5-15% CPU usage
2353 (MSVC 2010): mainly 5-15% CPU usage
So on my system I noticed a decrease in CPU usage with the latest revisions and no increase between 2071 and 2075.
EDIT: I used an AVI-File (Xvid-Codec) with SD Resolution (640x480).
asarian
27th August 2010, 08:26
Try installing graphstudio. You will need an additional proppage.dll file to get it to run properly. A quick google should turn up the info you need. Play the media with the LPCM audio through graphstudio and check what renderer is set for the audio. I don't think you need a decoder for LPCM, but I have found problems with media players not connecting the splitter audio out directly to the audio renderer.
That seems like a good idea. Unfortunately, graphstudio says "Cannot render file" for every media file I give it (even files that play perfectly fine). And yes, I registered proppage.dll, but that made no difference. :( Thanks, anyway, it was a good suggestion.
Just a silly question, but what make you think the file called "VideoDec" would actually help you with LPCM audio? :d
It was the main file, it seemed, out of 30 or so others; and I didn't dare registering them all, as I'm unclear what possible harmful effect that could have.
Try installing ffdshow and in the codecs list, enable RAW audio, and if a setting for LPCM exist, that too.
Windows Media Center/Player don't use ffdshow (which I have installed, btw; and LPCM is set to enabled, of course).
Superb
27th August 2010, 08:59
@devs: building vsrip from the current trunk is possible even w/o the directx sdk installed.
i know that directx is required for mpc-hc's compilation (pixel shaders), but one should be able to build vsrip w/o it.
how? fixing the #includes in DSUtil library. everything required is already in the windows sdk (7.0 or 7.1).
tested w/ vs 2010.
Mercury_22
27th August 2010, 09:23
Surface x8r8g8b8 backbuffer a2r10g10b10 display x8r8g8b8. So does this mean it is not working ? If i enable 10bit input then those weird colors appear
Exactly
For a working 10-bit RGB = Surface A2R10G10B10 Backbuffer A2R10G10B10 Display A2R10G10B10 (showed in Display Stats Ctrl+J) you need to use "Force 10-bit RGB Input" for Surface A2R10G10B10 + "10-bit RGB Output" for Backbuffer A2R10G10B10 + "D3D Full screen Mode" for Display A2R10G10B10
edigee
27th August 2010, 09:33
I just did a quick test in order to confirm the increased CPU usage. First of all the specs of the system I tested this on:
CPU: Intel Core Duo T2250
RAM: 2GB
GPU: Nvidia GeForce Go 7300
OS: WinXP SP3
And of course the revisions I used for testing and their respective CPU usage:
2071: mainly 15-25% CPU usage
2075: mainly 15-25% CPU usage
2350 (MSVC 2008): mainly 5-15% CPU usage
2353 (MSVC 2010): mainly 5-15% CPU usage
So on my system I noticed a decrease in CPU usage with the latest revisions and no increase between 2071 and 2075.
EDIT: I used an AVI-File (Xvid-Codec) with SD Resolution (640x480).
Thanks
That's really interesting.
My oldie:
Intel E 1400, HD3650, 2GB, Vista 32 bit ,Catalyst 10.8
MPC_HC 2071,2075, 2099 plus the latest revision for testing
MPC Video decoder(DXVA)
file: H264 720 video(with DXVA enable)
As Polcius noticed before ,there is a big increase in CPU ussage from 2071 to 2075 (about 25%) for the same file with DXVA enable. Haven't tested yet for divx ,mpeg2,VC1 videos or using another decoder.
XhmikosR
27th August 2010, 10:43
@devs: building vsrip from the current trunk is possible even w/o the directx sdk installed.
i know that directx is required for mpc-hc's compilation (pixel shaders), but one should be able to build vsrip w/o it.
how? fixing the #includes in DSUtil library. everything required is already in the windows sdk (7.0 or 7.1).
tested w/ vs 2010.
I'm not interested to remove DXSDK from VSRip since it's already required for mpc-hc (and I don't have the time too). So provide a proper patch if you want this in the SVN.
Virtual_ManPL
27th August 2010, 11:58
Enabling "10-bit RGB Output" causes minimized MPC-HC to not render video in background.
Also in the end of 1-file playlist, MPC-HC will hangs, preventing file from replaying.
This is know and can someone confirm this too maybe ?
bumpu
and closing crash bug is fixed ? because I didn't see it any more in MSVC2010 builds
burfadel
27th August 2010, 12:57
Sorry if its already mentioned, I must have missed it, but whats the possibility of having colour management, full floating point processing etc using EVR sync renderer? I'm of course assuming EVR sync renderer is an extension of EVR-CP?...
MPC-HTPC
27th August 2010, 13:05
@ Virtual_ManPL:
The Crash-on-exit-bug, playlist bug and shader bug with MSVC 2010 builds were fixed by a patch from heksesang in revision 2267.
@ burfadel:
For more information about the newly introduced renderer settings (colour management, full floating point processing and so on) by a_afra, please refer to the respective items in the Wiki-Page:
http://sourceforge.net/apps/trac/mpc-hc/wiki/New_Renderer_Settings
cca
27th August 2010, 13:57
So basically you get black screen when using DXVA No?
That is correct, since DXVA2 uses NV12 anyway.
Superb
27th August 2010, 14:38
I'm not interested to remove DXSDK from VSRip since it's already required for mpc-hc (and I don't have the time too). So provide a proper patch if you want this in the SVN.Alright... I'll create one later today.
On another note, in trunk\src\Subtitles\RTS.cpp, lines 2640 & 2753 contain non-English comments and I get a warning about codepage issue. Might wanna edit them.
EDIT: Also DSUtil.cpp, line 2029 (should be changed to "Volapuk").
EDIT: Here is the patch fixing the #includes & the encoding issues... http://www.sendspace.com/file/yseg2n
sneaker_ger
27th August 2010, 15:10
Does this MPC security issue (http://www.exploit-db.com/exploits/14788/) also affect MPC-HC? Couldn't find anything in the changelog or this thread about it.
vBm
27th August 2010, 16:36
Does this MPC security issue (http://www.exploit-db.com/exploits/14788/) also affect MPC-HC? Couldn't find anything in the changelog or this thread about it.
Yes it does.
Just opened the ticket about it #694
wOxxOm
28th August 2010, 07:19
an interesting article (http://blog.mozilla.com/tglek/2010/04/07/icegrind-valgrind-plugin-for-optimizing-cold-startup/) on compile-time optimization of large applications' boot-time - it's for *nix but what if authors of mpchc could somehow use it on win32?
khagaroth
28th August 2010, 09:15
Visual studio supports profile guided optimization, but I don't think it would help much with MPC as it already has a lot of hand optimized code, but one never knows, should be worth a try.
wOxxOm
28th August 2010, 09:20
...but I don't think it would help much with MPC as it already has a lot of hand optimized code, but one never knows, should be worth a try.
just to reiterate the main idea - it's not a code optimization, it's a binary layout reordering, actually - now since exe is 10 MB, well...
fastplayer
28th August 2010, 11:21
just to reiterate the main idea - it's not a code optimization, it's a binary layout reordering, actually - now since exe is 10 MB, well...
Thanks to SuperFetch, SSDs etc. a non-issue.
Astrophizz
28th August 2010, 11:50
Not everyone has SuperFetch or an SSD...
namaiki
28th August 2010, 12:25
I noticed a huge CPU usage in non-DXVA files, like simple SD .avis.
I just did a quick test in order to confirm the increased CPU usage.
Thanks
That's really interesting.
Did you guys set your computers to the High Performance/Always On power profile before testing to make sure that Speedstep doesn't affect CPU usage statistics?
(i.e. 50%@1GHz = 25%@2Ghz, or something to that effect.)
edigee
28th August 2010, 13:47
Did you guys set your computers to the High Performance/Always On power profile before testing to make sure that Speedstep doesn't affect CPU usage statistics?
(i.e. 50%@1GHz = 25%@2Ghz, or something to that effect.)
No, It's set to "balanced". When I switch to "high performance" the CPU ussage is about 20-25% higher for the same file at the same time index and the same version of MPC-HC(2071).
Edit: Does that mean that later versions of MPC-HC act somehow like the whole system is set to "high performance"?
Momber
28th August 2010, 17:34
If you lurk around the AVSForum calibration threads, you'll find that most professional calibrators use a pure power curve around 2.35
Please specify "professional calibrators".
I use Equipment by Xrite (formerly known as Gretag/MacBeth) and it correctly defaults to 2.2.
*however*, only for a batcave and only if your display has a really good native contrast ratio (e.g. newer JVC projectors).
...and let's not forget, supports more than 8bit color depth internally.
Digital projectors in movie theatres work with 14bit color depth per channel in complete darkness (except for the stupid emergency exit signs LOL).
I will concede that under such circumstances a gamma higher than 2.2 makes sense and actually looks better.
But not in a middle-of-the road home cinema with 8bit amateur equimpent and with light bouncing back from white walls, ceiling, etc.
There, a gamma of 2.35 or 2.4 will effectively swallow perfectly good information. As in, kill it.
Just watch the night scenes in "Bridge on the River Kwai" or in some of the older "Dirty Harry" movies if you don't believe me.
Trust your eyes, folks!
Do not trust some software developers who don't know what they are talking about.
MPC-HTPC
28th August 2010, 18:29
Did you guys set your computers to the High Performance/Always On power profile before testing to make sure that Speedstep doesn't affect CPU usage statistics?
(i.e. 50%@1GHz = 25%@2Ghz, or something to that effect.)
My computer was set to maximum performance and nothing was slowed down.
Furthermore, as I stated in my post, I did not note a CPU using increase but a decrease. Therefore I could not reproduce the behaviour observed by Polcius and edigee.
nlnl
28th August 2010, 18:51
Feature request:
MADVR renderer has now interface for displaying text messages.
Can MPC НС output audio/subs track info when switching audio/subs and starting playback (what is current video/audio/sub tracks when MPC starts playback)?
From devinfo file:
(3) OSD text messages:
These messages are shown in the top left corner of the video rendering window.
The messages work in both windowed and fullscreen exclusive mode.
There can always be only one message active at the same time, so basically the
messages are overwriting each other.
[uuid("ABA34FDA-DD22-4E00-9AB4-4ABF927D0B0C")]
interface IMadVRTextOsd : public IUnknown
{
STDMETHOD(OsdDisplayMessage)(LPCWSTR text, DWORD milliseconds) = 0;
STDMETHOD(OsdClearMessage)(void) = 0;
};
Momber
28th August 2010, 21:19
When I enable D3D Fullscreen Mode and start a movie, my refresh rate switches from 47.952 (set by way of PowerStrip) to 60.000 Hz.
Why?
"Use autochange" is NOT enabled under Options > Playback > Fullscreen.
Using Vista SP2.
Also, I downloaded build 2371 today. The 7z file is named mpc-homecinema.2371_(x86)_msvc2008. The exe file contained in this archive is build 2354 however, which the version number in the player's window frame duly confirms.
alexins
28th August 2010, 22:23
Also, I downloaded build 2371 today. The 7z file is named mpc-homecinema.2371_(x86)_msvc2008. The exe file contained in this archive is build 2354 however, which the version number in the player's window frame duly confirms.
This problem is fixed, now available file the correct version.
Momber
28th August 2010, 22:27
How about the switch to 60 Hz? How can I avoid that with D3D Fullscreen?
Momber
29th August 2010, 01:41
I just watched a BluRay of "The Girl who played with Fire", which is a 1080i50 AVC video, and saw the exact same "micro-corruption" as on the more recent BBC HD transport streams.
So it's not the BBC's fault. It has something to do with deinterlacing.
Switching to the Cyberlink H.264 decoder (PDVD 8), I could see no corruption.
BTW, enabling "Force 10bit input" on 1080i H.264 files results in an extremely corrupted picture (MPC viddec + Cyberlink, but NOT with CoreAVC), while 10bit input has no adverse effect on 1080p streams.
Question: how can I enable 10bit output? No matter what I do, "Display" always shows X8R8G8B8 (Device= D3DDevEx).
Vista SP2, Radeon 3650, driver 8.723.0.0, EVR CP.
MPC-HTPC
29th August 2010, 01:57
No problem here with 10.7 and my ancient HD 3650! I mean 10-bit RGB is working fine .
On the other side the "force 10bit RGB feature" is working for most H264/AVC 720p or 10180p videos. Not working for 720p and 1080p DivX or xvid videos.
Working for me too(10.7 and 10.8). But only for H264/AVC videos and Mpeg 2 videos(tested only with 720p and 1080p ones). Not working with DivX and Xvid HD videos , not with a blackscreen but with someting like this guy has:
http://forum.doom9.org/showthread.php?p=1428597#post1428597
Same thing happens in 3D3 fullscreen mode. OS is Vista 32bit and the filter is MPC_HC H264 (DXVA) for H264 videos anf ffdshow for divx.
@Mercury_22
I'm not getting blackscreen when using DXVA .It works as I said on the post above:
http://forum.doom9.org/showthread.php?p=1429339#post1429339
According to edigee your ATI HD3650 should work with 10-bit output with the mentioned limitations on file formats.
Momber
29th August 2010, 04:34
According to edigee your ATI HD3650 should work with 10-bit output
Yeah well, it doesn't. That's why I asked.
MPC-HTPC
29th August 2010, 07:11
I thought that maybe edigee's enabled filters and working file-formats, that he mentioned in his quoted posts, could help you to setup your system accordingly and thus achieving 10 bit output. It's a pity that this does not work for you then.
edigee
29th August 2010, 07:49
Yeah well, it doesn't. That's why I asked.
Ok, here is my set up ,I think it might be helpful:
System: Intel E1400. Asrok 4CoreDualsata2 rev2 mobo.,HD 3650 AGP ,2Gb Ram, Vista 32bit.
Codecs: CCCP beta(wich contains a newer version of ffdshow with DXVA decoder for H264/AVC and VC1) .I use CCCP mainly because it's easier to register stuff to work in WMP11 and Media Center. So WMP and MC work with ffdshow DXVA decoder(plus ffdshow's own subtitle filter in order to get DXVA )
MPC_HC -latest revisions . I use MPC video decoder for H264/AVC and VC1 files ,ffdshow for DivX and xvid files and Microsoft Mpeg2 decoder for mpeg files(works better with 60fps videos). EVR CP renderer is used.
Drivers: Latest Catalyst AGP hotfix drivers(10.8 now)
AFAIK all ATI HD series cards support 10bit RGB ,I'll make further tests on a system with SP3 and HD3450 card.
Edit: my display is LG L246WH
Steveo08
29th August 2010, 09:12
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.
Mercury_22
29th August 2010, 11:28
Ok, here is my set up ,I think it might be helpful:
System: Intel E1400. Asrok 4CoreDualsata2 rev2 mobo.,HD 3650 AGP ,2Gb Ram, Vista 32bit.
Codecs: CCCP beta(wich contains a newer version of ffdshow with DXVA decoder for H264/AVC and VC1) .I use CCCP mainly because it's easier to register stuff to work in WMP11 and Media Center. So WMP and MC work with ffdshow DXVA decoder(plus ffdshow's own subtitle filter in order to get DXVA )
MPC_HC -latest revisions . I use MPC video decoder for H264/AVC and VC1 files ,ffdshow for DivX and xvid files and Microsoft Mpeg2 decoder for mpeg files(works better with 60fps videos). EVR CP renderer is used.
Drivers: Latest Catalyst AGP hotfix drivers(10.8 now)
AFAIK all ATI HD series cards support 10bit RGB ,I'll make further tests on a system with SP3 and HD3450 card.
Edit: my display is LG L246WH
What puzzle me it's that you didn't really give me a straight answer to my question: do you have Surface A2R10G10B10 Backbuffer A2R10G10B10 Display A2R10G10B10 ? and are you using DXVA ? cause your post above it's confusing like hell :
"So WMP and MC work with ffdshow DXVA decoder...I use MPC video decoder for H264/AVC and VC1 files ,ffdshow for DivX and xvid..!?" = you have divx and xvid (=mpeg4 asp) with DXVA ? and you get 10-bit RGB = Surface A2R10G10B10 Backbuffer A2R10G10B10 Display A2R10G10B10 using what decoder ?
EDIT:
From my tests when trying to get the full 10-bit RGB by enabling "Force 10-bit RGB Input" for Surface A2R10G10B10 + "10-bit RGB Output" for Backbuffer A2R10G10B10 + "D3D Full screen Mode" for Display A2R10G10B10
when I enable "Force 10-bit RGB Input" for Surface A2R10G10B10 I get
1. with a DXVA decoder a black screen
2. with a NON-DXVA decoder those "burned" colors
And since rev 1826 Revision 1826 - Directory Listing
Modified Sun May 2 01:20:06 2010 UTC (3 months, 4 weeks ago) by kinddragon
DX7 presenters splitter to several files
Improved Reset() handling (ticket #12) there is no more Display A2R10G10B10
Last working versions (that I can test) are catalyst 10.5a (for the black screen or "burned" colors) and rev Revision 1824 for Display A2R10G10B10
edigee
29th August 2010, 12:27
Of course I don't have DXVA for DivX and xvid files ,how could I? I get DXVA for H264/AVC files ,MPEG2 files and some VC1 ones. MPC video decoder is used only in MC_-HC ,maybe I wasn't too specific.
Question: As long as I didn't read all the posts above regarding the new EVR CP functions(force 10bit RGB ,colour management ,so) and consider ne a noob in all that stuff , can you tell me how to check if I get " Surface A2R10G10B10 Backbuffer A2R10G10B10 Display A2R10G10B10 "
Edit: I will post later some screens if it might be helpful.
nevcairiel
29th August 2010, 12:30
Actually, the latest generation of cards supports acceleration of MPEG4-ASP .. i just don't think there is a free decoder that supports it yet ;)
Mercury_22
29th August 2010, 12:32
Of course I don't have DXVA for DivX and xvid files ,how could I? I get DXVA for H264/AVC files ,MPEG2 files and some VC1 ones. MPC video decoder is used only in MC_-HC ,maybe I wasn't too specific.
Question: As long as I didn't read all the posts above regarding the new EVR CP functions(force 10bit RGB ,colour management ,so) and consider ne a noob in all that stuff , can you tell me how to check if I get " Surface A2R10G10B10 Backbuffer A2R10G10B10 Display A2R10G10B10 "
Ctrl+J or go to Renderer Settings -> Display Stats
edigee
29th August 2010, 12:48
http://img827.imageshack.us/img827/6574/capturestat.jpg
Here's what I get:
Surface A2R10G10B10 Backbuffer A2R10G10B10 Display X8R8G8B8
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.