View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
honai
24th March 2009, 19:13
Are you using onboard LAN? If so, it might use up too much CPU (up to 30% even on i7), and many LAN drivers for onboard solutions are also known to cause lag spikes due to bad interrupt handling.
Also, on Vista there is a known "feature"/bug that causes network bandwidth to be limited when a certain audio path is used for playback (Microsoft introduced this in Vista to avoid audio distortion due to excessive interrupts by other devices, i.e. network cards).
cheetah111
24th March 2009, 19:31
First of all thanks to all people working for this great project.
My problem:
As I use various configurations of internal and external filters depending on the content that I am watching (Cyberlink Powerdvd H264 Decoder for H264, internal VC1 Decoder for VC1, etc.), I have to change all the time the merits of the external filters and change configurations. Is there a way to save my configurations as profiles and load the right profile for the type of file that I want to watch?
Thanks.
Beliyaal
24th March 2009, 19:53
First of all thanks to the MPC-HC developers for a fantastic player which I never fail to recommend.
Now I'm having problems playing from a NAS. A 2hr 4.5Gb video file might be copied from the NAS to the local hard drive in 10mins, so bandwidth is approx 10 times more than necessary. But when playing on MPC-HC direct from the NAS, there is trouble with stuttering resulting from buffer underruns. This happens on many files with some variation in the bitrate that causes problems, with the files in general using the internal MPC-HC decoder with DXVA active.
Any ideas how to fix this? I've tried changing the buffer settings but it doesn't do much good. It's a gigabit connection with jumbo enabled but speed is limited by the NAS; nevertheless it should be several times faster than necessary. Thanks for any help.
Are you using the official version? I improved the streaming performance in the SVN version some time ago. If you haven't done so already you might want to try if it works better with the latest SVN build, or my build.
carlo_0000
25th March 2009, 01:31
hello
just to say that i resolve all my probleme
i tested arcsoft codec and it s the best one on my media center
using ati hd2400 pro and no sse2 cpu (athlon xp)
1080i dvb now plays fine
i m olso surpised with mpchc i can play 1080p x 264 level 5.1 with dxva and olso with subtitles
i read somewere what ati does not support level 5.1 dxva
and olso cannot load subtitle (.srt) with dxva enable
but it work very great, i m now able to watch x264 encoded with level 5.1 and subtitles
:):)
edit: ok not all files plays fine in level 5.1 , tested some old files @5.1 and didn't play fine
DeathWolf
25th March 2009, 01:36
suggestion: adding an option NOT to disable vsfilter.(fAutoloadSubtitles is broken in some way that even if mpc's subs are not enabled it still is enabled)
See:
--- src/apps/mplayerc/FGManager.cpp
@@ -2244,11 +2244,11 @@
// Block VSFilter when internal subtitle renderer will get used
if(s.fAutoloadSubtitles)
And:
--- src/apps/mplayerc/mplayerc.cpp
fAutoloadSubtitles = !!pApp->GetProfileInt(ResStr(IDS_R_SETTINGS), ResStr(IDS_RS_AUTOLOADSUBTITLES), IsVistaOrAbove() || !IsVSFilterInstalled() );
Reason?
Because the internal subtitler does not fit all tastes(ar reasons, lack of updates, options, etc) and one might want the autoloading vsfilter to be used instead.
jimz06
25th March 2009, 02:21
I'm having a problem with a straight .m2ts rip of Master and Commander blu ray. The disc plays fine on the PS3 and the rip plays fine on Popcornhour and in MPC-HC with CoreAVC. With DXVA though I get occasional image breakups like the following:
Clean Picture (http://home.comcast.net/~thesoubras/Pictures/Clipboard05.jpg)
and then just a second later the breakup:
Picture Breakup (http://home.comcast.net/~thesoubras/Pictures/Clipboard02.jpg)
I've tried the stable release and the 988 release with no difference and also played right off the disc to rule out problems with the rip. CPU usage is in single digits or teens so DXVA is working. Same repeatable problem on two different computers, one with an 8500GT and the other with a GTX 260. Is this some issue with my setup or am I running into some sort of limitation of MPC-HC?
Just wanted to report that this nagging issue of intermitment image breakup was fixed for me somewhere between svn 1005 and svn 1015. Fix confirmed on two problem files! Thanks to the developers!:thanks:
Mixer73
25th March 2009, 06:26
Now I'm having problems playing from a NAS. A 2hr 4.5Gb video file might be copied from the NAS to the local hard drive in 10mins, so bandwidth is approx 10 times more than necessary. But when playing on MPC-HC direct from the NAS
I'm going to presume you're running on Vista, because its easily explained.
Vista contains an inbuilt QOS throttle for LAN connections while you are using "multimedia" applications, so that network access won't interrupt your sound or video playback.
The problem is that the throttle is wrong by an order of magnitude, instead of a 5% reduction in bandwidth, it is throttled TO 5%.
I'm paraphrasing here but you get the idea. There's various reg fixes for it if it turns out to be the cause.
clsid
25th March 2009, 12:57
@DeathWolf
All you need to so is disable the internal subtitle filter. Then VSFilter will get used.
The code you quoted is used only for setting the initial value of the option. It does not override your changes.
Mercury_22
25th March 2009, 13:23
Since we are talking about subtitles, I have two problems too:
- with external subtitles (.srt or .sub) when playing ts or m2ts files I have to press Reload every time !
- also it's NOT possible to change from external subs to PGS and vice versa !
DeathWolf
25th March 2009, 13:30
EDIT: actually it seems that even if the Play->Subtitles menu does not have the enabled ticked, the autoloader is still loaded.(through the pref I previously mentionned)
Meaning the internal renderer is not active but it's still blocking DirectVobSub(autoloading).
hence the confusion ensued.
Mike5
25th March 2009, 17:20
Now I'm having problems playing from a NAS...when playing on MPC-HC direct from the NAS, there is trouble with stuttering resulting from buffer underruns.
I had a similar problem with MKV containers, then changed the splitter from the MPC-HC internal one to Matroska Splitter and the stuttering (which was very heavy) disappeared.
Now i regularly play MKV video files from a server via a 100Mb Ethernet with MPC-HC without problems, both in XP and in Windows 7 (never tried Vista).
alexins
26th March 2009, 00:07
Media Player Classic HomeCinema (x86/x64), svn 1018 (http://www.xvidvideo.ru/content/view/686/1/)
Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA
Changes log (http://www.xvidvideo.ru/content/view/7/17/)
NEW : Recent files menu(request #2704198); Update resource files.
St Devious
26th March 2009, 03:00
How does recent files menu work, its always grayed out for me, tried opening 5-6 files but still greyed
also i saw that the G45 recently got support for DXVA acceleration. I'm not much familiar with DXVA terminology, so could somebody please explain it to me , if the G45 can do what is done on Nvidia and ATI gpu's regarding MKV/H.264 acceleration.
Aleksoid1978
26th March 2009, 03:24
How does recent files menu work, its always grayed out for me, tried opening 5-6 files but still greyed
see in Options - http://pic.ipicture.ru/uploads/090326/thumbs/UO3LQ9r6SU.png (http://ipicture.ru/Gallery/Viewfull/16237166.html)
also i saw that the G45 recently got support for DXVA acceleration. I'm not much familiar with DXVA terminology, so could somebody please explain it to me , if the G45 can do what is done on Nvidia and ATI gpu's regarding MKV/H.264 acceleration.
Yea - now MPC-HC can use DXVA for H264/AVC on G45 chipset
Snowknight26
26th March 2009, 04:04
Yea - now MPC-HC can use limited DXVA for H264/AVC on G45 chipset
Fixed for the time being. ;)
cengizhan
26th March 2009, 04:37
NEW : Recent files menu(request #2704198); Update resource files.
This is really good news. Thanks
St Devious
26th March 2009, 05:21
see in Options - http://pic.ipicture.ru/uploads/090326/thumbs/UO3LQ9r6SU.png (http://ipicture.ru/Gallery/Viewfull/16237166.html)
Yea - now MPC-HC can use DXVA for H264/AVC on G45 chipset
thanks you.
are there any restrictions to what kind of H.264 encoded files can be played like the 5.1 profile on ATI and Nvidia GPU's. Any idea of the performance.
Mixer73
26th March 2009, 12:26
Hi guys
I'm using 1010 x64 build and I just found a wierd bug, if you have one video playing and if you drag another one in, it is playing both videos, and when you press stop it only stops the second one.
Also if you move the window from one screen to the other you get a crash.
I am running Vista x64, 4GB RAM, Q6600, Intel 965 board, 9800GT Nvidia card.
Aleksoid1978
26th March 2009, 14:11
I'm using 1010 x64 build and I just found a wierd bug, if you have one video playing and if you drag another one in, it is playing both videos, and when you press stop it only stops the second one.
I am running Vista x64, 4GB RAM, Q6600, Intel 965 board, 9800GT Nvidia card.
Yes, it sometimes happens. Just do not pay attention until the correct.
Also if you move the window from one screen to the other you get a crash.
Disable Shader - it's not a MPC-HC, it's a video driver or Microsoft windows bug. This happens not only at Nvidia, this happens on any video cards.
Egh
26th March 2009, 16:00
Disable Shader - it's not a MPC-HC, it's a video driver or Microsoft windows bug. This happens not only at Nvidia, this happens on any video cards.
Don't jump to conclusions as yet: I actually reported myself several bugs related to moving the window to a different monitor, and they were dully ignored :rolleyes:
They also were no way related to shaders. Older SVN revisions used to crash with VMR9/EVRCP if you move the window with stats displayed pretty often. Especially this patched version (plain SVN used to crash less frequently but still).
There are other bugs reported (not crashes) like rebuilding chain in the wrong way when moving downscaled video to a different monitor, but they all been reported in the main overloaded MPCHC thread and therefore dully ignored :)
theres a minor issue like this one :
http://forum.doom9.org/showthread.php?p=1264477#post1264477
khagaroth
26th March 2009, 21:28
What's "IDS_AG_TOGGLE_EDITLISTEDITOR" and all the ...EDL... strings in the resource file, it's hard to translate if I don't know what it is, and I don't see it anywhere in the GUI. Also, shouldn't the IDS_AG_EDO_NEW_CLIP be IDS_AG_EDL_NEW_CLIP?
Mixer73
26th March 2009, 21:47
Disable Shader - it's not a MPC-HC, it's a video driver or Microsoft windows bug. This happens not only at Nvidia, this happens on any video cards.
Well it doesn't happen with PowerDVD or WMP so it is neither a video driver or a MS Windows bug.
Another question - to be able to use FFDShow post-processing I need to install x64 version of FFDShow too?
CSMR
26th March 2009, 22:09
Are you using the official version? I improved the streaming performance in the SVN version some time ago. If you haven't done so already you might want to try if it works better with the latest SVN build, or my build.
OOPS, novice mistake! Yes I was using the official build not the SVN. Thanks for your work, yes huge improvement in streaming!
Spec-Chum
26th March 2009, 23:04
Guys, I'm trying to compile MPC-HC to have a tinker, but I'm running into an issue with version.h, it's not there :( I can see from post #4853 that is should get generated, but doesn't.
Any help appreciated.
*edit* D'OH! Never mind, I got it. I was doing a debug build, didn't occur to me to try a release...
Spec
Casimir666
26th March 2009, 23:38
What's "IDS_AG_TOGGLE_EDITLISTEDITOR" and all the ...EDL... strings in the resource file, it's hard to translate if I don't know what it is, and I don't see it anywhere in the GUI. Also, shouldn't the IDS_AG_EDO_NEW_CLIP be IDS_AG_EDL_NEW_CLIP?
I have commited the resource but not the associated code. Those string will be the name of shortcuts in option dialog box. Toggle edit list will display a window to define clips in a file.
You are right, the EDO should be a EDL :(
Leak
26th March 2009, 23:44
Guys, I'm trying to compile MPC-HC to have a tinker, but I'm running into an issue with version.h, it's not there :( I can see from post #4853 that is should get generated, but doesn't.
I'll just assume you've used TortoiseSVN to check out the source code.
If so, open a command prompt, cd to the source code's "include" directory and run
subwcrev .. SubWCRev.conf Version.h
to generate the Version.h file. (SubWCRev is installed with TortoiseSVN, that is...)
np: Sten - Take Me To The Fridge (The Essence)
Aleksoid1978
26th March 2009, 23:51
Well it doesn't happen with PowerDVD or WMP so it is neither a video driver or a MS Windows bug.
PowerDVD or WMP don't use shader. Disable shader in MPC-HC and move from one monitor to other. I test - and it's work.
St Devious
27th March 2009, 01:59
with G45, are there any restrictions to what kind of H.264 encoded files can be played like the 5.1 profile on ATI and Nvidia GPU's. Any idea of the performance.
Aleksoid1978
27th March 2009, 02:04
with G45, are there any restrictions to what kind of H.264 encoded files can be played like the 5.1 profile on ATI and Nvidia GPU's. Any idea of the performance.
Ati don't play 5.1 profile with DXVA.
krbo
27th March 2009, 10:26
Catalyst 9.3 @ ATI HD3200
Vista 32 ultimate EVRCP
HDMI connection
bug: recent SVNs (1xxx, 1015 last tested, 891 is OK)
play video , change TV channel and go back so HDMI (EDID) handshake starts.
After 2-3 flickers video is frozen, audio plays.
Beliyaal 1015 - (default settings) - video continues to play with enormous stutter at half fps approx.
No start/stop/pause/minimize/maximize can defreeze video. MPC must be restarted.
As I said v. 891 - all OK
Spec-Chum
27th March 2009, 11:49
I'll just assume you've used TortoiseSVN to check out the source code.
If so, open a command prompt, cd to the source code's "include" directory and run
subwcrev .. SubWCRev.conf Version.h
to generate the Version.h file. (SubWCRev is installed with TortoiseSVN, that is...)
np: Sten - Take Me To The Fridge (The Essence)
Sorry Leak, didn't notice your reply, first time I've used tortoise :) I resolved it by doing a release build.
Many thanks for the reply though
Richardw322
27th March 2009, 14:05
A novice question. Is it possible to use MPC_HC to playback MP3 files using the order in the tag rather than the file list order? Short of creating a playlist, that is. That is the only reason I keep using WMP. IF MPC would do that I would uninstall WMP in Windows 7. I don't care about the pretty album art BS, just the playback order.
DeathWolf
27th March 2009, 14:21
@DeathWolf
All you need to so is disable the internal subtitle filter. Then VSFilter will get used.
The code you quoted is used only for setting the initial value of the option. It does not override your changes.
I know. It still is confusing because the enable button lets one think autoload is disabled(since it seems to keep its state)
clsid
27th March 2009, 14:28
loading subs and showing/hiding them are two different things
DeathWolf
27th March 2009, 15:00
Not when the hidden status persists.
What point is it to have both a permanent un-enabled yet have subs auto-load?
clsid
27th March 2009, 15:54
It is simply the way it has been implemented. Loading subs (which can also be done manually!) and toggling their display on/off are two separate use cases. If you don't to use the internal subtitle functionality, then turn auto-loading off. It is as simple as that.
DeathWolf
27th March 2009, 15:58
Is there any reason to want to make the vsfilter blocking internal though?
It'd be much clearer if it was added by default to the ext filters list as blocked.
And it'd allow people to do weird chans(double subs loading for example, which can be useful in some cases of work with subtitles)
cca
27th March 2009, 16:37
Is there any reason to want to make the vsfilter blocking internal though?
It'd be much clearer if it was added by default to the ext filters list as blocked.
And it'd allow people to do weird chans(double subs loading for example, which can be useful in some cases of work with subtitles)
From your perspective perhaps, but MPC is primarily a player indented for end users, so all the options are arranged and set with that in mind. Sure, it can do some more advanced stuff, but never forget who the main user will be. Siplicity is the key, and you cannot imagine how many messages about double (and unwanted) subtitles I read in this very forum until they blocked VSfilter internally.
mark0077
27th March 2009, 16:47
cca, just on that about mpc being designed for end user etc. I was thinking about some findings I have come accross over the past few months with regards to quality of playback with mpc out of the box.
===
For us PAL users, with 99% of disks being badly marked as coming from interlaced sources, there is one setting within mpc that I believe should be changed out of the box to reflect this problem.....or at least improved to explain this.
That is the de-interlacing settings in the mpeg2 decoder options. When building machines for my family and friends I always (when I decide to leave ffdshow out of the mix) set the de-interlacing mode here to weave OR set the interlaced flag to be sent to the gfx card if I trust it to do a good job (even when it de-interlaces when it shouldn't that is). This allows those users to have 99% of their mpeg2 content look perfect or pretty good in the case of de-interlacing when it shouldn't.
Of course they will see the mouse teeth on interlaced content with it forced to weave but the fact is, for PAL users at least, the mpeg2 de-interlacing being so reliant on the untrustable interlaced flag in DVD's is not a good thing yet and as I say, for most of PAL users content, will mean a half in their vertical resolution if things are left at defaults. Not good.
Any suggestions welcome. I am looking forward to two things in the future that might resolve this issue.
1) Better detection of interlacead vs progressive in software.
2) Improved software de-interlacers.
Until then, I suggest some sort of change to this section of the interface.
====
I was thinking also to help users, to have a first run configuration dialog, that might ask just 2 or 3 simple questions. How many speakers are you using for example, what region, PAL / NTSC (might help with the above problem), and maybe one or two more.
As is, I know alot of my friends, even the technical ones, wouldn't have a clue where to start after installing mpc, to get the best audio and video quality.
I have been designing lots of GUI's over the past few years so I wouldn't mind giving some input.
cca
27th March 2009, 17:18
I don't think letting the hardware do the deinterlacing is bad idea, after all if the algorithms function properly you shouldn't lose vertical resolution on real progressive movies. One thing to request though, the internal MPEG2 decoder does not output NV12 but only YV12 or YUY2. ATI cards need NV12 for vector adaptive deinterlacing, otherwise it only does adaptive or plain bob in the worse case.
Not a problem for me, I just use ffdshow with NV12 enforced, but it would helpful for others.
mark0077
27th March 2009, 17:42
I don't think letting the hardware do the deinterlacing is bad idea, after all if the algorithms function properly you shouldn't lose vertical resolution on real progressive movies. One thing to request though, the internal MPEG2 decoder does not output NV12 but only YV12 or YUY2. ATI cards need NV12 for vector adaptive deinterlacing, otherwise it only does adaptive or plain bob in the worse case.
Not a problem for me, I just use ffdshow with NV12 enforced, but it would helpful for others.
Yes if its done properly by definition it should be but its never the same. On both NVidia and ATI, I can tell the difference in quality. Watching the star wars intro scene shows it off quite well, the text moving into the distance. Even the hardware de-interlacers add a very slight twinkling effect to this scene when they incorrectly deinterlace to 50fps. 25fps material incorrectly de-interlaced, playing at 50fps is not as good as 25fps played progressively ever. OK it can get very close but when you see your contents frame rate being doubled you WILL lose quality as you know your hardware is doing some form of de-interlacing. The solution has to be better detection of interlaced vs progressive like some of the more expensive hardware players can do.
In any case, mpc-hc's default of depending on this flag, and then doing its own bob de-interlacing is an even worse idea, especially when the flag is wrong most of the time.
For me its either force weave, or maybe we could detect if newer cards are present, in that case default to sending the flag to the hardware. Your idea sounds good, using yv12 for NVidia and NV12 for ATI as the default output (when nv12 is an option). Maybe the output colorspace option could be set as "Auto" and it could smartly choose between the above depending on card.
Amazing how 2 tiny settings can have a terrible impact on quality for those that don't know what these things do.
fastplayer
27th March 2009, 20:25
MPC-HC is showing a flickering thin line on its left border when it is maximized. In the screenshot below the line is green but it keeps changing its color. This happens only in EVR, video format and decoder don't matter. Beliyaal's build has this problem too.
Going into full screen and back to maximized window state sometimes fixes the anomaly.
http://g.imagehost.org/t/0785/New_Bitmap_Image.jpg (http://g.imagehost.org/view/0785/New_Bitmap_Image)
Config:
Server 2008
Radeon HD4670
Catalyst 9.3
MPC-HC 1018
diman1982
27th March 2009, 23:03
i ve got a question, there are pan/scan options in mpc-hc. Why are they not working in vista/32bit/ evr renderer(the only one without tearing/sync problems)?
Mc Onyx
27th March 2009, 23:30
I was wondering if anyone know if it's possible to make MPC work with SubServer protocol as opposed to ISDB protocol for it's subtitle downloading option? Thanks.
Lincoln Burrows
28th March 2009, 01:05
While using MPC-HC I noticed a strange OSD in my screen while doing anything, the command is referred in the corner of the video... and I can't get rid of it. I never saw such thing while using the normal MPC. Is there a way to solve that?
If you don't noticed the same thing, I will try to get a picture as an example.Anyone? :rolleyes:
Here's one example:
http://img15.imageshack.us/img15/6809/rid.gif
Snowknight26
28th March 2009, 02:21
Options, Miscellaneous, uncheck OSD?
St Devious
28th March 2009, 04:34
Ati don't play 5.1 profile with DXVA.
what about nvidia and g45 ?
Kado
28th March 2009, 09:00
Nvidia plays 5.1 streams. (http://forum.doom9.org/showthread.php?p=1262877#post1262877)
Mixer73
28th March 2009, 11:13
PowerDVD or WMP don't use shader. Disable shader in MPC-HC and move from one monitor to other. I test - and it's work.
I'm not using any shaders at all.
krbo
28th March 2009, 12:30
Catalyst 9.3 @ ATI HD3200
play video , change TV channel and go back so HDMI (EDID) handshake starts.
After 2-3 flickers video is frozen, audio plays.
I'm pleased to report this is fixed in 1018.
thanks!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.