View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
Hera
3rd December 2010, 00:27
With ATi 4250 Mobile, I noticed that MPC Video Decoder simply doesn't accelerate some videos. Forcing it will cause issues, MS's DTV-DVD doesn't fix it either.
The issues are not always, as in sometimes you can manage to watch an episode without an issue. But sometimes it just stalls, laggs, and becomes corrupted (The red/green lines jump up and down in a frenzy). Both EVR renderers do this... I think FF4 contributes.
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 10 frames
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Is it the whole thing that NV and Intel GPUs kick ATi's ass? Or is it a bug?
LigH
3rd December 2010, 08:17
DXVA has limits (e.g. Level 4.1, max. Reference frames related to the resolution). Breaking those limits with your AVC encoder settings may quite probably result in unaccellerated playback (if checked for before playback) or corruption (if playback is forced, compatibility checks disabled).
ajp_anton
4th December 2010, 01:28
In mkv files MPC-HC chooses always the first audio track instead of the one marked as the default.
(Don't know about subtitles or other filetypes.)
Also, matroska editions and chapters doesn't seem to work.
namaiki
4th December 2010, 01:34
Chapters work, at least, for me. Don't know about the rest.
robpdotcom
4th December 2010, 02:40
In mkv files MPC-HC chooses always the first audio track instead of the one marked as the default.
(Don't know about subtitles or other filetypes.)
Also, matroska editions and chapters doesn't seem to work.
You have to use Haali's splitter for editions and ordered chapters (I assume you mean ordered chapters, since normal chapters work file with MPC's internal splitter), and Haali will also select the track flagged as default.
war59312
4th December 2010, 06:29
Anyone successful at playing these videos with MPC-HC?
http://www.youtube.com/view_play_list?p=5BF9E09ECEC8F88F
Problem is that there is no video no matter what I try.
Play fine using the DivX Plus Player and use less than 20% CPU (Intel i7 930).
Tried with VLC too but lags like crazy.
mremulator
4th December 2010, 14:33
Guys,
Having a headache with auto change at the moment...
Basically, auto change works in terms of actually changing the displays refresh rate, however, the file (23.976 MKV for example) starts to play and is REALLY choppy? Is there was a way of delaying the file from playing for a few seconds perhaps... in order for the display to change properly first? If I manually change the refresh rate to 23Hz (23.976Hz) before playing the same file it's plays smoothly. Only auto change causes this problem.
I'd love this to work properly on my HTPC in the living room, but I've been trying on and off for weeks now without much luck.
Any ideas folks?
mariner
4th December 2010, 20:33
Anyone successful at playing these videos with MPC-HC?
http://www.youtube.com/view_play_list?p=5BF9E09ECEC8F88F
Problem is that there is no video no matter what I try.
Play fine using the DivX Plus Player and use less than 20% CPU (Intel i7 930).
Tried with VLC too but lags like crazy.
Did you try DiVAC?
DiAVC decoder, yet another fast H.264 high profile decoder (http://forum.doom9.org/showthread.php?t=143455)
dansrfe
5th December 2010, 07:13
Can the devs please look at including http://forum.doom9.org/showthread.php?t=153191&page=2 into all future mpc-hc builds, beta or stable.
ajp_anton
5th December 2010, 17:34
You have to use Haali's splitter for editions and ordered chapters (I assume you mean ordered chapters, since normal chapters work file with MPC's internal splitter), and Haali will also select the track flagged as default.
Problem is that Haali only seems to output one track at a time (don't really know how this works), so inside MPC-HC you can't do anything, you have to right-click the Haali icon to choose what goes through, which isn't really HTPC friendly.
robpdotcom
5th December 2010, 18:29
You should be able to select the streams through MPC-HC by: Right click > Navigate > Audio/Subtitle Language.
Spec-Chum
5th December 2010, 21:24
Guys,
Having a headache with auto change at the moment...
Basically, auto change works in terms of actually changing the displays refresh rate, however, the file (23.976 MKV for example) starts to play and is REALLY choppy? Is there was a way of delaying the file from playing for a few seconds perhaps... in order for the display to change properly first? If I manually change the refresh rate to 23Hz (23.976Hz) before playing the same file it's plays smoothly. Only auto change causes this problem.
I'd love this to work properly on my HTPC in the living room, but I've been trying on and off for weeks now without much luck.
Any ideas folks?
Known issue.
One temporary workaround is to bring up the options screen straight after going full screen (just press "O"), which smooths the playback.
I'm working on a permanent solution but my coding time is virtually non-existant at the moment, which I can only apologise for :(
ajp_anton
5th December 2010, 22:11
You should be able to select the streams through MPC-HC by: Right click > Navigate > Audio/Subtitle Language.
Thanks. Never checked the Navigation menu as the subtitles and audio submenus only showed a single track.
Is there a way to switch between editions too?
And are there any plans to add all these features into the built-in splitter so you don't have to get Haali's? Not that it matters much, just curious.
war59312
5th December 2010, 22:23
Did you try DiVAC?
DiAVC decoder, yet another fast H.264 high profile decoder (http://forum.doom9.org/showthread.php?t=143455)How to use it?
I tried downloading trial version and dropped in same folder as MPC but does not show up under external filters list?
LigH
5th December 2010, 23:56
As any DirectShow filter is to be used: It has to be registered into your Windows system (e.g. using "regsvr32") before using it as decoder, instead of MPC-HC internal decoders.
robpdotcom
6th December 2010, 01:02
Thanks. Never checked the Navigation menu as the subtitles and audio submenus only showed a single track.
Is there a way to switch between editions too?
I think the only way to switch editions is with the Haali tray icon.
mariner
6th December 2010, 02:47
How to use it?
I tried downloading trial version and dropped in same folder as MPC but does not show up under external filters list?
Click the Browse button.
snkv3000
6th December 2010, 13:01
thanks .
zefiend
6th December 2010, 13:46
Guys,
Having a headache with auto change at the moment...
Basically, auto change works in terms of actually changing the displays refresh rate, however, the file (23.976 MKV for example) starts to play and is REALLY choppy? Is there was a way of delaying the file from playing for a few seconds perhaps... in order for the display to change properly first? If I manually change the refresh rate to 23Hz (23.976Hz) before playing the same file it's plays smoothly. Only auto change causes this problem.
I'd love this to work properly on my HTPC in the living room, but I've been trying on and off for weeks now without much luck.
Any ideas folks?
I've found a solution myself. What I do is use ffdshow DXVA for video and disable desktop composition. No choppiness when I launch anymore. I am using the x64 version of mpc-hc and ffdshow without issue and that includes bitstreaming HD audio.
war59312
7th December 2010, 00:05
As any DirectShow filter is to be used: It has to be registered into your Windows system (e.g. using "regsvr32") before using it as decoder, instead of MPC-HC internal decoders.That results in an error:
"The module "diavc.ax" was loaded but the call to DLLRegisterServer failed with error code 0x80070005."
As expected really: http://www.di-avc.com/buynow.html
"(The register code can be gotten in property page also, don't use the regsvr32 to register it)"
Click the Browse button.Still does not show up after clicking browse and picking the file.
nurbs
7th December 2010, 00:20
If you are on Windows 7 (and Vista I guess) you need to run regsvr32 as admin or it won't work.
janos666
7th December 2010, 00:44
A found a workaround for the problem with the Absolute colorimetric rendering intent: The -u command in ArgyllCMS/colorprof makes the white point of the device absolute (instead of mapping it to the standard white) in cLUT profiles. So, your white point will always be corrected with any rendering intents. And (I think) it also leaves the door opened for black compensation (it's often used with relative colorimetric, while it's usually ignored with absolute colorimetric).
Too bad that I have serious near-black and near-white banding (with relative and absolute profiles as well). It can be a limitation of the 8-bit output. But I think that this default 64x64x64 3DLUT (I read it somewhere that MPC-HC creates a 64x64x64 3DLUT with lcms2 and uses it with a shader. But let me know if it changed...) can be too small for me (this LCD panel has very strange characteristics and I am expecting too much from it :D).
If it sounds easy to do, I would request an option to select the size of this matrix (between 64 and 256), for testing purposes.
And I would like to know if MPC-HC uses black compensation with relative colorimetric or not. (This is the third possible reason to the near-black banding.)
EDIT:
It seems like black compensation is useless with absolute cLUT profiles anyway. This option is ineffective in PhotoShop now (there is no any noticeable effect when I turn it on and off, even in 10-bit mode ; the difference was very noticeable with standard cLUT profiles). But it also seems like it's already applied on profile level (there is a notice about some extrapolation tricks in the ArgyllCMS documentation when you use this -u command). The Adobe ACE and Microsoft ICM color management engines don't cause black crush with absolute profiles (as they did it with standard profiles and disabled black compensation). So, one less thing to worry about, I guess.
There is a noticeable difference between 8 and 10-bit outputs in PS but the banding is always weaker in PS (even in 8-bit mode) than I experience in MPC-HC.
If it's not the lack of the black compensation (and I think it's eliminated) and not 8vs10 bit (I could test it with PS), I guess it's the limitation of the 64x64x64 3DLUT, or there is another problem/bug/limitation in the current lcms2 based MPC-HC implementation.
EDIT2:
Well... I think I give it up. The white balance and the black point is always correct in PhotoShop with an absolute cLUT profile (It works like charm). But it doesn't seem to matter in MPC-HC. There is no any change in the white temperature when I turn the color management ON and OFF in MPC-HC. (The display is a little yellowish now, so there should be, and there is in PS.) :(
mariner
7th December 2010, 03:10
That results in an error:
"The module "diavc.ax" was loaded but the call to DLLRegisterServer failed with error code 0x80070005."
As expected really: http://www.di-avc.com/buynow.html
"(The register code can be gotten in property page also, don't use the regsvr32 to register it)"
Still does not show up after clicking browse and picking the file.
Sorry to hear this. Perhaps a bad copy of MPC or DiAVC?
FYI, tested the violin maker clip on Q8400/HD5670/W7x86 system. Played beautifully with DiAVC, but built-in H264(FFMpeg) stuttered heavily. CORE did not work.
v0lt
7th December 2010, 10:55
MPC-HomeCinema 2753
MPC-HomeCinema.1.4.2752.x86(vs2008).exe
MPC-HomeCinema.1.4.2752.x86(vs2008).7z
StandaloneFilters.1.4.2752.x86(vs2008).7z
This is the version 2753, but in the properties stated in 2752.
In the 2753 version was updated just outside the library, perhaps for this reason the number is not changed.
betaking
7th December 2010, 12:58
MPC-HomeCinema 2753
MPC-HomeCinema.1.4.2752.x86(vs2008).exe (http://www.mediafire.com/?pwru2zh1j359a9t)
MPC-HomeCinema.1.4.2752.x86(vs2008).7z (http://www.mediafire.com/?6uguuf7uy3m67w9)
StandaloneFilters.1.4.2752.x86(vs2008).7z (http://www.mediafire.com/?xj1dqj59ndvywvo)
This is the version 2753, but in the properties stated in 2752.
In the 2753 version was updated just outside the library, perhaps for this reason the number is not changed.
thanks!:)
Lincoln Burrows
7th December 2010, 18:52
http://img338.imageshack.us/img338/8604/imagemawz.png
Have you guys figured out why there's a bug in the last MPC-HC version?
I can't enable or disable m2ts * subtitles anymore... when I click on "Subtitulos" nothing happens. It was working before I updated MPC, and I had left them disabled if I recall correctly. Now I can't enable/disable them anymore. Maybe it's a bug related to MPC's language? But I can't see how I am going to change back to english.
Edit: The installer gives the option to use english/portuguese and some other languages... Since I didn't changed anything in MPC's original settings (the ones I was using before I updated), this could be a bug... When I click in "Audio" (above "Subtitulos) it's not doing anything either.
* m2ts from some original BD folder, such as 000020.m2ts (video) with 20 GB from BDMV/STREAM, featuring different audio/subtitle streams. Everything was working fine before this update and nothing was changed in MPC's settings.
mremulator
7th December 2010, 19:26
I've found a solution myself. What I do is use ffdshow DXVA for video and disable desktop composition. No choppiness when I launch anymore. I am using the x64 version of mpc-hc and ffdshow without issue and that includes bitstreaming HD audio.
Cheers. Where is the "desktop composition" option please?
* Edit * Figured it out...
http://img714.imageshack.us/img714/603/mpchc.jpg
Works like a charm BTW... thanks! Also tested with CoreAVC and it's fine.
saint-francis
7th December 2010, 22:22
Cheers. Where is the "desktop composition" option please?
* Edit * Figured it out...
Works like a charm BTW... thanks! Also tested with CoreAVC and it's fine.
Yes. Also here too:
http://i182.photobucket.com/albums/x270/saint-francis-photos/Untitled-11.jpg
mark0077
7th December 2010, 23:08
Latest mpc has a bug with audio delay function. When I use plus minus keys during a movie. As I increase or decrease an audio blip appears every second. Can anyone reproduce this blip? In windows 7 64 bit.
Lincoln Burrows
8th December 2010, 00:53
Well, I just found out what was causing this bug and how I might change the languages, based on the picture above. Menu > View > Language > English, and then both Audio/Subtitles option are working again. That means I was right - there is a bug with the portuguese language that is making those options not work in the last MPC-HC version (nothing happens when you click them). To correct this bug I only had to change the language, and now I can watch the m2ts with subtitles as intended.
Ingram
8th December 2010, 07:14
Can someone explain to me why the average sync offset in the displayed stats changes depending on which display stats view you use? The first one (that displays everything) shows a higher sync offset than the other views. It also seems that when you turn off the stats the sync offset drops down a few ms. Turn stats back on and it will slowly rise back up to where I actually want it.
How can I be sure I'm getting my MS to where I want?
janos666
8th December 2010, 10:22
The auto-scale of that graph can be confusing. It seem that the scale is actually higher when you already have high values and it's smaller when you have small values. It exaggerates the relative differences (high looks higher and small looks smaller).
v0lt
8th December 2010, 15:25
I and Aleksoid1978 have altered "Boost" slider.
Now he operates from +0.0 to +10.0 dB. And not only works, but also shows :)
These values correspond to the factor 1.00...3.16 (originally 1.00...3.00)
In setting the values recorded in decibels (0,0...10,0).
http://img262.imageshack.us/img262/4628/audioboostremake1.png
MPC-HomeCinema.1.4.2754.x86_AudioBoost_remake1.7z
There is a proposal to make "Boost" slider with a range from -3.0 to +10.0 dB (or -6.0...+10.0 dB). What do you think?
Kado
8th December 2010, 16:56
@v0lt
Nice one! However I don't see much point in negative values, also it could not be called "Boost" anymore.
kutjong
9th December 2010, 00:36
@v0lt
Nice one! However I don't see much point in negative values, also it could not be called "Boost" anymore.
Yeah, gain might be a better suiting term.
v0lt
9th December 2010, 07:33
I can make a negative values a little later. There will have to redo the control and will need to add a tick to zero.
Now everything all right?
What do you think about "Balance" slider?
boyumeow
9th December 2010, 09:55
-12 to +12 decibels. I kind of like the number 12, a dozen of handful good sweets in my mouth :D.
sabret00the
9th December 2010, 12:55
Are we any closer to modernising the interface and assigning these bugs? Or at least setting a target milestone?
http://sourceforge.net/apps/trac/mpc-hc/ticket/366
http://sourceforge.net/apps/trac/mpc-hc/ticket/367
http://sourceforge.net/apps/trac/mpc-hc/ticket/368
Polcius
9th December 2010, 13:56
Question about ICC profiles and color management.
When I create an ICC profile, does it also adjust to the correct gamma and grayscale? Or does it just do an RGB primaries & secondaries calibration?
I've been taught to calibrate TV's, and in a TV you do a series of steps (gamma, grayscale, saturation, primaries...). What I'm asking is if an ICC profile is only pure colorimetry, or does it also correct the gamma, grayscale, etc...?
Thanks
JanWillem32
9th December 2010, 14:44
ICC profiles contain the complete data about the capabilities of your display, it's up to the program that uses the profile to convert input to output.
See this website for a good explanation of the rendering intents:
http://www.cambridgeincolour.com/tutorials/color-space-conversion.htm
entrecour
9th December 2010, 15:51
Apologies for double posting but I wonder is anyone able to confirm the suspected bug I mentioned in this post http://forum.doom9.org/showthread.php?p=1461084#post1461084.
I found another example of this yesterday - the subtitle language is correctly identifed in Properties / MediaInfo but it's not available in Navigate / Subtitles.
Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Language : Swedish
alexins
9th December 2010, 16:39
Media Player Classic HomeCinema (x86/x64), 1.4.2756 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-1-4-2756.html)
Changes (2755-2756): (http://www.xvidvideo.ru/logi-izmeneniy/log-izmeneniy-media-player-classic-homecinema.html)
update ffmpeg, MediaInfoLib to r3518, lcms;
add dpiAware in the manifest.
sansnom05
9th December 2010, 19:16
Well, I just found out what was causing this bug and how I might change the languages, based on the picture above. Menu > View > Language > English, and then both Audio/Subtitles option are working again. That means I was right - there is a bug with the portuguese language that is making those options not work in the last MPC-HC version (nothing happens when you click them). To correct this bug I only had to change the language, and now I can watch the m2ts with subtitles as intended.
Please try use the latest resource.dll with mpc-hc.exe, you can find them @Alexins site. Portuguese translator made some changes to translation including "subtitle" after r2746, that maybe the cause of your problem here.
Edit: sorry should try use resource.dll before r2746, or wait a bit till I fix all the different translations for Portuguese rc file.
Px
9th December 2010, 23:46
Is that expected behavior, that there is no deinterlacing on mpeg2 in dxva mode on intel 4x chipsets under Windows 7, or it is bug?
Sample - http://www.megaupload.com/?d=IZTDQ3IH
Aleksoid1978
10th December 2010, 04:57
Is that expected behavior, that there is no deinterlacing on mpeg2 in dxva mode on intel 4x chipsets under Windows 7, or it is bug?
Sample - http://www.megaupload.com/?d=IZTDQ3IH
Try on other MPEG2 Decoder that support DXVA - MS Internal in Win7, Cyberlink and compare.
Possible that Intel bad work with interlace material.
Mercury_22
10th December 2010, 10:44
Good news for ati users the 10-bit RGB input it's back with the new AMD Catalyst™ Display Driver 8.80 (http://forums.guru3d.com/showthread.php?t=334165) so no more black screen (with DXVA) or those "burn colors" (without DXVA) when enable "Force 10-bit RGB Input" for Surface A2R10G10B10 !
Now all that remains to do so we can get back the Full 10-bit RGB = "Force 10-bit RGB Input" for Surface A2R10G10B10 + "10-bit RGB Output" for Backbuffer A2R10G10B10 + "D3D Full screen Mode" for Display A2R10G10B10 is to revert or fix the rev 1826 Revision 1826 - Directory Listing
Modified Sun May 2 01:20:06 2010 UTC (7 months, 1 week ago) by kinddragon
DX7 presenters splitter to several files
Improved Reset() handling (ticket #12) so we can get Display A2R10G10B10 too
Edit: For those still getting those "burn colors" when enable "Force 10-bit RGB Input" remember not all filters are 10-bit RGB input "capable" e.g. MPC-HC's internal xvid/MPEG-4 filter (Windows 7's Mpeg4s Decoder DMO it's working !)
JanWillem32
10th December 2010, 13:08
Thanks for the news Mercury_22, I've been waiting for months on a working new driver. Let's hope for the the 10-bit path to open soon again, I liked it a lot in the past.
janos666
10th December 2010, 16:47
Thanks for the report.
Another news: Marti Maria fixed the lcms2 bug which caused bluish screen with the Absolute Colorimetric intent. -> Can you (devs) include the latest GIT version of lcms2 in the next MPC-HC SVN code?
So, only the 10-bit display mode left. But I am not sure about this question: Did you (Mercury_22) really achieve a true 10-bit output in the past with old drivers and old MPC-HC builds?
I have this "enable 10-bit pixel format" setting in the Workstation CCC. This is disabled by default and unaccessible with the Radeon CCC. It shuts Aero down and let PS to render in 10-bit. So, what is this? Why is this here if I don't really need it?
And according to your forum signature, you are using HDMI. It's theoretically capable to carry "up to 16 bit/color" but FirePro and Quadro cards let you use 10-bit mode with DisplayPort connection only (officially).
Not if I could achieve full 10-bit pipeline in MPC-HC with this FirePro and DP connection anyway (I tried the MPC-HC build you mentioned but it never worked for me)...
nijiko
10th December 2010, 16:59
Feature request:
Add compiled date and time in the about window, like ffdshow.
Mercury_22
10th December 2010, 18:14
Thanks for the report.
Another news: Marti Maria fixed the lcms2 bug which caused bluish screen with the Absolute Colorimetric intent. -> Can you (devs) include the latest GIT version of lcms2 in the next MPC-HC SVN code?
So, only the 10-bit display mode left. But I am not sure about this question: Did you (Mercury_22) really achieve a true 10-bit output in the past with old drivers and old MPC-HC builds?
I have this "enable 10-bit pixel format" setting in the Workstation CCC. This is disabled by default and unaccessible with the Radeon CCC. It shuts Aero down and let PS to render in 10-bit. So, what is this? Why is this here if I don't really need it?
And according to your forum signature, you are using HDMI. It's theoretically capable to carry "up to 16 bit/color" but FirePro and Quadro cards let you use 10-bit mode with DisplayPort connection only (officially).
Not if I could achieve full 10-bit pipeline in MPC-HC with this FirePro and DP connection anyway (I tried the MPC-HC build you mentioned but it never worked for me)...
Using rev 1824 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-svn-1824.html) and this drivers I can get Surface A2R10G10B10 + Backbuffer A2R10G10B10 + Display A2R10G10B10 so...
I recommend you to disable everything in CCC's Video settings except :"Use automatic deinterlacing" & "Pulldown detection" and also use "Disable desktop composition (Aero)" in MPC-HC beside all other settings for Full 10-bit RGB
Disabling "Enable dynamic contrast" it's "mandatory" for Full 10-bit RGB to work
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.