View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
Spec-Chum
27th October 2009, 21:01
indeed, mpeg2 is fixed, thanks !
You're welcome :)
Spec-Chum
27th October 2009, 21:22
Yes I do. MPC-HC used to strip off the HD portion, now it doesn't, so I think it is a regression, so maybe a quick fix? I know the audio system is being re-designed, but maybe this was commented out on accident.
Works fine here, used DTS-HD plays as DTS on my Denon amp (I don't have HD decoding on the amp or a DTS encoder).
I've tested with mpc 32 and 64 bit editions, but only on win 7.
What OS are you using, and can anyone else confirm this is happening?
regards
tetsuo55
27th October 2009, 21:23
nearly three months or one year?A new programmer will have to join specifically to work on bugs like yours
Anybody tried compiling w/ Visual Studio 2010 Beta 2?not yet, are you volunteering? :)
73ChargerFan
27th October 2009, 22:45
Works fine here, used DTS-HD plays as DTS on my Denon amp (I don't have HD decoding on the amp or a DTS encoder).
I've tested with mpc 32 and 64 bit editions, but only on win 7.
What OS are you using, and can anyone else confirm this is happening?
regards
I'm using Win7 x64, realtek spdif. Tested with realtek & ms drivers, and dx is up to date. Tested 1311 x86 & x64, no change.
Can someone upload some older compiles, svn 1180-1238, so I can test. EXE x86 only, about 2.5mb each.
avivahl
28th October 2009, 02:35
beliyaal just committed some fixes to the trunk.
Fixed: Scanline and refresh rate detection algorithm changed
Fixed: Scanline detection and sync was incorrect on rotated displays
Fixed: D3D device interference from other threads minimized
Added: TryLock added to CCritSec
http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc?view=rev&sortby=date&revision=1312
avivahl
28th October 2009, 06:53
I'm trying to compile the latest trunk and am getting the following two linker errors:
3>MPCVideoDecRU.lib(wcrtomb.o) : error LNK2019: unresolved external symbol __imp____lc_codepage referenced in function _wcsrtombs
3>MPCVideoDecRU.lib(mbrtowc.o) : error LNK2001: unresolved external symbol __imp____lc_codepage
Reading google, I found out the source of this is libmingwex.a... Some suggested of getting the problematic object file out of the lib, but I'm sure there's a more elegant solution...
Did anyone encounter this problem here? I'm using GCC-4.4.2 (MinGW) by komisar (http://komisar.gin.by/mingw/).
I also got this when using GCC-4.4.1-2 by TDM (http://www.tdragon.net/recentgcc/).
Should I try the previous branch by the official MinGW? or is there some kind of proper workaround?
Aleksoid1978
28th October 2009, 07:06
I'm trying to compile the latest trunk and am getting the following two linker errors:
Reading google, I found out the source of this is libmingwex.a... Some suggested of getting the problematic object file out of the lib, but I'm sure there's a more elegant solution...
Did anyone encounter this problem here? I'm using GCC-4.4.2 (MinGW) by komisar (http://komisar.gin.by/mingw/).
I also got this when using GCC-4.4.1-2 by TDM (http://www.tdragon.net/recentgcc/).
Should I try the previous branch by the official MinGW? or is there some kind of proper workaround?
Use gcc 4.5
_xxl
28th October 2009, 07:14
MPCVideoDecRU.lib(wcrtomb.o) : error LNK2019: unresolved external symbol __imp____lc_codepage referenced in function _wcsrtombs
3>MPCVideoDecRU.lib(mbrtowc.o) : error LNK2001: unresolved external symbol __imp____lc_codepage
Works fine with MinGW GCC 4.3.3.
avivahl
28th October 2009, 07:38
Use gcc 4.5Is 4.5 stable? Is there a mingw package of the latest trunk?
Works fine with MinGW GCC 4.3.3.Thanks. I'll try it w/ komisar's 4.3.4
cweb
28th October 2009, 07:58
indeed, mpeg2 is fixed, thanks !
mpeg2 dvb-s problem was solved for me too! Great..
Casimir666
28th October 2009, 08:26
Anybody tried compiling w/ Visual Studio 2010 Beta 2?
Done a quick test yesterday, compilation didn't works with VS2010. I suspect some troubles during project migration (especially on the output lib path for dependent projects)
avivahl
28th October 2009, 08:29
Alright... the linking issues I experienced might have to do w/ the fact I'm compiling w/ Visual Studio 2010 Beta 2. I got the same messages using both komisar's 4.3.4 AND the 4.3.3 custom install you guys linked to in the Compilation.txt. I might try the workaround people suggest on Google (modifying the libmingwex.a lib) later on today.
komisar
28th October 2009, 09:42
Hi, guys. What is the minimum requirements to reproduce "error LNK2019: unresolved external symbol __imp____lc_codepage referenced in function _wcsrtombs"?
Enough simple "configure && make"?
I will try to fix my mingw toolchain...
mariner
28th October 2009, 10:00
Greetings Casimir. I guess you did not get to read my earlier post, so here it is.
Greetings Casimir.
Arcsoft Video Decoder connectivity issue
Arcsoft has added support for media type {31435657-0000-0010-8000-00AA00389B71} in its latest decoder (version 160) for VC-1 contents, but the decoder is not getting loaded in MPC. MPC defaults to WMVideo Decoder DMO even when Arcsoft decoder is set to preferred in the external codec list. If WMVideo Decoder DMO is disabled, MPC complains about not finding a suitable decoder.
The new Arcsoft Video Decoder connects with MPC Source filter as well as other source/splitters in Graphedit and other DS players. For some reason it gets ignored in MPC. Would appreciate if you could kindly look into this issue.
Many thanks and best regards.
PS:
Did you also get a chance to look at my earlier post?
1920x1080x60p H264 mp4 playback problem, build 1290
Greetings Casimir.
1. Thanks for your continuing effort to improve MPC. Playback of 1920x1080x60p
h264 mp4 content no longer gives a back screen with Arcsoft MP4 Splitter/MPC
Decoder, but drops half the frames and plays at 30fps.
Using the internal splitter/MPC Decoder still produces a black screen.
2. The source frame rate reported by the OSD is somewhat suspect, as you can see
from the caps. It reports 59.937 with internal splitter, and 25.00 when MS
decoder is used. Hope you'll look into this.
3. Is there a reason the internal Matroska Splitter shares the same
clsid as Arcsoft Martroska Source filter -
{0A68C3B5-9164-4A54-AFAF-995B2FF0E0D4} ?
4. It seems that internal filters are no longer used when external filters are
set to preferred. Is this the correct behavior? I have always thought that
internals filters are always used when selected, regardless of the external
filters setting. Has this been changed?
Tested on Win 7 using EVR/CP.
Many thanks and best regards.
http://forum.doom9.org/attachment.php?attachmentid=10356&stc=1&d=1254592569
1440x1080x60p VC1 WMV playback problem, build 1290.
Greetings Casimir.
Just to let you know the internal MPC Video Decoder had problem with the above in
DXVA mode.
Tested fine with Arcsoft, MS MFT and NV MFT.
Link:
http://www.avsforum.com/avs-vb/showpost.php?p=17006927&postcount=63
Best regards.
http://forum.doom9.org/attachment.php?attachmentid=10358&stc=1&d=1254735826
THX-UltraII
28th October 2009, 10:36
any thoughts when the new MPC-HC (unofficial) build will be available with the gothsync renderer as option?
tetsuo55
28th October 2009, 11:20
I'm trying to compile the latest trunk and am getting the following two linker errors:
Reading google, I found out the source of this is libmingwex.a... Some suggested of getting the problematic object file out of the lib, but I'm sure there's a more elegant solution...
Did anyone encounter this problem here? I'm using GCC-4.4.2 (MinGW) by komisar (http://komisar.gin.by/mingw/).
I also got this when using GCC-4.4.1-2 by TDM (http://www.tdragon.net/recentgcc/).
Should I try the previous branch by the official MinGW? or is there some kind of proper workaround?
You probably have to re-create mplayerc.ru.rc in VS2010 BETA2.
VS2010 changes some include files, and the existing .rc is pointing to a function that changed names
More information here:
http://msdn.microsoft.com/en-us/library/799kze2z(VS.80).aspx
http://msdn.microsoft.com/en-us/library/f6xx1b1z(VS.80).aspx
alexins
28th October 2009, 12:38
Anybody tried compiling w/ Visual Studio 2010 Beta 2?
Don't pay attention to the VS2010 until no status RC, because much could change during this time.
p.s.
To work with VS2010, requires serious reconfiguration project MPC-HC.
tetsuo55
28th October 2009, 12:40
Don't pay attention to the VS2010 until no status RC, because much could change during this time.According to the release information and licence, Beta2 is feature complete.
The licence even states "Ready for production use"
Microsoft will only be working on further performance improvements and bugs found in Beta 2 for RTM (there will not be an RC)
mrtemp
28th October 2009, 14:02
when i change language from english to polish the submenu Audio and Subtitles (from right mouse button menu) does not work
in top menu everything is ok
http://img408.imageshack.us/img408/2996/nowy9.jpg
avivahl
28th October 2009, 14:27
Hi, guys. What is the minimum requirements to reproduce "error LNK2019: unresolved external symbol __imp____lc_codepage referenced in function _wcsrtombs"?
Enough simple "configure && make"?
I will try to fix my mingw toolchain...I wish it was a simple configure && make. In mpc-hc, they link the gcc-created libavcodec to the vs-created MPCVideoDec lib (they also link libgcc.a and libmingwex.a). Then, they link the resulted lib to the mpc-hc program.
Anyway, I ran the vs linker with the /VERBOSE flag so you'll get a log: http://www.sendspace.com/file/0burs2
You probably have to re-create mplayerc.ru.rc in VS2010 BETA2.
VS2010 changes some include files, and the existing .rc is pointing to a function that changed names
More information here:
http://msdn.microsoft.com/en-us/library/799kze2z(VS.80).aspx
http://msdn.microsoft.com/en-us/library/f6xx1b1z(VS.80).aspxWell, I know what the link errors are. The problem is that they are originated from code inside the libmingwex.a (that comes with GCC-MinGW).
I didn't even touch/compile the resource languages projects. It's not required for basic mpc-hc.exe compilation.
According to the release information and licence, Beta2 is feature complete.
The licence even states "Ready for production use"
Microsoft will only be working on further performance improvements and bugs found in Beta 2 for RTM (there will not be an RC)After a LOT of work on project settings and such, I got mpc-hc to compile, but not link (2 link errors left). I noticed VS2010Beta2 has some strange bugs where it freezes during compilation. Very annoying. Might actually have to wait for the RC (for it to be stable).
tetsuo55
28th October 2009, 14:39
I wish it was a simple configure && make. In mpc-hc, they link the gcc-created libavcodec to the vs-created MPCVideoDec lib (they also link libgcc.a and libmingwex.a). Then, they link the resulted lib to the mpc-hc program.
Anyway, I ran the vs linker with the /VERBOSE flag so you'll get a log: http://www.sendspace.com/file/0burs2
Well, I know what the link errors are. The problem is that they are originated from code inside the libmingwex.a (that comes with GCC-MinGW).
I didn't even touch/compile the resource languages projects. It's not required for basic mpc-hc.exe compilation.
After a LOT of work on project settings and such, I got mpc-hc to compile, but not link (2 link errors left). I noticed VS2010Beta2 has some strange bugs where it freezes during compilation. Very annoying. Might actually have to wait for the RC (for it to be stable).Good to hear about the results.
i read an MS thread about those linker errors when we tested BETA1 (no longer have the link) and MS staff said that if you recreate the rc files from vs2010 then the error would go away.
Also there are no plans for an RC, microsoft says VS2010 is finished, next release will be RTM
When you say compile but not link, does that mean you removed the file that was giving the error and have a working .exe?
EDIT:
Make sure you report all those problems to Microsoft(they have a site dedicated to vs2010 bugs) they think its stable. If you wait untill RTM to report these bugs they are unlikely to (ever) fix them.
Spec-Chum
28th October 2009, 15:05
After a LOT of work on project settings and such, I got mpc-hc to compile, but not link (2 link errors left). I noticed VS2010Beta2 has some strange bugs where it freezes during compilation. Very annoying. Might actually have to wait for the RC (for it to be stable).
I've spotted this:
http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=1&t=891
I've not got 2010 installed yet, so can't test, but it looks like it may be of some use...
regards
Spec
tetsuo55
28th October 2009, 15:06
@ Compilers:
We should work on getting MPC-HC and FFdshow compiling under VS2010 beta2 as soon as possible.
Microsoft thinks VS2010 is stable and ready for production use, from what i'm reading on the thread this is far from the truth.
We need to report every problem encountered to microsoft now, after RTM chances of getting them fixed are slim at best.
avivahl
28th October 2009, 15:38
Done a quick test yesterday, compilation didn't works with VS2010. I suspect some troubles during project migration (especially on the output lib path for dependent projects)Just noted your reply... yep, I had to change a LOT of dependent libs to get it compiled. Also note that the global Include/Lib paths feature was removed (http://blogs.msdn.com/vsproject/archive/2009/07/07/vc-directories.aspx) in this new version. It is now per project.
I've spotted this:
http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=1&t=891
I've not got 2010 installed yet, so can't test, but it looks like it may be of some use...
regards
SpecYep, that's exactly the same site I was talking about when I wrote (http://forum.doom9.org/showthread.php?p=1338748#post1338748) "Google"... :) Note that they worked around the problem by modifying libmingwex.a. Not so user-friendly, I would say.
Casimir666
28th October 2009, 19:38
Greetings Casimir. I guess you did not get to read my earlier post, so here it is.
Mpc matroska splitter was existing before Arsoft, if they have the same Clsid this is really weird.... (i didn't investigate on this).
When external filter are set to prefered it's normal they are use instead of internal filter (they are prefered :p)
I have answer for other questions. Your VC1 file is on my disk, but don't know when I'll have time to look for it.
Brazil2
28th October 2009, 21:00
3. Is there a reason the internal Matroska SPlitter shares the same clsid as Arcsoft Martroska Source filter -
{0A68C3B5-9164-4A54-AFAF-995B2FF0E0D4} ?
I can confirm that the CLSID of Arcsoft Matroska Source filter (not the Arcsoft Matroska splitter) is:
{0A68C3B5-9164-4A54-AFAF-995B2FF0E0D4}
I don't know about the MPC-HC one though since I don't use it as an external filter.
clsid
28th October 2009, 21:52
Perhaps they 'borrowed' Gabest's code and forgot to change the value.
Brazil2
28th October 2009, 22:38
Perhaps they 'borrowed' Gabest's code and forgot to change the value.
You're right, they did it:
StringFileInfo
Comments.http://gabest.org/
CompanyName..Gabest
FileDescription..Matroska Splitter
FileVersion..1.0.0.4
InternalName.Matroska Splitter
LegalCopyright.Copyright (C) 2003-2006 Gabest
OriginalFilename.MatroskaSplitter.ax
ProductName..Matroska Splitter.4..ProductVersion.1.0.0.4
Casshern
29th October 2009, 00:50
Good to see beliyaal back,
but the change to TryLock instead of CCritSec does not work for me. Now i got tearing, before i had none with my config:
WIN 7, EVR CP, VSYNC On, Alternate Vsync On, Desktop compositon disabled, everything else off, DXVA, Radeon 2600 Pro AGP, Catalyst 9.5.
Trylock does not seem neccessary and locks the device for too long. Pre 1312 versions work perfectly!
thanks,
Casshern
P.S.: If trylock fixes something for somebody else, maybe it should be made optional
beliyaal just committed some fixes to the trunk.
http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc?view=rev&sortby=date&revision=1312
avivahl
29th October 2009, 13:46
@komisar: after checking some of the sources of mingwex online, I found the following file:
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/mingwex/mb_wc_common.h?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=src
It is included and used from mbrtowc.c and wcrtomb.c.
The question is: where is __lc_codepage implemented?
mariner
29th October 2009, 14:07
Greetings Casimir. Thanks for the kind reply.
I have answer for other questions....
??? Sorry, but I can't seem to locate your earlier reply.
Anyway, regarding Arcsoft VC1 Decoder connectivity problem, it was noted that earlier versions of the decoder only supported media type {629B40AD-AD74-4EF4-A985-F0C8D92E5ECA} and hence could not connect to MPC's internal source filter. Now that support for media type {31435657-0000-0010-8000-00AA00389B71} has been added to the new version 160 decoder, and yet the problem persists. Is this something difficult to fix?
I find this problem a little perplexing because the two connects well in Graphedit and other DS applications.
Many thanks and best regards.
mariner
29th October 2009, 14:22
You're right, they did it:
StringFileInfo
Comments.http://gabest.org/
CompanyName..Gabest
FileDescription..Matroska Splitter
FileVersion..1.0.0.4
InternalName.Matroska Splitter
LegalCopyright.Copyright (C) 2003-2006 Gabest
OriginalFilename.MatroskaSplitter.ax
ProductName..Matroska Splitter.4..ProductVersion.1.0.0.4
Greetings Brazil.
Thanks for this amazing piece of info.
The culprit is AsMatroskaSplitter.ax, which is registered during TMT's installation. It has to be unregistered if one needs to use MPC's internal matroska splitter.
There is actually a second second mkv splitter included, called MatroskaSplitter.ax. This has a a different clsid . Someone messed up, so it seems.
Best regards.
Casimir666
29th October 2009, 15:28
Greetings Casimir. Thanks for the kind reply.
??? Sorry, but I can't seem to locate your earlier reply.
Anyway, regarding Arcsoft VC1 Decoder connectivity problem, it was noted that earlier versions of the decoder only supported media type {629B40AD-AD74-4EF4-A985-F0C8D92E5ECA} and hence could not connect to MPC's internal source filter. Now that support for media type {31435657-0000-0010-8000-00AA00389B71} has been added to the new version 160 decoder, and yet the problem persists. Is this something difficult to fix?
I find this problem a little perplexing because the two connects well in Graphedit and other DS applications.
Many thanks and best regards.
Oups sorry mistype my message : I have no answers to your other questions.
komisar
29th October 2009, 16:29
@komisar: after checking some of the sources of mingwex online, I found the following file:
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/mingwex/mb_wc_common.h?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=src
It is included and used from mbrtowc.c and wcrtomb.c.
The question is: where is __lc_codepage implemented?
try -lmsvcrt while linking...
tetsuo55
29th October 2009, 16:37
Hello everyone.
We have made some changes to our webpage on sourceforge.
The tracker, changelog and WIKI have been moved to TRAC
Tracker: http://sourceforge.net/apps/trac/mpc-hc/report (tickets have to be moved manually unfortunately)
Changelog: http://sourceforge.net/apps/trac/mpc-hc/timeline
WIKI: http://sourceforge.net/apps/trac/mpc-hc/wiki (formatting of the old pages is broken and still needs to be fixed)
The forum and maillinglist have been removed too.
We have replaced the forum with PHPBB: http://sourceforge.net/apps/phpbb/mpc-hc/index.php
I would like to ask everyone that had anything on the old forum or tracker that is still unresolved to add those to the new forum or tracker(whichever is more appropriate)
We have also updated (read greatly simplified) the troubleshooting and bug reporting guidelines (unfortunately formatting is broken)
You can read them here: http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines
avivahl
29th October 2009, 17:24
try -lmsvcrt while linking...
It gave me many other linker errors stating "already defined" on many crt functions. I think the crt is already linked automatically (due to the /MT compilation flag). Anyway, I think that function is not exported any longer in the new CRT. It was undocumented, so they might have removed it in VS2010.
EDIT: I am now checking the CRT source that comes w/ vs. Will report more later.
EDIT2: Alright. I have to admit that I'm not much of a pro in these stuff (exported stuff, shared dlls), but I think microsoft changed the constant UNIT to a function that returns an INT. Does that make sense?
_CRTIMP UINT __cdecl ___lc_codepage_func(void);(that's from C:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\setlocal.h)
Martin H
30th October 2009, 17:50
Bug/Feature request:
Vsfilter is blocked if 'Auto-load subtitles' is enabled, but only if it's registered to the system, and not if used directly in MPC-HC through: 'External filters > Add filter > Browse'.
Also, 'Auto-load subtitles' only gets unticked upon startup, if Vsfilter is registered, and not if used directly in MPC-HC.
Thanks in advance!
Gleb Egorych
30th October 2009, 22:48
Good to see beliyaal back,
but the change to TryLock instead of CCritSec does not work for me. Now i got tearing, before i had none with my config:
WIN 7, EVR CP, VSYNC On, Alternate Vsync On, Desktop compositon disabled, everything else off, DXVA, Radeon 2600 Pro AGP, Catalyst 9.5.
Trylock does not seem neccessary and locks the device for too long. Pre 1312 versions work perfectly!
thanks,
Casshern
P.S.: If trylock fixes something for somebody else, maybe it should be made optional
Build 1312 cause problems for me too. I have stuttering, in Vista only at that.
Played H.264/AAC/MP4/29.97fps file on Vista x64/EVR-CP/optimal renderer settings/8800GT/FW191.07/ReClock. It's OK with rev1296. EVR-CP in WinXP is fine using both revisions.
betaking
31st October 2009, 02:29
Bug/Feature request:
Vsfilter is blocked if 'Auto-load subtitles' is enabled, but only if it's registered to the system, and not if used directly in MPC-HC through: 'External filters > Add filter > Browse'.
Also, 'Auto-load subtitles' only gets unticked upon startup, if Vsfilter is registered, and not if used directly in MPC-HC.
Thanks in advance!
if you use windows7 directly in MPC-HC through: 'External filters > Add filter > Browse' very useful!
Q: Subtitles are not displayed in Media Player Classic on Windows 7
A: Two solutions:
Make DirectVobSub a preferred filter:
MPC Options -> External Filter -> click "Add Filter..." -> select "DirectVobSub (auto-loading version)" and click OK -> choose "Prefer"
Enable the internal subtitle filter:
MPC Options -> Playback -> enable "Auto-load subtitles"
If you use mpc-hc on windows7 want to see two subtitles.you must do it!
Martin H
31st October 2009, 03:14
@betaking
You misunderstood my post...
@all
I'm talking about MPC(-HC)'s feature of using DShow filters directly from files without needing to register them to the system first, and that the changes* made to MPC-HC with regards to if vsfilter is detected or not, isn't applied when vsfilter is used in that way...
*MPC: Automatically block DirectVobSub filter (VSFilter) when the internal subtitle renderer will be used.
*MPC: The INITIAL value of the setting "Auto-load subtitles" will now default to OFF when DirectVobSub is detected as installed and to ON when DirectVobSub is not found.
(from guliverkli2 changelog, but also applies to MPC-HC)
betaking
31st October 2009, 03:34
@betaking
You misunderstood my post...
@all
I'm talking about MPC(-HC)'s feature of using DShow filters directly from files without needing to register them to the system first, and that the changes* made to MPC-HC with regards to if vsfilter is detected or not, isn't applied when vsfilter is used in that way...
*MPC: Automatically block DirectVobSub filter (VSFilter) when the internal subtitle renderer will be used.
*MPC: The INITIAL value of the setting "Auto-load subtitles" will now default to OFF when DirectVobSub is detected as installed and to ON when DirectVobSub is not found.
(from guliverkli2 changelog, but also applies to MPC-HC)
Revision 47 - Directory Listing
Modified Mon Mar 17 15:59:10 2008 UTC (19 months, 2 weeks ago) by clsid2
Added option to disable the automatic blocking of VSFilter when "Auto-load subtitles" is enabled and the internal subtitle filter is used. Disabling this block allows users to view two different subtitle languages at the same time (if they want to). The option is called "BlockVSFilter" and currently requires manual editing of the registry/ini, since it is not (yet) available in the GUI.
Revision 1226 - Directory Listing
Modified Thu Aug 13 19:40:56 2009 UTC (2 months, 2 weeks ago) by clsid2
Hidden option to disable the automatic blocking of VSFilter when using internal subtitle renderer. Useful when wanting to display two different subtitle files.
avivahl
31st October 2009, 03:41
Martin, well... but that initial value is set when MPC-HC is ran for the first time, isn't it? In that case, the "External Filters" list would be empty as well (default is empty... on first run), so it won't change the decision whether to activate it or not (the dicision will only be based upon if VSFilter is registered). Or do you want the check to happen again when you add VSFilter to the External Filters list? Or at every start up?
EDIT: just saw betaking's comment. maybe it's time for someone to add this feature to the GUI?
Martin H
31st October 2009, 04:03
@betaking
I know those changes, but they are unrelated to my issue i.e. i don't set that value... Thanks anyways :)
@avivahl
LOL - good point there, mate! I didn't even thought about that, as i make my own silent installer of MPC-HC + vsfilter which presets vsfilter as external filter through the registry, so it's enabled upon first startup, but of course that is a special case scenario obviously, and no need to change that...
But still however, there's one thing left, which to me also is the most important, and that is the following issue still isn't working with directly-used/unregistered vsfilter:
*MPC: Automatically block DirectVobSub filter (VSFilter) when the internal subtitle renderer will be used.
Thanks for your help, mate!
clsid
31st October 2009, 18:50
If you use MPC in such a way, then it would be a good idea to store its settings in an INI file. That way you have full control over the settings. Simply disable the internal sub render, et voila, problem solved.
Martin H
31st October 2009, 19:51
@clsid
Thanks for your reply, mate!
I know about the ini setting, but i don't believe the gabest code has been rewritten for that part, which i remember was much slower because of ineffecient coding of that part...
Anyway, i know that i can disable the internal sub-render, but the issue is that i normally use overlay mixer and hence needs VSFilter, but if i ever want's to change to one of the renderless modes(v7/9), then i don't want to use VSFilter, when that render allready supports subs internally.
Of course i can just disable VSFilter each time i change to a renderless mode, but i just thought that it was somewhat incoherent that the VSFilter blocking code didn't apply when using VSFilter directly/un-registered, and hence wanted to report it, as i believe that it wasn't thought about at the time it was implemented :)
I use VSFilter un-registered, since i only use it with MPC and hence, don't see the point in registering the filter to the whole system, and think that using it directly is "cleaner"...
Edit: I just retested the ini setting, and i can't tell the difference in speed, so thanks for reminding me of that option again! Also another cool thing i didn't knew about that option, is that it makes the generated file 'default.mpcpl' to be made in the app-folder and not in "%appdata%\Media Player Classic". Thanks again, mate!
clsid
31st October 2009, 22:05
It is also possible to load an unregistered filter through the command-line:
mpc-hc.exe /filter "vsfilter.dll"
Then you could make two .bat files. One for starting MPC with VSFilter, and one without.
Martin H
31st October 2009, 22:47
@clsid
Thanks for the tip, mate :)
Snowknight26
1st November 2009, 06:05
Did a recent revision change how MPC-HC handled DXVA on ATI cards? MPC-HC now tries to play all H.264 content with DXVA regardless of resolution/refs and causes noticable corruption in the video and occasionally on the desktop (http://i37.tinypic.com/2zex7w8.jpg).
avivahl
1st November 2009, 06:53
Alright... I uninstalled Visual Studio 2010 Beta 2 and reinstalled Visual Studio 2008 + SP1. Then I managed to compile MPC-HC with no issues using GCC-4.4.2-MinGW by komisar (as libavcodec's compiler).
I've noticed that the CRT source that comes w/ VS2008 does contain the missing declaration which broke linking w/ VS2010. It seems libmingwex uses an undocumented declaration which was removed in VS2010, and therefor any project linking to it (e.g MPCVideoDec) will have missing definitions at linking time.
Possible solution to get MPC-HC compiled w/ VS2010Beta2: someone has to fix libmingwex (at cygwin's CVS). :)
Anyway, I also noticed that the Trac wiki page regarding compilation is a bit outdated and has proper information mixed w/ unproper one.
ikarad
1st November 2009, 13:08
Hello everyone.
We have made some changes to our webpage on sourceforge.
The tracker, changelog and WIKI have been moved to TRAC
Tracker: http://sourceforge.net/apps/trac/mpc-hc/report (tickets have to be moved manually unfortunately)
Changelog: http://sourceforge.net/apps/trac/mpc-hc/timeline
WIKI: http://sourceforge.net/apps/trac/mpc-hc/wiki (formatting of the old pages is broken and still needs to be fixed)
The forum and maillinglist have been removed too.
We have replaced the forum with PHPBB: http://sourceforge.net/apps/phpbb/mpc-hc/index.php
I would like to ask everyone that had anything on the old forum or tracker that is still unresolved to add those to the new forum or tracker(whichever is more appropriate)
We have also updated (read greatly simplified) the troubleshooting and bug reporting guidelines (unfortunately formatting is broken)
You can read them here: http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines
could you explain how I post bug on the tracker because I don't understand how to do? it's very difficult
tetsuo55
1st November 2009, 13:37
could you explain how I post bug on the tracker because I don't understand how to do? it's very difficult
Go to this page: http://sourceforge.net/apps/trac/mpc-hc/newticket
Fill in the fields as best as you can.
make sure you used the troubleshooting guidelines before posting
: http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines
Polcius
1st November 2009, 14:10
Has anyone found a way to: Cyberlink MPEG-2 decoder when DXVA is enabled + Subtitles?
I'm really interested in that combination. Any fix/alternative to use DXVA+Subs wil help.
tetsuo55
1st November 2009, 15:03
Has anyone found a way to: Cyberlink MPEG-2 decoder when DXVA is enabled + Subtitles?
I'm really interested in that combination. Any fix/alternative to use DXVA+Subs wil help.
simply enabling the built in subtitle renderer will solve your problem afaik
JaDz
1st November 2009, 17:24
MPC-HC now tries to play all H.264 content with DXVA regardless of resolution/refs and causes noticable corruption in the video and occasionally on the desktop (http://i37.tinypic.com/2zex7w8.jpg).
Same here. Windows 7, ATI 4850.
Polcius
1st November 2009, 19:41
simply enabling the built in subtitle renderer will solve your problem afaik
No, it doesn't work.
clsid
1st November 2009, 20:02
You need to disable DXVA in the Cyberlink decoder or use the internal MPEG-2 decoder.
gngn
1st November 2009, 20:57
No, it doesn't work.
http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_cyberlinkmpeg2-IDCTsubs-1.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/cyberlinkmpeg2-IDCTsubs-1.png)
works fine here. the usual settings for DXVA on XP: VMR9renderless as output renderer, the internal subtitles renderer on.
Polcius
1st November 2009, 23:06
You need to disable DXVA in the Cyberlink decoder or use the internal MPEG-2 decoder.
Yes but if I do that I can't use DXVA in the internal MPEG2 decoder.
gngn, I don't fully understand this graph XD
gngn
2nd November 2009, 00:07
gngn, I don't fully understand this graph XD
admittedly, "that" graph was pretty much pointless :p
i put up a new screenshot to show that DVD-subs + DXVA (in my case mpeg2-IDCT) works on XP. dunno about win7 thou
Polcius
2nd November 2009, 01:15
admittedly, "that" graph was pretty much pointless :p
i put up a new screenshot to show that DVD-subs + DXVA (in my case mpeg2-IDCT) works on XP. dunno about win7 thou
But do you use any special settings in MPC-HC? (I mean, "not default")
GrofLuigi
2nd November 2009, 05:49
What is SPCDisableAnim=1 in ini file?
GL
namaiki
2nd November 2009, 05:50
In options -> subtitles -> disable animation (is ticked).
If auto-load subtitles is checked in playback, the internal subtitle renderer is enabled and then soft subtitle animation like karaoke will stay still on the screen.
boyumeow
2nd November 2009, 06:30
MPC-HC 1326
Изменения/Changes:
* CHANGED: Allow screensaver to activate when audio only (sleep is still stopped).;
Hi, I need someone to confirm that the above status not only allow screensaver to activate when audio only but happens when video too. Thanks.
Tenki
2nd November 2009, 07:34
Two problems in this version (1326) right now.
1.If I use DXVA, VobSub won't run, so I can't see any subtitles.
(this problem is since 130x, the previous version are ok.)
DXVA off:
http://img97.imageshack.us/img97/4628/nodxva.jpg
DXVA on:
http://img3.imageshack.us/img3/2817/dxva.jpg
You can see The DirectVobSub are disappear when DXVA run.
2. If I use MPC-HC to play DVD, MPC-HC can't change other subtitles when playing.
(this problem is since 130x, the previous version are ok.)
namaiki
2nd November 2009, 07:42
Tenki, you need to enable 'auto-load subtitles' and use the internal subtitle renderer if you want to use DXVA.
In MPC-HC, View -> Options -> Playback -> and make sure there is a tick next to 'auto-load subtitles'.
73ChargerFan
2nd November 2009, 07:42
I'd like copies of older mpc-hc releases, svn 1180 through 1235 or so.
If anyone has one or more, please pm me. Thanks.
Snowknight26
2nd November 2009, 08:43
When no DX9 compatible device (no video card) is installed in a machine running MPC-HC, several errors are throw:
EVR: CreateDevice failed, DX9AllocatorPresenter failed, D3DERR_NOTAVAILABLE
VMR9: CreateDevice failed, D3DERR_NOTAVAILABLE
VMR7: No video
Overlay: No video
Old renderer: Crash <-- shouldn't happen
System default (Video Renderer): No video
Should at least get video as it works fine in graphedit using Video Renderer.
namaiki
2nd November 2009, 09:08
When no DX9 compatible device (no video card) is installed in a machine running MPC-HC, several errors are throw:
EVR: CreateDevice failed, DX9AllocatorPresenter failed, D3DERR_NOTAVAILABLE
VMR9: CreateDevice failed, D3DERR_NOTAVAILABLE
VMR7: No video
Overlay: No video
Old renderer: Crash <-- shouldn't happen
System default (Video Renderer): No video
Should at least get video as it works fine in graphedit using Video Renderer.
Just curious, but what video card and OS?
Tenki
2nd November 2009, 10:25
namaiki, thank you.
But it only solve the first problem.
If I use MPC-HC to play DVD (file-> open disk), MPC-HC still can't change other subtitles when playing.
namaiki
2nd November 2009, 10:39
Tenki, in 'Navigate -> Subtitle Language', what options do you see there when playing that DVD?
Spec-Chum
2nd November 2009, 12:08
MPC-HC 1326
Изменения/Changes:
* CHANGED: Allow screensaver to activate when audio only (sleep is still stopped).;
Hi, I need someone to confirm that the above status not only allow screensaver to activate when audio only but happens when video too. Thanks.
Screensaver is still stopped when video is active. It will only activate when mpc-hc is playing only audio.
boyumeow
2nd November 2009, 12:30
@Spec-Chum,
Sorry for not being clear, I mean in full screen mode but not D3D mode. I did get screen saver activated when playing .avi, but it did not happens on previous mpc-hc. I did not change any status, so I'm not sure what went wrong too. I will try out the previous version again before I report again. Thanks.
Edit: Yes, I have confirm mpc-hc1326 kick-in screen saver in my case while mpc-hc1323 did not during full-screen (not sure about window mode as I did not check). Can any1 double confirm its just me or any1 else is getting it. Thanks.
tetsuo55
2nd November 2009, 13:14
@Everyone about DXVA and subtitles.
DXVA and subtitles officially only works when you use the internal subtitle renderer in combination with an internal DXVA decoder.
We know that for some people different combinations of subtitle renderer and DXVA do work, these combinations are however not officially supported.
If anyone has any detailed information, on how to improve the internal subtitle renderer to further improve the DXVA/Subtitle compatibility please provide us with a patch or detailed technical description
When no DX9 compatible device (no video card) is installed in a machine running MPC-HC, several errors are throw:
EVR: CreateDevice failed, DX9AllocatorPresenter failed, D3DERR_NOTAVAILABLE
VMR9: CreateDevice failed, D3DERR_NOTAVAILABLE
VMR7: No video
Overlay: No video
Old renderer: Crash <-- shouldn't happen
System default (Video Renderer): No video
Should at least get video as it works fine in graphedit using Video Renderer.Hello, its unfortunate that you got these results.
At this time we are only developing EVR-CP and VMR9-renderless, both depend on drawing a DirectX surface directly to the videocard, if the surface can not be created it will give you the errors you have reported.
It would be a good idea if someone could fix the cause of the crash in the old renderer (since its basically software based) and then applied a patch that would cause any failure of VMR9-R or EVR-CP to fall back to the old renderer.
tetsuo55
2nd November 2009, 15:06
Compiling news:
I have done some research, and it looks like MinGW64 can completely replace MinGW32.
It works on 32 and 64 bit hosts and can compile both the 32 and 64 bit build of mpc-hc (and probably the same for ffdshow)
It is already used to build a lot of other programs this way.
Available here: http://www.cadforte.com/downloads.html
it offers a choice between msys and cygwin, not sure which one is best for us?
Also, for x64 hosts they offer x64native compiling which should speed up the compiling time considerably.
hoborg
2nd November 2009, 15:21
admittedly, "that" graph was pretty much pointless :p
i put up a new screenshot to show that DVD-subs + DXVA (in my case mpeg2-IDCT) works on XP. dunno about win7 thou
Yep, working without any problem (navigation too), but WinXP only (no go on Vista/Win7)
http://hobring.esero.net/saf/DVD+DXVA+SUB.png
namaiki
2nd November 2009, 15:25
If anyone has any detailed information, on how to improve the internal subtitle renderer to further improve the DXVA/Subtitle compatibility please provide us with a patch or detailed technical description
I don't think this is what you meant, but would it be possible to make a setting where the subtitles texture resolution is the same resolution as the video?
For example, if I select 'Subtitles -> 'Maximum texture resolution' as 'Desktop', it will renderer subtitles in full screen at 1280x800 even though the video is 1280x720, that would be fine, however, sometimes there is positional text (eg signs), which will only render correctly over the video if the subtitle canvas is rendered over 1280x720 pixels (ie exactly over the video), and so it ends up that the sign is positioned either too low or too high compared to if it were being rendered by for example, the DirectVobSub external filter.
gngn
2nd November 2009, 16:15
... and so it ends up that the sign is positioned either too low or too high compared to if it were being rendered by for example, the DirectVobSub external filter.
check the option "Position subtitles relative to the video frame" under "Subtitles - Default Style".
Polcius
2nd November 2009, 16:54
@Everyone about DXVA and subtitles.
DXVA and subtitles officially only works when you use the internal subtitle renderer in combination with an internal DXVA decoder.
We know that for some people different combinations of subtitle
Ok. But is there a way to force DXVA (other than selecting auto-load subtitles and EVRCP in the options).
It's weird because in PowerDVD9, DXVA+Subtitles works, but it has a bug where some subtitle lines don't show up. Very annoying. I'm just asking these questions about DXVA because it's the only way I've found to get a PERFECT deinterlacing (using Ati Avivo).
Snowknight26
2nd November 2009, 17:23
MPC-HC displays video track information incorrectly:
http://i36.tinypic.com/14lhk3p.jpg
C:\unzipped\eac3to>eac3to.exe "D:" 1)
M2TS, 3 video tracks, 7 audio tracks, 5 subtitle tracks, 1:39:27, 24p /1.001
1: Chapters, 37 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (15:11)
4: h264/AVC, 480p24 /1.001 (20:11)
5: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
6: DTS, Spanish, 5.1 channels, 24 bits, 768kbps, 48khz
7: DTS, French, 5.1 channels, 24 bits, 768kbps, 48khz
8: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
9: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
10: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
11: AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB
12: Subtitle (PGS), English
13: Subtitle (PGS), Spanish
14: Subtitle (PGS), French
15: Subtitle (PGS), Spanish
16: Subtitle (PGS), French
Casimir666
2nd November 2009, 18:40
DXVA and subtitles offically only works when you use the internal subtitle renderer in combination with an internal DXVA decoder.
:confused::confused::confused::confused:
If a subtitling filter is connected between video decoder and renderer, DXVA cannot works. This limitation is caused by DXVA design, and cannot be changed. Only internal subtitle engine can works, because in this configuration subtitles are display by renderer (VRM9 renderless or EVR custom) and not by an intermediate filter.
tetsuo55
2nd November 2009, 19:32
Ok. But is there a way to force DXVA (other than selecting auto-load subtitles and EVRCP in the options).
It's weird because in PowerDVD9, DXVA+Subtitles works, but it has a bug where some subtitle lines don't show up. Very annoying. I'm just asking these questions about DXVA because it's the only way I've found to get a PERFECT deinterlacing (using Ati Avivo).Every application is only able to DXVA+Subtitles using their own decoder and renderer. (although some people do get lucky with other combinations, like the XP example above)MPC-HC displays video track information incorrectly:The internal splitter does not support multiple video streams at all, wierd behaviour is expected as it does try to do something with it.:confused::confused::confused::confused:
If a subtitling filter is connected between video decoder and renderer, DXVA cannot works. This limitation is caused by DXVA design, and cannot be changed. Only internal subtitle engine can works, because in this configuration subtitles are display by renderer (VRM9 renderless or EVR custom) and not by an intermediate filter.Which is exactly what i said
Jong
2nd November 2009, 21:02
Ok. But is there a way to force DXVA (other than selecting auto-load subtitles and EVRCP in the options).
It's weird because in PowerDVD9, DXVA+Subtitles works, but it has a bug where some subtitle lines don't show up. Very annoying. I'm just asking these questions about DXVA because it's the only way I've found to get a PERFECT deinterlacing (using Ati Avivo).Yes, we really need a built in MPEG2 decoder that supports HA deinterlacing (and preferably other DXVA acceleration too, although that is less important these days). This is stopping me moving to W7 right now as the Cyberlink decoder works with subtitles/DVD menus in XP, but not Vista/W7 (as I understand it).
THX-UltraII
2nd November 2009, 21:41
question about MPC-HC:
When I play a BD structure folder subtitles can be selected (with Haali splitter) however, they are not displayed. What could be wrong?
Polcius
2nd November 2009, 23:20
Yes, we really need a built in MPEG2 decoder that supports HA deinterlacing (and preferably other DXVA acceleration too, although that is less important these days). This is stopping me moving to W7 right now as the Cyberlink decoder works with subtitles/DVD menus in XP, but not Vista/W7 (as I understand it).
I totally agree.
Maybe I should create an XP partition...
Lincoln Burrows
3rd November 2009, 07:54
I hate when this sort of thing happens... and now it's not only limited to MPC, but other players as well.
Here's the situation: I tested the M2TS from one of CSI: LA (Blu-ray) episodes and MPC-HC is always using this filter to play those files which are using VC-1:
How to stop using WMVideo decoder DMO? (http://forum.doom9.org/showthread.php?t=111491)
And worst than that, even if I disable those Windows filters, the M2Ts files will not run. I tried several combinations, and also tried to force the external/internal filters from MPC-HC, ffdshow, Haali, etc.
Nothing seems to make those M2TS work (a black screen is what you get), except for adding the WMVideo decoder DMO as a new filter (that's right, we need to add) in the MPC-HC External Filter's section. :(
tmbt
3rd November 2009, 08:30
Polcius :
In ati Avivo settings try to remove the flag on "useautomatic deinteralacing" and select manually a deinterlacing method. Works great for me and i don't need dxva anymore.
Andy o
3rd November 2009, 09:47
question about MPC-HC:
When I play a BD structure folder subtitles can be selected (with Haali splitter) however, they are not displayed. What could be wrong?
As far as I understand, you need to use the internal TS splitter and the internal sub renderer for them to work.
THX-UltraII
3rd November 2009, 09:52
As far as I understand, you need to use the internal TS splitter and the internal sub renderer for them to work.
How do I use the internal TS Splitter and the internal sub renderer?
Lincoln Burrows
3rd November 2009, 09:53
As far as I know, Haali can't display those subtitles, it's returning all sorts of errors, I don't know why. You need to activate VMR 7 or 9 renderless in the MPC-HC internal settings to display them.
Also, try to force MPC-HC to use ffdshow Video Decoder instead of Haali's, if that tip doesn't help.
P.S. Regarding my previous post, this is the first time I am seeing a M2TS file that is requiring me to disable VC1 (ffmpeg) and only use WMVideo decoder DMO. I tested other movies and they played fine, even the ones who used VC-1. Is there something wrong with some of them? This is really strange. And TMT is the only player that is not having any lag while playing this BD project, even when displaying subtitles. I heard somewhere that enabling VMR 7/9 renderless is requiring too much from the video card? Mine is NVidia 8800 GTS 512 MB, plus a Q9450/2GB RAM/XP SP3 system.
THX-UltraII
3rd November 2009, 10:05
As far as I know, Haali can't display those subtitles, it's returning all sorts of errors, I don't know why. You need to activate VMR 7 or 9 renderless in the MPC-HC internal settings to display them.So by using VMR9 instead of EVR Custom MPC-HC can show the subtitles of a BD folder AND still use Haali Splitter?
Also, try to force MPC-HC to use ffdshow Video Decoder instead of Haali's, if that tip doesn't help
I use noth ffdshow Video Decoder and Haali auto-loads. What do you mean exactly?
Mercury_22
3rd November 2009, 10:28
As far as I know, Haali can't display those subtitles, it's returning all sorts of errors, I don't know why. You need to activate VMR 7 or 9 renderless in the MPC-HC internal settings to display them.
Also, try to force MPC-HC to use ffdshow Video Decoder instead of Haali's, if that tip doesn't help.
P.S. Regarding my previous post, this is the first time I am seeing a M2TS file that is requiring me to disable VC1 (ffmpeg) and only use WMVideo decoder DMO. I tested other movies and they played fine, even the ones who used VC-1. Is there something wrong with some of them? This is really strange. And TMT is the only player that is not having any lag while playing this BD project, even when displaying subtitles. I heard somewhere that enabling VMR 7/9 renderless is requiring too much from the video card? Mine is NVidia 8800 GTS 512 MB, plus a Q9450/2GB RAM/XP SP3 system.
Regarding your VC-1 problem I'm almost sure it's a VC-1 i so none of the internal VC-1 filters it's able to decode it see http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines NOTE: Interlaced VC1 is not supported, because ffmpeg does not, ... For VC-1 interlaced material in EVR CP renderer Enable Frame Time Correction, but you have to disable this again for all other media ... Enable Frame Time Correction if you use WMVideo Decoder DMO
So by using VMR9 instead of EVR Custom MPC-HC can show the subtitles of a BD folder AND still use Haali Splitter?
I use noth ffdshow Video Decoder and Haali auto-loads. What do you mean exactly?
Use internal MPEG PS/TS/PVA and hit RELOAD in Subtitles menu (right click-> subtitles-> reload) also use EVR CP
hoborg
3rd November 2009, 10:58
Yes, we really need a built in MPEG2 decoder that supports HA deinterlacing (and preferably other DXVA acceleration too, although that is less important these days). This is stopping me moving to W7 right now as the Cyberlink decoder works with subtitles/DVD menus in XP, but not Vista/W7 (as I understand it).
That one of many reason why my HTPC is XP based.
krbo
3rd November 2009, 12:57
Can someone inform me(us) is there a problem with DXVA on Win7 with Catalyst 9.10 ?
For a week I'm testing Win7 32bit on amd780g platform (ATI HD3200) and can't have smooth DXVA with latest MPC HC and Catalyst.
Reproduction stutters no matter what sync/vcsyny/flush... option is enabled on EVR or VMR. It looks like there are not many dropped frames but stutter is clearly visible (like it plays in background and refreshes the screen from time to time). There are periods of smooth video then suddenly stutter starts like PC is busy with some backgorund task.
All of that is much, much better with 1043 version (without beliyaal addons) and no-dxva with CoreAVC is smooth without a problem.
Even earlier versions like 11xx works better then 13xx
As this can be Catalyst related (maybe some option to switch off ??) I would like to hear something from other ATI & Win7 DXVA users.
avivahl
3rd November 2009, 14:14
Can someone inform me(us) is there a problem with DXVA on Win7 with Catalyst 9.10 ?
For a week I'm testing Win7 32bit on amd780g platform (ATI HD3200) and can't have smooth DXVA with latest MPC HC and Catalyst.
Reproduction stutters no matter what sync/vcsyny/flush... option is enabled on EVR or VMR. It looks like there are not many dropped frames but stutter is clearly visible (like it plays in background and refreshes the screen from time to time). There are periods of smooth video then suddenly stutter starts like PC is busy with some backgorund task.
All of that is much, much better with 1043 version (without beliyaal addons) and no-dxva with CoreAVC is smooth without a problem.
Even earlier versions like 11xx works better then 13xx
As this can be Catalyst related (maybe some option to switch off ??) I would like to hear something from other ATI & Win7 DXVA users.Do you use the internal DXVA decoder or the one that comes w/ Windows 7? Try them both and compare.
Did you try the MPC-HC-Gothsync branch?
Jong
3rd November 2009, 15:45
That one of many reason why my HTPC is XP based.Yeah, but XP tears horribly for WPF and Flash-based apps with seemingly no way to fix it. I am sticking with XP for now as these are a minor interest at the moment - good Blu-ray, DVD etc. more important. But there will be a time when on-line video is critical and solving Silverlight/Flash etc.problems will be vital.
Peekstra
3rd November 2009, 16:19
@krbo: Have you configured MPC-HC to use the option "Process priority above normal" (directly located under player in the options screen) ?
Also, I could only get smooth playback by enabling "Disable desktop composition" (on Vista).
Lincoln Burrows
3rd November 2009, 16:49
Regarding your VC-1 problem I'm almost sure it's a VC-1 i so none of the internal VC-1 filters it's able to decode it see http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines ... Enable Frame Time Correction if you use WMVideo Decoder DMO
Use internal MPEG PS/TS/PVA and hit RELOAD in Subtitles menu (right click-> subtitles-> reload) also use EVR CPThat's right! CSI: Las Vegas is using 1080 interlaced. Since I don't wanna use "WMVideo Decoder DMO" is there something that I should do to display this M2TS file (other than using Total Media Theatre)?
I mean, whatever I do while using MPC-HC, it can't play (black screen) those M2TS files. Letting MPC use the WMVideo Decoder will make the image be displayed, but as I said before, the lag itself will not let you see things smooth so it will be useless. The lag is so awful that sometimes (specially when using renderless), the sound is out of sync. Even if I disable "VMR7/9 renderless" and choose to not display the subtitles, the image will have this issue. "WMVideo Decoder DMO" sucks, I wanted to use ffdshow Video Decoder from the start, but this M2TS interlaced material is not cooperating with me.
What should I do exactly to solve this issue? Or do you mean the ffmpeg (?) (VC-1?) decoder will support this 1080interlaced source only in the future, so I should only sit and wait until it's done?
EDIT: I found it: EVR Custom, like you said. Well, it's working, and still using the WMVideo Decoder. Subtitles also working. Sometimes the lag returns, but generally speaking is way better than before. What options should I select from here?
http://img18.imageshack.us/img18/1350/imagemwd.png
Px
3rd November 2009, 19:08
question about MPC-HC:
When I play a BD structure folder subtitles can be selected (with Haali splitter) however, they are not displayed. What could be wrong?
Same problem here, tried all this
As far as I understand, you need to use the internal TS splitter and the internal sub renderer for them to work.
As far as I know, Haali can't display those subtitles, it's returning all sorts of errors, I don't know why. You need to activate VMR 7 or 9 renderless in the MPC-HC internal settings to display them.
Also, try to force MPC-HC to use ffdshow Video Decoder instead of Haali's, if that tip doesn't help.
Use internal MPEG PS/TS/PVA and hit RELOAD in Subtitles menu (right click-> subtitles-> reload) also use EVR CP
nothing helps. Also, b1326 detects language of secondary stream incorrectly, it's chinese, b1249 recognize it right, but also doesn't show
http://img248.imageshack.us/img248/3352/20091103200357.th.jpg (http://img248.imageshack.us/i/20091103200357.jpg/)
Mercury_22
3rd November 2009, 19:52
That's right! CSI: Las Vegas is using 1080 interlaced. Since I don't wanna use "WMVideo Decoder DMO" is there something that I should do to display this M2TS file (other than using Total Media Theatre)?
I mean, whatever I do while using MPC-HC, it can't play (black screen) those M2TS files. Letting MPC use the WMVideo Decoder will make the image be displayed, but as I said before, the lag itself will not let you see things smooth so it will be useless. The lag is so awful that sometimes (specially when using renderless), the sound is out of sync. Even if I disable "VMR7/9 renderless" and choose to not display the subtitles, the image will have this issue. "WMVideo Decoder DMO" sucks, I wanted to use ffdshow Video Decoder from the start, but this M2TS interlaced material is not cooperating with me.
What should I do exactly to solve this issue? Or do you mean the ffmpeg (?) (VC-1?) decoder will support this 1080interlaced source only in the future, so I should only sit and wait until it's done?
EDIT: I found it: EVR Custom, like you said. Well, it's working, and still using the WMVideo Decoder. Subtitles also working. Sometimes the lag returns, but generally speaking is way better than before. What options should I select from here?
http://img18.imageshack.us/img18/1350/imagemwd.png
Well it depends on your graphic card I'm using Bilinear (PS 2.0) !
My recommendation for VC-1 i with WMVideo Decoder DMO:
1 reset MPC-HC settings to default ( + use EVR CP in XP)
2 disable both internal VC-1
3 a) for Windows 7 Enable Frame Time Correction + optional (= you have to decide / test if in your case it helps) Alternative VSync
b) for XP and Vista use "Reset to optimal renderer settings"
Same problem here, tried all this
nothing helps. Also, b1326 detects language of secondary stream incorrectly, it's chinese, b1249 recognize it right, but also doesn't show
http://img248.imageshack.us/img248/3352/20091103200357.th.jpg (http://img248.imageshack.us/i/20091103200357.jpg/)
How do you open BD ?
Follow this http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines and then report back with more info like your OS graphic card .....
And try this path to enable subtitles: Filters -> ...mpls-> subtitles. When you play "directly" the m2ts file do you have subtitles ?
Also you have to wait a few seconds before subtitles are displayed
Px
3rd November 2009, 21:01
How do you open BD ?
Tried both "Open DVD" and direct m2ts file open
Follow this http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines and then report back with more info like your OS graphic card .....
Ok, later, when got more free time
Mercury_22
3rd November 2009, 21:03
Tried both "Open DVD" and direct m2ts file open
Ok, later, when got more free time
Try open index.bdmv too !
donaldtone
4th November 2009, 02:02
mpc(with internal codecs) can not playback ogv made by last ffmpeg2theora v0.25.
anyway, the ogv file can be played well in mplayer cmdline version.
system: windows 2008, ie7, mpc 1.3.1326, mplayer MPlayer Sherpya-SVN-r27770-4.2.5.
ffmpeg2theora 0.25 (use new theora 1.1 edition).
mediainfo information:
General
ID : 4282 (0x10BA)
Complete name : C:\AutoFFmpegTheora\0373-svn.ogv
Format : OGG
File size : 25.5 MiB
Duration : 2mn 22s
Overall bit rate : 1 502 Kbps
Writing application : ffmpeg2theora-0.25+svn16605
SOURCE_OSHASH : 0cd96709c916c63f
Video
ID : 7152 (0x1BF0)
Format : Theora
Duration : 2mn 22s
Bit rate : 1 411 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 fps
Bits/(Pixel*Frame) : 0.153
Stream size : 24.0 MiB (94%)
Writing library : Xiph.Org libtheora 1.1 20090822 (Thusnelda)
Audio
ID : 29609 (0x73A9)
Format : Vorbis
Duration : 2mn 22s
Bit rate mode : Constant
Bit rate : 23.0 Kbps
Channel(s) : 1 channel
Sampling rate : 11.024 KHz
Resolution : 16 bits
Stream size : 400 KiB (2%)
Writing library : libVorbis 20090709 (UTC 2009-07-09)
Keiyakusha
4th November 2009, 02:32
mpc(with internal codecs) can not playback ogv made by last ffmpeg2theora v0.25.
Something like that already was reported a few times. Internal ogg splitter doesn't support such files. With Haali splitter should be ok.
donaldtone
4th November 2009, 03:44
Something like that already was reported a few times. Internal ogg splitter doesn't support such files. With Haali splitter should be ok.
Thank you very much. It works.
Anyway, will mpc fix this problem in the future edition?
DrNein
4th November 2009, 05:55
Yes, we really need a built in MPEG2 decoder that supports HA deinterlacing (and preferably other DXVA acceleration too, although that is less important these days). This is stopping me moving to W7 right now as the Cyberlink decoder works with subtitles/DVD menus in XP, but not Vista/W7 (as I understand it).
Have you tried the DXVA decoder included with the AVIVO package?
THX-UltraII
4th November 2009, 16:57
Quote:
Originally Posted by Andy o
As far as I understand, you need to use the internal TS splitter and the internal sub renderer for them to work.
How do I use the internal TS Splitter and the internal sub renderer?
no ideas anyone? (this topic is becomming way too big :) You place something and one day after it s 3 pages behind and no one read your post)
rack04
4th November 2009, 17:31
no ideas anyone? (this topic is becomming way too big :) You place something and one day after it s 3 pages behind and no one read your post)
Make sure MPEG PS/TS/PVA is selected as a source filter in the Internal Filters.
pirlouy
4th November 2009, 19:15
this topic is becomming way too big :) You place something and one day after it s 3 pages behind and no one read your post
Try and use the new forum:
http://sourceforge.net/apps/phpbb/mpc-hc/
gngn
5th November 2009, 00:02
Revision 1330
Modified Wed Nov 4 19:57:27 2009 UTC (2 hours, 37 minutes ago) by casimir666
Fixed : better detection of "Used For Reference Flags" (fix some broken DXVA samples)
great work Casimir666 !
every sample i complained about not working on XP is now playing. only on some H264/ts i need to switch to HaaliSplitter.
Tenki
5th November 2009, 06:44
Symantec Norton NIS 2010 SONAR2 always warning about MPC-HC 13XX, and then quarantine MPC-HC, can someone tell them to fix it?
73ChargerFan
5th November 2009, 07:02
Contact them, tell them it is a false positive. That is an "easy peasy" warning, because the executable / installer is not "digitally signed" and therefore is "suspicious."
lych_necross
5th November 2009, 07:13
I have noticed something strange about MPC-HC recently. Whenever I play a DVD with MPC-HC (1.3.1326.0) using reclock, I get a normal looking graph. Click Here for image (http://i34.tinypic.com/vs1khx.png). This graph shows a StdDev of 0.589ms. I have configured reclock to handle vsync and disabled vsync with mpc-hc in this screenshot.
Now, when I play the same movie with the same codecs, but no reclock, I get an entirely different graph. Click Here for the image (http://i35.tinypic.com/2v97vix.png). This graph shows a StdDev of 8.348ms. I have disabled reclock completely for this test and enabled vsync and accurate vsync.
Now here is whats strange. Even though these graphs tell me there should be a difference in jitter visually, I cannot perceive one. To my eyes, both movies play back the same. Is there a glitch in the statistics code that generates inaccurate results whenever reclock is used or am I just not able to see the difference.
Jong
5th November 2009, 11:10
I have noticed something strange about MPC-HC recently. Whenever I play a DVD with MPC-HC (1.3.1326.0) using reclock, I get a normal looking graph. Click Here for image (http://i34.tinypic.com/vs1khx.png). This graph shows a StdDev of 0.589ms. I have configured reclock to handle vsync and disabled vsync with mpc-hc in this screenshot.
Now, when I play the same movie with the same codecs, but no reclock, I get an entirely different graph. Click Here for the image (http://i35.tinypic.com/2v97vix.png). This graph shows a StdDev of 8.348ms. I have disabled reclock completely for this test and enabled vsync and accurate vsync.
Now here is whats strange. Even though these graphs tell me there should be a difference in jitter visually, I cannot perceive one. To my eyes, both movies play back the same. Is there a glitch in the statistics code that generates inaccurate results whenever reclock is used or am I just not able to see the difference.What refresh rate are you using? It is odd that in the Reclock graph no refresh rate is shown. It appears that with Reclock loaded you are using an exact multiple of the frame rate, but without Reclock you are using 60hz and the graph shows the usual 3:2 pulldown judder, which because it is regular and fast and been around a long time some people just do not notice.
Mercury_22
5th November 2009, 11:40
...
@tetsuo55
However DTS HD does not work because the HD blocks are stripped off by MPC splitter. I don't understand why, do you know something about it ?
...
Can someone please take a look at this problem ?
Also it seems to me that this apply to both MPC-HC's MPEG PS/TS/PVA and Matroska splitters
:thanks:
albain
5th November 2009, 11:52
Actually it only applies to M2TS streams. For MKV I get the DTS-HD blocks correctly
leeperry
5th November 2009, 12:43
3:2 pulldown judder, which because it is regular and fast and been around a long time some people just do not notice.
especially in the US I think? new TV sets seem to IVTC in realtime to 24fps, but for the past 40 years everyone's been watching 23.976@29.97 telecine content apparently? god bless PAL speed-up :devil:
and some TV channels also goof up w/ the telecine pattern...so I guess realtime IVTC can't be an exact science either.
Piyoko
5th November 2009, 16:24
Where is the new bug reporting guide? I mean the information you need to supply. I'm trying to add a bug to the new tracker, however when I look at this guide (https://sourceforge.net/apps/trac/mpc-hc/wiki/Bugs_-_Reporting), it says "2. fill in this checklist" but I don't see one.
Or is it referring to the A-F instructions below?
tetsuo55
5th November 2009, 19:27
Where is the new bug reporting guide? I mean the information you need to supply. I'm trying to add a bug to the new tracker, however when I look at this guide (https://sourceforge.net/apps/trac/mpc-hc/wiki/Bugs_-_Reporting), it says "2. fill in this checklist" but I don't see one.
Or is it referring to the A-F instructions below?
Thanks for the feedback
yes it refers to the A-F.
Do you have any tips for improving this line? so people will understand better?
Snowknight26
5th November 2009, 19:51
If you time it just right, pausing the video after you tried to seek to a frame and before MPC-HC actually shows that frame causes MPC-HC to think the video is paused but still play it. Subsequently trying to pause/play the video has effect.
Piyoko
5th November 2009, 21:59
Thanks for the feedback
yes it refers to the A-F.
Do you have any tips for improving this line? so people will understand better?
I guess you could put a colon after "fill in this checklist", move up the list a bit, and indent it. Or maybe change it to something like "Include the following in your report:"
Mostly though I was just confused because of the huge list of information you had to include previously, I thought it was referring to that.
lych_necross
6th November 2009, 01:13
What refresh rate are you using? It is odd that in the Reclock graph no refresh rate is shown. It appears that with Reclock loaded you are using an exact multiple of the frame rate, but without Reclock you are using 60hz and the graph shows the usual 3:2 pulldown judder, which because it is regular and fast and been around a long time some people just do not notice.
My refresh rate is 60hz (reclock detects it as 59.883 btw). Yeah, it seems that either reclock is not reporting the refresh rate or MPC-HC is unable to detect it while reclock is loaded. I didn't mention this before, but I am using Windows 7 x64. I don't know if I should create a bug tracker ticket or not (since it is could be a reclock problem).
Jong
6th November 2009, 13:42
My refresh rate is 60hz (reclock detects it as 59.883 btw). Yeah, it seems that either reclock is not reporting the refresh rate or MPC-HC is unable to detect it while reclock is loaded. I didn't mention this before, but I am using Windows 7 x64. I don't know if I should create a bug tracker ticket or not (since it is could be a reclock problem).It is very odd because the graph suggests the refresh rate is an exact multiple (or very close to an exact multiple) of the frame rate - there is clearly no 3:2 pulldown, as shown on your other screenshot :confused: You are sure you are not using Reclock scripting to change the refresh rate when Reclock is being used?
Anyway, I would not worry about it too much. If both look smooth to you, both in absolute terms and relative to each other, maybe your TV is performing inverse telecine as leeperry mentions, or maybe both have 3:2 pulldown and it does not bother you, or maybe you do not notice 3:2 pulldown.
Whatever, don't look too hard you only risk spotting something that has never bothered you in the past but which will then destroy your enjoyment for several months while you struggle to fix it!
Tenki
6th November 2009, 14:56
Will MPC-HC support Nvidia Cuda?
avivahl
6th November 2009, 15:24
Will MPC-HC support Nvidia Cuda?It supports DXVA, so why would you need CUDA instead? Is DXVA limited in comparison to CUDA? :confused:
DigitalDeviant
6th November 2009, 15:27
It supports DXVA, so why would you need CUDA instead? Is DXVA limited in comparison to CUDA? :confused:
Yes. In the very least with CUDA you can have intermediate filters between the decoder and the renderer (i.e. vsfilter or ffdshow raw video processing) and still get HW acceleration. With DXVA intermediate filters break HW acceleration.
avivahl
6th November 2009, 15:41
I see, thanks. I personally use the internal subtitle renderer and have no need for any other intermediate filter in the graph...
I guess some people would find a built-in CUDA decoder to be useful...
clsid
6th November 2009, 16:21
Fixing the current bugs is far more important.
Tenki
6th November 2009, 16:37
It supports DXVA, so why would you need CUDA instead? Is DXVA limited in comparison to CUDA? :confused:
Cuda can make some SD video looks like HD, and don't need too much CPU count.
POWERDVD 9 support Cuda, and it looks really better.
Keiyakusha
6th November 2009, 16:49
Cuda can make some SD video looks like HD, and don't need too much CPU count.
:eek: What do you mean? The talk here about just a decoder. Every h264 decoder should produce the same output. But not sure about VC1
Dark Eiri
6th November 2009, 17:35
I think he's talking about the "CUDA powered upscaling" on PowerDVD 9. It's not really HD. It's just really postprocessed.
Mercury_22
6th November 2009, 18:19
Actually it only applies to M2TS streams. For MKV I get the DTS-HD blocks correctly
Yes after more testing I can confirm that internal MPEG spitter it's stripping off the HD from DTS-HD but the internal Matroska splitter doesn't
korsan
6th November 2009, 22:39
I have placed all subtitles (srt) in a seperate folder (subtitles).
How can I configure mpc to read the subtitles from there?
Thanks.
Keiyakusha
6th November 2009, 22:42
MPC-HC should do that by default. Check if your subs are named correctly...
Polcius
6th November 2009, 23:00
What's better to watch mkv's:
- Haali Splitter
or
- MPC-HC with default settings and decoders?
korsan
6th November 2009, 23:18
Thanks Keiyakusha it worked!
Mercury_22
6th November 2009, 23:31
Ok I found where the DTS-HD problem has started Revision 984 - Directory Listing
Modified Sun Jan 25 20:01:24 2009 UTC (9 months, 1 week ago) by beliyaal
Added: Support for Blu-ray clip info (language for audio and subtitles in m2ts files)
Changed: Sort MPEC audio streams according to quality. The best quality stream will be played by default.
Fixed: Strip the non-core info from DTS-HD tracks until a decoder is available. Fixes problems with SPDIFer.
Fixed: If Blu-ray clip info is available all subtitle streams will be available from the start of the clip.
So with rev 983 no stripping off the HD from DTS-HD and with rev 985 HD blocks are stripped off from DTS-HD
@albain can you confirm this please ?
And can someone revert this please ?
test12314124
7th November 2009, 00:28
What is the latest status on ATI cards and DXVA? Still problems? Planning on buying HD4650 and using latest drivers.
clsid
7th November 2009, 00:30
What's better to watch mkv's:
- Haali Splitter
or
- MPC-HC with default settings and decoders?
Both :)
Haali splitter + MPC-HC with default settings.
73ChargerFan
7th November 2009, 00:37
Ok I found where the DTS-HD problem has started
So with rev 983 no stripping off the HD from DTS-HD and with rev 985 HD blocks are stripped off from DTS-HD
@albain can you confirm this please ?
And can someone revert this please ?
It needs to be an option - "Enable DTS-MA Pass-through"
otherwise, someone with a dts receiver won't get the dts core.
saint-francis
7th November 2009, 00:38
What is the latest status on ATI cards and DXVA? Still problems? Planning on buying HD4650 and using latest drivers.
What kind of problems do you mean? I have a 3870 and I've never had an issue with DXVA.
Tenki
7th November 2009, 03:06
I think he's talking about the "CUDA powered upscaling" on PowerDVD 9. It's not really HD. It's just really postprocessed.
Yeah, but it really looks better.
lych_necross
7th November 2009, 07:20
It is very odd because the graph suggests the refresh rate is an exact multiple (or very close to an exact multiple) of the frame rate - there is clearly no 3:2 pulldown, as shown on your other screenshot :confused: You are sure you are not using Reclock scripting to change the refresh rate when Reclock is being used?
Anyway, I would not worry about it too much. If both look smooth to you, both in absolute terms and relative to each other, maybe your TV is performing inverse telecine as leeperry mentions, or maybe both have 3:2 pulldown and it does not bother you, or maybe you do not notice 3:2 pulldown.
Whatever, don't look too hard you only risk spotting something that has never bothered you in the past but which will then destroy your enjoyment for several months while you struggle to fix it!
I just checked and I am not using any reclock scripting. I'll bet that somewhere there is a bug that is preventing MPC-HC from detecting refresh rates when Reclock is used. I'm not going to worry about.
Mercury_22
7th November 2009, 12:40
It needs to be an option - "Enable DTS-MA Pass-through"
otherwise, someone with a dts receiver won't get the dts core.
Agree but breaking one thing to "solve" another I don't think it's the way to go :mad:
And with the changes that AFAIU are coming ( MPC wasapi audio renderer and maybe bitstreaming ) "DTS-MA Pass-through" will be solve without breaking DTS-HD, I think.
So for this things to have a chance to be implemented we need the HD for DTS to be working with the internal mpeg splitter
EDIT
Albain has find the solution ...
@Mercury22
Right, this is due to this modification : in MpegSplitter.cpp, line 1449
if I replace #if 1 by #if 0 I can see DTS HD blocks again
else if (m_mt.subtype == MEDIASUBTYPE_DTS || m_mt.subtype == MEDIASUBTYPE_WAVE_DTS) // DTS HD MA data is causing trouble, lets just remove it
{
#if 0
So can any of the devs add this in the SVN ? Please !
amigenius
7th November 2009, 13:50
Hi,
How can i get ATIs Edge enhancement to work in MPC?
I tried it with MPC - Video decoder in DXVA Mode and with coreavc in Software mode.
Tried all Renderes (custom evr, standard evr, vmr9, vmr7 and overlay)
It just doesn't work.
But if i play the same Blu-Ray in PowerDVD 7/8 ATIs Edge enhancement works.
Relevant Systemcomponents:
mpc build 1.3.1290.0 (32 bit)
catalyst 9.10
ATI 4870
Vista 64 Bit
cya
mark0077
7th November 2009, 14:29
Maybe you have to output in the nv12 colorspace which seems to be necessary for things like hardware deinterlacing
unfortunately alone mpc can't output in this colorspace so u will need ffdshow perhaps to do this for you. Worth a shot trying it but maybe someone else will have a better solution
hdboy
7th November 2009, 15:49
I'm confused by the shader options. when I turn on pixel shaders, the "Toggle pixel shader" is unchecked; when I turn it off, it's checked, which seems backward. then there's also "Pixel shader disabled", which seems redundant and at any case mislabeled. It should be called "No pixel shader" since that's what happens when you select it. It's like you label power switch On and Off, you don't call it "Power turned on" "Power turned off". I know it's nit-picking but I think grammar correctness is next to godliness :)
What are screen space pixel shaders vs regular pixel shaders? I can't tell what it does. Toggling it on and off still shows a check next to "screen space pixel shaders disabled" and has no visible effect on the screen.
Keiyakusha
7th November 2009, 16:00
What are screen space pixel shaders vs regular pixel shaders? I can't tell what it does.
Regular applied before resize, screen space - after.
Gleb Egorych
7th November 2009, 16:50
Build 1312 cause problems for me too. I have stuttering, in Vista only at that.
Played H.264/AAC/MP4/29.97fps file on Vista x64/EVR-CP/optimal renderer settings/8800GT/FW191.07/ReClock. It's OK with rev1296. EVR-CP in WinXP is fine using both revisions.
Attached screenshot to demostrate the problem. Builds 1312+ are affected, screenshot is made in 1330. Last good is 1311.
amigenius
7th November 2009, 17:05
Hi,
enforcing nv12 via ffdshow does not help enabling the ATI hardware edge enhancement :(
So... is there any solution?
cya
73ChargerFan
7th November 2009, 20:26
Agree but breaking one thing to "solve" another I don't think it's the way to go :mad:
Beliyaal didn't break anything a year ago - there was no hardware capable of bitstreaming dts-hd then. thpppt!
Spec-Chum
7th November 2009, 23:41
Could anyone with the issue of the screensaver activating during video playback on XP please try this link and report to see if fixed?
http://www.mediafire.com/file/zmfnmmijjgg/mpc-hc.exe
Thankies
edit: on that note could none XP users please test too to make sure I've not broken 1 thing to fix another :D
Piyoko
8th November 2009, 00:14
Hi,
How can i get ATIs Edge enhancement to work in MPC?
I tried it with MPC - Video decoder in DXVA Mode and with coreavc in Software mode.
Tried all Renderes (custom evr, standard evr, vmr9, vmr7 and overlay)
It just doesn't work.
I have an ATI 4670 and all the driver controls, including de-interlacing work for me using VMR9 (renderless) on XP. Just make sure "VMR9 mixer mode" is checked. And it only works with DXVA.
amigenius
8th November 2009, 05:11
Hi,
Nope,
using vmr9 renderless + vmr9 mixer mode + dxva doesn't help enabling the hardware edge enhancement :(
cya
Andy o
8th November 2009, 06:50
I just realized I'm getting stuttering with 24p content and the display to 1080/60i on builds 1312+. 1311 is fine. I'm not sure if it's related to the problems the others are having with 1312+, but it seems so. If I disable VSync, everything seems to be fine.
Mercury_22
8th November 2009, 12:47
...
@Mercury22
Right, this is due to this modification : in MpegSplitter.cpp, line 1449
if I replace #if 1 by #if 0 I can see DTS HD blocks again
Can you please post a build with your fix for testing ?
Steveo08
8th November 2009, 19:17
with my new tv, that supports 1080p (my old only 720p) i am having the problem, that mpc-hc won't go into fullscreen, although i checked the fullscreen option @player settings but it won't help. does anyone know why?
Snowknight26
8th November 2009, 20:43
What option? Tried double clicking on the video or hitting Alt+Enter?
kieranrk
8th November 2009, 21:49
using vmr9 renderless + vmr9 mixer mode + dxva doesn't help enabling the hardware edge enhancement :(
Why do you want edge enhancement in the first place?
It's only a false sense of detail.
ryrynz
8th November 2009, 23:00
Sharpening is creating the illusion of more detail, so as far as I'm concerned any sharpening is causing a false sense of detail.
As long as he perceives an improvement in image quality that is all that matters really.
THX-UltraII
9th November 2009, 08:51
separate topic
hoborg
9th November 2009, 09:58
*.MOV question
- is there a way how to force MPC-HC player to use "MediaLooks QT Source" filter (CLSID 7CE55CCC-403E-4A29-8281-BF8542A0C37D) for MOV playback? I can play MOV using GraphStudio (just drag and drop) without any problem using QT alternative 2.92 (not 3.x) + MediaLooks QT Source filter (sound + video), but not in MPC-HC. Selecting DirestShow/Quick time in Formats have no efect.
Thanks.
Steveo08
9th November 2009, 10:43
What option? Tried double clicking on the video or hitting Alt+Enter?
no i mean the option launch video files in full-screen modus.
mark0077
9th November 2009, 11:46
mpc dev's. I have a problem with my mp4 files with mpc-hc. When decoded using ffdshow libavcodec, and when using evr-cp and with colorspace not yv12. I only see the first frame of video in this configuration.
Here is sample
http://www.megaupload.com/?d=PAZP0O12
and reply to post on ffdshow forum by clsid
http://forum.doom9.org/showthread.php?p=1341945#post1341945
cweb
9th November 2009, 12:47
Hello all
I'm trying to get media player classic to stream this mms link: mms://bla.blabla.bla
and it doesn't want to work for me anymore like it used on xp.
I'm running win7. I installed real alternative too.
I'm getting the error "Failed to render the file". I'm running build 1311. Now I will see if I can find a newer build
clsid
9th November 2009, 15:29
@hoborg
By default MPC uses the QuickTime framework to play .mov files. If you want to use DirectShow then go to:
MPC options -> Player -> Formats -> QuickTime file -> set to DirectShow
I see not much point in using the MediaLooks filter, because that also uses the QuickTime framework.
@cweb
I think you have run into a common problem with MPC that has existed for years with all versions of MPC. MMS streams randomly stop working. This happens even on XP. I am not sure what causes this problem. Maybe one of the devs can digg into the relevant code.
hoborg
9th November 2009, 17:00
@hoborg
By default MPC uses the QuickTime framework to play .mov files. If you want to use DirectShow then go to:
MPC options -> Player -> Formats -> QuickTime file -> set to DirectShow
I see not much point in using the MediaLooks filter, because that also uses the QuickTime framework.
Hmm, looks like problem on my setup, becouse all is working fine on different computer.
Thanks anyway.
cweb
9th November 2009, 17:04
@cweb
I think you have run into a common problem with MPC that has existed for years with all versions of MPC. MMS streams randomly stop working. This happens even on XP. I am not sure what causes this problem. Maybe one of the devs can digg into the relevant code.
Thanks - that would be great...
cweb
9th November 2009, 20:25
@cweb
I think you have run into a common problem with MPC that has existed for years with all versions of MPC. MMS streams randomly stop working. This happens even on XP. I am not sure what causes this problem. Maybe one of the devs can digg into the relevant code.
I checked in Control Panel to see which program was registered for MMS: and it's Windows Media Player not mpc-hc. And I'm not allowed to change it as I would like mpc to be the handler for these types.
I noticed that one can change mms to http and get an ASCII page in the browser. This has this format.
[Reference]
Ref1=http://blablab.blalba.blabla/rtk?MSWMExt=.asf
Ref2=http://xx.xx.xx.xx:80/rtk?MSWMExt=.asf
So then I copied the URL under Ref1 and opened it, successfully, in MPC.
Perhaps this functionality can be reproduced/added to mpc.
cweb
9th November 2009, 20:31
I found this post regarding the mms protocol:
http://www.eggheadcafe.com/software/aspnet/29357348/mmsprotocol-not-opening.aspx
It's interesting to see mms so deprecated, problem is some sites keep pointing to an mms link...
Why are you directly trying to open MMS URLs?
To quote my other post:
===
MMS is a rollover protocol only. It was deprecated back in 2003, and
generally removed in 2006. There should never be any direct links to MMS
URLs - this has never been supported. MMS links would be wrapped by ASX
files as appropriate.
What context are you seeing direct links to MMS URLs? That was always bad
practice, since it would break third party browsers.
So, yes, "mms://blah" should work *within* WMP, since it will roll over to
RTSP or HTTP. But it's never been supported to directly link to MMS, so
what you're doing should be some special usage. You could probably
recreate the shell association for MMS if you really want to, but ... it's
just been bad practice since day one. Sorry: David liked this idea, but
since it broke Opera and Netscape scenarios, I had to nix it waaaaaay back
when ('97 or so?).
88keyz
10th November 2009, 04:55
@ alexins
Just curious, what happened to MPCVideoDec.ax in your standalone x64 filters pack? It went missing a few revisions back and hasn't returned. Was there a problem with it?
Snowknight26
10th November 2009, 07:07
The MPEG-TS splitter doesn't show audio track languages when you load a Blu-ray playlist.
nijiko
11th November 2009, 04:46
How can I disable MPC-HC internal WM ASF Reader, and use system default Windows Media Source?
I have serious problem on playing WMV (ASF) format.
Pause/resume and seek deranged and sometime process hang up.
Now my splitters are disabling NEW WM ASF and using DMO.
cengizhan
11th November 2009, 12:29
options-> tweaks
Casshern
11th November 2009, 20:58
Be fair, Piyoko was talking about win xp and you are using vista as far as i remember. Maybe that's the difference - try Win7.
Hi,
Nope,
using vmr9 renderless + vmr9 mixer mode + dxva doesn't help enabling the hardware edge enhancement :(
cya
gngn
12th November 2009, 01:58
there are some problems with frame-based subtitles after version r1312 (the next version on xvidvideo.ru is r1323, so i can't pinpoint the exact regression-point between r1312 and r1323). even with DXVA i get up to 40% CPU usage on a dual-core with long subtitle lines, when with r1312 i dont get more than 8% CPU usage on the same movie.
alexins
12th November 2009, 11:28
Media Player Classic HomeCinema (x86/x64), svn 1335 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-svn-1335.html)
Supported languages: BR, BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SE, SK, TR, UA
Changes log (http://www.xvidvideo.ru/logi-izmeneniy/log-izmeneniy-media-player-classic-homecinema.html)
Added : support for DVB subtitles;
Fixed : several issues for HDMV subtitle display (better support for transparent subtitles, memory leak).
@ alexins
Just curious, what happened to MPCVideoDec.ax in your standalone x64 filters pack? It went missing a few revisions back and hasn't returned. Was there a problem with it?
There is a small problem with the building ...
Mixer73
12th November 2009, 11:36
Hey guys I am wondering if you can help me troubleshoot a little problem.
I am watching DVB-T recordings with the Microsoft Decoder but they don't seem to deinterlace. I'm using EVR-CP on Vista, what settings should I change in order to get deinterlacing to work?
tetsuo55
12th November 2009, 13:12
there are some problems with frame-based subtitles after version r1312 (the next version on xvidvideo.ru is r1323, so i can't pinpoint the exact regression-point between r1312 and r1323). even with DXVA i get up to 40% CPU usage on a dual-core with long subtitle lines, when with r1312 i dont get more than 8% CPU usage on the same movie.Caused by 1313 http://sourceforge.net/apps/trac/mpc-hc/changeset/1313
You have to reset your settings to defaults by deleting the registry key (see the troubleshooting guide in my signature.)
The reason this is happening is because after this update mpc-hc cannot find the "disable subtitle animation" key and is enabling the animation, which takes a lot of cpu cycles to calculate.
Jong
12th November 2009, 13:23
Caused by 1313 http://sourceforge.net/apps/trac/mpc-hc/changeset/1313
You have to reset your settings to defaults by deleting the registry key (see the troubleshooting guide in my signature.)
The reason this is happening is because after this update mpc-hc cannot find the "disable subtitle animation" key and is enabling the animation, which takes a lot of cpu cycles to calculate.tetsuo55, Any chance someone could say to the cognoscenti what we need to change to edit the registry. Resetting the registry when you have a lot of custom settings is likely to be a lot more hassle than adding or removing a few keys.
I agree resetting the registry is a good troubleshooting step when all else fails, but I hope it should not be needed in this well understood case.
tetsuo55
12th November 2009, 13:38
tetsuo55, Any chance someone could say to the cognoscenti what we need to change to edit the registry. Resetting the registry when you have a lot of custom settings is likely to be a lot more hassle than adding or removing a few keys.
I agree resetting the registry is a good troubleshooting step when all else fails, but I hope it should not be needed in this well understood case.
Good idea.
I suggest making a wiki page like this one: http://xbmc.org/wiki/?title=Advancedsettings.xml
We could explain each setting based on their entry in the .ini file (and provide the registry path it would use if it was in the registry in each section)
I don't have anyone available for this right now, so i would like to ask the community to make the basic list itself and fill whatever you know, then i can ask the dev's to fill in any unknowns.
This page is also a good start for the settings cleanup that is planned in the far future.
EDIT:
Also it would be interesting to know which default settings you change and why.(apart from external filter use)
donaldtone
12th November 2009, 13:56
In the first post:
Bugs can be reported here:
Bugs
If you want a new feature added, or an existing feature changed/enhanced use this link:
New features
Two of the above links are broken.
clsid
12th November 2009, 14:34
Has there been any progress with regard to solving the slow loading bug that people are experiencing on Windows 7 when using EVR CP? Some people are getting delays up to 30 seconds.
Also, allowing animated subs should not have a negative performance effect on static subtitles, such as SRT or VobSub. Seems to me that there is a bug somewhere. A noticed that there is a ToDo comment in a function called IsAnimated() in the code. Maybe that's related?
These kind of bugs should be given top priority.
MatMaul
12th November 2009, 15:28
Has there been any progress with regard to solving the slow loading bug that people are experiencing on Windows 7 when using EVR CP?
about this bug :
it doesn't happen with ar-jar mod.
gngn
12th November 2009, 15:43
Caused by 1313 http://sourceforge.net/apps/trac/mpc-hc/changeset/1313
You have to reset your settings to defaults by deleting the registry key (see the troubleshooting guide in my signature.)
The reason this is happening is because after this update mpc-hc cannot find the "disable subtitle animation" key and is enabling the animation, which takes a lot of cpu cycles to calculate.
checking the "disable animation for slow computers" indeed lowers the CPU usage, but i don't get it: what has normal text-only frame-based .sub file in common with karaoke/animated .ass subtitles?
i always have the "disable animation" unchecked, as my CPU can handle any karaoke sub i stumbled upon. so even with enabled animation r1312 doesn't show the problems that revisions after have. clsid seems to have the same opinion :P
just create a .sub file with a long line , drag&drop it over a movie, and in my case at and after 1min16sec the CPU goes to 50%
{1}{1}23.976
{1}{45000}qwertyuiop asdfghjkl zxcvbnm QWERTYUIOP ASDFGHJKL ZXCVBNM qwertyuiop ASDFGHJKL
Abradoks
12th November 2009, 17:38
It was reported (http://forum.ru-board.com/topic.cgi?forum=5&topic=30592&start=1620#7) on another forum that "BT.601 -> BT.709" shader uses slightly wrong coefficients.
Current shader:
// RGB [16,235] to YUV: 601 mode (128 is not added to Cb and Cr)
float y=0.299*c0[0] + 0.587*c0[1] + 0.114*c0[2];
float Cb=-0.172*c0[0] -0.339*c0[1] +0.511*c0[2];
float Cr=0.511*c0[0] -0.428*c0[1] -0.083*c0[2];
// YUV to RGB [16,235]: 709 mode (Cb and Cr are 128 less)
float r=y+1.540*Cr;
float g=y-0.459*Cr-0.183*Cb;
float b=y+1.816*Cb;
Recalculated coefficients:
// RGB to YUV: 601 mode
float y=0.299*c0[0] + 0.587*c0[1] + 0.114*c0[2];
float Pb=-0.168736*c0[0] -0.331264*c0[1] +0.5*c0[2];
float Pr=0.5*c0[0] -0.418687589*c0[1] -0.081312411*c0[2];
// YUV to RGB: 709 mode
float r=y+1.5748*Pr;
float g=y-0.468124273*Pr-0.187324273*Pb;
float b=y+1.8556*Pb;
As I understand, original comments (// RGB [16,235] ...) have nothing to do with shader code, because we are working with range [0, 1] (E'R E'G E'B) where differences between [16-235] and [0-255] have been already corrected.
Besides we can use simpler formulas:
Y = Kr*R + Kg*G + Kb*B
V = (R-Y)/(1-Kr)
U = (B-Y)/(1-Kb)
R = Y + V*(1-Kr)
G = Y - U*(1-Kb)*Kb/Kg - V*(1-Kr)*Kr/Kg
B = Y + U*(1-Kb)
Also in "0-255 -> 16-235" shader 13-25 lines should be removed. They are just a copy of 0-12.
73ChargerFan
12th November 2009, 17:58
Feature Request
WTV files are produced by Win7 media center. MS has a dev page for Consumption of a WTV file in DirectShow (http://msdn.microsoft.com/en-us/library/cc963726(classic).aspx) which includes sample code.
The format allows dynamic changing of content codecs, which would require graph rebuilding (another important feature imho.) I don't think the video would change as yet, but audio changes from AC3 to stereo in commercials. This could be incorporated in the redesign of the audio subsystem.
DTB has prelim support for WTV, and some users at greenbutton are trying to switch from mkv to wtv.
This format will become more prevalent with the adoption of Windows 7.
tetsuo55
12th November 2009, 19:54
Has there been any progress with regard to solving the slow loading bug that people are experiencing on Windows 7 when using EVR CP? Some people are getting delays up to 30 seconds.None of the dev's can reproduce this issue so its not being worked on.
Also, allowing animated subs should not have a negative performance effect on static subtitles, such as SRT or VobSub. Seems to me that there is a bug somewhere. A noticed that there is a ToDo comment in a function called IsAnimated() in the code. Maybe that's related?The animation system is designed in such a way that it causes a huge overhead over subtitles, regardless of actually animating or not. When it actually does have to animate the system requirements rise even further.
Fixing this requires a complete refactoring of the subtitle renderer
These kind of bugs should be given top priority.At this time there are no developers working on mpc-hc that can fix either bug
clsid
12th November 2009, 20:45
At the same point were the state of the option to enable/disable animation is checked (to determine which code path to take), can't there be an additional check to see if the current subtitle format is actually a (possibly) animated one or one that is always static?
Have anyone done any comparisons between current builds and old builds (1047 or earlier) to see if there is any difference in CPU usage with animation enabled?
Perhaps Casimir/ar-jar/Beliyaal could do a general code review of the whole EVR CP code? That might reveal some parts of the code that are buggy.
tetsuo55
12th November 2009, 21:09
At the same point were the state of the option to enable/disable animation is checked (to determine which code path to take), can't there be an additional check to see if the current subtitle format is actually a (possibly) animated one or one that is always static?that seems to be technically impossible within the current framework
Have anyone done any comparisons between current builds and old builds (1047 or earlier) to see if there is any difference in CPU usage with animation enabled?Beliyaal optmised as much as he possible could. he thinks there is still room for a few % improvement.
Perhaps Casimir/ar-jar/Beliyaal could do a general code review of the whole EVR CP code? That might reveal some parts of the code that are buggy.They have been doing nothing else for the past year
bur
12th November 2009, 22:00
I get this error with build 1333 x64 running on Win 7.
http://img23.imageshack.us/img23/7149/mpctimeparse.png
I open the Goto window and even when I just let it sit at the pre-entered values the error pops up. Entering values manually gives the same error.
Only thing that works is entering a single number that gets interpreted as miliseconds.
Any ideas regarding this? If necessary I can check with what build this error started happening for me.
clsid
12th November 2009, 23:24
What about line 2288 in RTS.cpp?
thewebchat
12th November 2009, 23:42
@gngn: The problem is that the subtitle code in MPC-HC is totally failed. The option to have "pre-buffered" subtitles with animations enabled was added, but in fact, this does nothing but waste lots of CPU cycles (more than without this "pre-buffering"). The reason checking "disable animations" fixes this is because it forces the old (functional) code path which isn't totally failed. There is a bug on the tracker about this.
Edit: Also, the subtitle rendering code lets you use animated subtitles in SRT and other simple formats, simply because it parses everything as ASS, so there are in fact no "always static" formats as far as the renderer is concerned.
Andy o
13th November 2009, 00:06
Hi guys, are the people who were having stuttering after 1311 still having problems with 1335? I am having stuttering when VSync is enabled and my card is set to 1080/60i output with everything after 1311.
73ChargerFan
13th November 2009, 04:23
Has there been any progress with regard to solving the slow loading bug that people are experiencing on Windows 7 when using EVR CP? Some people are getting delays up to 30 seconds.
None of the dev's can reproduce this issue so its not being worked on.
I've noticed, that Win7 will cache directory listings and show their contents when browsing, even though the drive is in a powered down state. Then when accessing a file, it takes 10-15 seconds to spin up the drive. Perhaps this is a partial cause? I see it on my htpc.
Hypernova
13th November 2009, 07:00
Well, I have an opposite opinion on subtitle renderer. While it's not as good as I want it to be, it is the only way to get animated subtitle going smoothly with desktop resolution texture size. It maybe use more CPU cycle, sure, but it's far more than "doing nothing". Since there is a way to disable it, I don't really see a problem with it.
thewebchat
13th November 2009, 07:04
Hypernova, your CPU usage will go down by about 10% and you will still get animations if you uncheck "prebuffer subtitles" or set "subpictures to buffer ahead" to 0.
tetsuo55
13th November 2009, 08:08
What about line 2288 in RTS.cpp?That might help, but like thewebchat says, according to the people who really understand the subtitle renderer it does indeed have 2 unique codepaths, one that never animates and one that always animates.
Hi guys, are the people who were having stuttering after 1311 still having problems with 1335? I am having stuttering when VSync is enabled and my card is set to 1080/60i output with everything after 1311.Try resetting your settings, or at least the subtitle renderer settings, due to a change animation has been enabled.I've noticed, that Win7 will cache directory listings and show their contents when browsing, even though the drive is in a powered down state. Then when accessing a file, it takes 10-15 seconds to spin up the drive. Perhaps this is a partial cause? I see it on my htpc.Sounds plausible. Can you throw this idea into that thread about it?
See if the users can still reproduce if all hdd power saving options are disabled.Well, I have an opposite opinion on subtitle renderer. While it's not as good as I want it to be, it is the only way to get animated subtitle going smoothly with desktop resolution texture size. It maybe use more CPU cycle, sure, but it's far more than "doing nothing". Since there is a way to disable it, I don't really see a problem with it.This probably works because that way the subtitles are rendered at the target resolution and don't require a last minute scaling step.Hypernova, your CPU usage will go down by about 10% and you will still get animations if you uncheck "prebuffer subtitles" or set "subpictures to buffer ahead" to 0.That's really bizarre, do you have any further information about this?
Hypernova
13th November 2009, 10:48
Hypernova, your CPU usage will go down by about 10% and you will still get animations if you uncheck "prebuffer subtitles" or set "subpictures to buffer ahead" to 0.
I tried that. That's why I said "it is the only way to get animated subtitle going smoothly with desktop resolution texture size." Since if I did what you said, I got an animated subtitle but the video will not play smoothly.
This probably works because that way the subtitles are rendered at the target resolution and don't require a last minute scaling step.
I don't think that's the case. I used 1920x1080 texture size sometime and it's even smoother than desktop resolution. Only at 2560x1600 that I have trouble with. I actually think it's more of a problem with the renderer rather than my CPU (or GPU) can't keep up because sometime it plays smoothly, some other time it's not, with the same file. That's why I said it's not as good as I want it to be.
However, anything below 1920x1080 texture size is smooth, and it is the only way to get it smooth with animation on. I didn't test it throughly but with zero-buffer size + disable animation, it's more of a problem with the hdd can't keep up more than the rendering can't keep up. In fact, not only I get skipping with animated subtitle, but with regular static subtitle too. I should've test this with SSD and see if anything is different. Anyway, this was the reason why I jumped to Beliyaal build quite sometime before his patch was merged to main SVN. I defend it here because I want the developers to keep it. :cool:
tetsuo55
13th November 2009, 11:02
In any case its clear that we desperately need someone to join mpc-hc and work on the subtitle renderer.
Casshern
13th November 2009, 11:08
Hi,
the 1312 code from beliyaal uses a different method for locking directx access in the vsync code. This causes problems for some people, myself included as the timing of the vsync code is affected (especially if one uses shaders and resizing). For the time being i stick with 1311. This has nothing to do with subtitles. I already got some screenshots and info to beliyaal - i hope this is getting resolved. I would advise using 1311 for the time being, if you have problems with stuttering and/or tearing with newer versions.
regards,
Casshern
Hi guys, are the people who were having stuttering after 1311 still having problems with 1335? I am having stuttering when VSync is enabled and my card is set to 1080/60i output with everything after 1311.
donaldtone
13th November 2009, 14:47
Since the new suggestion link does not work, I have to post here.
The free container OGV includes Theora video, Vorbis audio and Kate subtitle.
Is there any plan to support this format, especially Kate subtitle.
mpc-hc with haali can decode theora video and vorbis audio, but it can not render Kate subtitle.
Right now the only software player which supports Kate subtitle is VLC (1.0.3 version).
Gamezcdr
13th November 2009, 16:40
Practical question: how to resume a DVD ???
bur
13th November 2009, 16:53
Regarding the Goto command not working, should I file a bug or is it a known issue?
pirlouy
13th November 2009, 19:12
In any case its clear that we desperately need someone to join mpc-hc and work on the subtitle renderer.
But... Displaying subtitles... I thought it was something done by video renderer.
Is subtitle renderer another renderer or it just works thanks to renderer job ?
In fact, you mean MPC-HC needs someone to create subtitle support for EVR renderer, no ?
clsid
13th November 2009, 19:35
The video renderer only does the last step in the whole process: adding a subtitle image on top of the video.
The conversion from text to an image, using the right font, size and color, is done by the subtitle renderer. And that is just the 'easy' stuff. There is animation, positioning, line breaking, and other complex stuff to take care of as well.
But all that code is already in place. The problem is that it is inefficient and often does unnecessary calculations.
tetsuo55
13th November 2009, 20:07
Yes clsid is right
On top of that there are some behavioural differences between internal/external renderer and some missing features here in there.
Mostly its the performance that needs some help
boiled_sugar
14th November 2009, 09:34
I'm sorry. The corruption turned out to be x264 bug. Now it's fixed.
Hi
I tried weightp, the new feature of x264, but MPC-HC can't decode the encoded video correctly with DXVA. ffdshow decodes the video correctly.
ffdshow
http://forum.doom9.org/attachment.php?attachmentid=10485&stc=1&d=1258197505
PNG (http://www.mediafire.com/imageview.php?quickkey=ccymjwnmgrt)
DXVA
http://forum.doom9.org/attachment.php?attachmentid=10486&stc=1&d=1258197537
PNG (http://www.mediafire.com/imageview.php?quickkey=qnymytm2yoi)
My environment
* Windows XP SP3
* MPC-HC r1335
* Renderer is VMR9 Renderless
* Radeon HD 4670 + Catalyst 9.10
the encoded video and the source (http://www.mediafire.com/?ghgohoywhdx)
the encoded video only (http://www.mediafire.com/?ymrogz3laq2)
avivahl
14th November 2009, 09:47
boiled_sugar: Your sample actually works fine here. Both the internal H.264 DXVA decoder and Windows 7's built-in H.264 DXVA decoder show the video fine.
EVR-CP.
Windows 7.
Haali Media Splitter OR Windows 7's built-in mp4 splitter.
Geforce 8800GT (ForceWare 190.62).
Snowknight26
14th November 2009, 10:09
Might be an ATI only issue. I get corruption in that sample but not in a dozen encodes that I've personally done.
tetsuo55
14th November 2009, 11:00
i tested several samples succesfully but boiled_sugar's breaks for me too when the cat scene begins
i used 1337 on win7 x64
Egh
14th November 2009, 12:23
Hi
I tried weightp, the new feature of x264, but MPC-HC can't decode the encoded video correctly with DXVA. ffdshow decodes the video correctly.
Works here on 1337 build and XP x64. Obviously on VMR9 only, as mpchc doesn't really support EVR on my system....
BTW guys, congratulations on releasing a leet build 1337 :)
Px
14th November 2009, 15:33
Ok, got some free time to make bugreport
MPC HC doesn't show subtitles on some BD (Ip Man in my case)
File info
General
ID : 1
Complete name : H:\New\Ip.Man.2008.1080p.H264.Remux\BDMV\STREAM\00001.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 22.0 GiB
Duration : 1h 46mn
Overall bit rate : 29.6 Mbps
Maximum Overall bit rate : 35.5 Mbps
Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Duration : 1h 46mn
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 24.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 1h 46mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 292 MiB (1%)
Language : Russian / /
Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA
Duration : 1h 46mn
Bit rate mode : Variable
Channel(s) : 8 channels
Channel positions : Front: L C R, Surround: L C C R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits
Language : Chinese / /
Text #1
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Language : English / /
Text #2
ID : 4609 (0x1201)
Menu ID : 1 (0x1)
Format : PGS
Language : Chinese / /
OS - Win XP x64, Video - ATI with latest drivers, DX up to date. Haali media splitter detects subtitle streams, but when I select one of them, produces error:
http://img694.imageshack.us/img694/9238/20091114160842.png
Internal splitter also doesn't help and it's behavior depends on revision:
1) b1249 detects all subtitle streams right, but doesn't show
http://img517.imageshack.us/img517/5286/20091114162928.th.png (http://img517.imageshack.us/i/20091114162928.png/)
2) b1326 incorrectly detects language of secondary stream
http://img248.imageshack.us/img248/3352/20091103200357.th.jpg (http://img248.imageshack.us/i/20091103200357.jpg/)
3) b1337 doesn't detect subtitle streams at all
http://img132.imageshack.us/img132/6176/20091114162654.th.png (http://img132.imageshack.us/i/20091114162654.png/)
Bug exists independent on opening m2ts file, index.bdmv or "Open DVD"
With PowerDVD subtitles shows fine
Opuz Klass
14th November 2009, 17:07
Hi there guys!
MPC-HC is crashing with Intel GMA500 graphics chipset when trying to play any video using EVR-CP in Windows 7. I would like to help you by providing you with minidumps but I'm not finding them. I've confirmed this behavior in several laptops using this chipset with Windows 7 (latest drivers).
therealjoeblow
14th November 2009, 18:48
Would it be possible to add a shader that "smart-stretches" 4:3 media content to 16:9 similar to the way that PowerDVD does for DVD material, ie, where the center 1/3 of the image remains mostly undistorted, and the bulk of the stretching is done in the outer thirds, more towards the edges of the video frame? Kind of like projecting the image onto a cylinder...
Snowknight26
14th November 2009, 19:42
http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/trunk/src/dsutil/DSUtil.cpp?r1=1338&r2=1337&pathrev=1338
Wouldn't it be more appropriate if the stream names were "MPEG-2" instead of "MPEG 2", "H.264" instead of "H264", "Secondary DTS-HD High Resolution Audio" instead of "Secondary DTS HD High Resolution Audio", and "VC-1" instead of "VC1?"
tetsuo55
14th November 2009, 19:52
http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/trunk/src/dsutil/DSUtil.cpp?r1=1338&r2=1337&pathrev=1338
Wouldn't it be more appropriate if the stream names were "MPEG-2" instead of "MPEG 2", "H.264" instead of "H264", "Secondary DTS-HD High Resolution Audio" instead of "Secondary DTS HD High Resolution Audio", and "VC-1" instead of "VC1?"should be easy to fix, please open a ticket on trac so it can be discussed and done
https://sourceforge.net/apps/trac/mpc-hc/newticket
Mangix
14th November 2009, 20:51
boiled_sugar's sample works on my computer. using XP 32-bit, VMR9, DXVA, 195.39 GeForce drivers
kieranrk
14th November 2009, 21:36
Would it be possible to add a shader that "smart-stretches" 4:3 media content to 16:9 similar to the way that PowerDVD does for DVD material, ie, where the center 1/3 of the image remains mostly undistorted, and the bulk of the stretching is done in the outer thirds, more towards the edges of the video frame? Kind of like projecting the image onto a cylinder...
Please watch your DVDs in their correct aspect ratios.
Egh
15th November 2009, 03:59
tetsuo55:
do you think it would be a worthy feature is there was a method to override a sub style with default?
I know the styles can be edited on-the-fly, but if you want to revert a style to one's default choice, you have to adjust font, scaling, several colours, outline/shadow size etc. An "override" button in that tabsheet would be handy, imo. I'm so annoyed by some "creativity" styles that I quite so often just override them manually.
tetsuo55
15th November 2009, 09:04
tetsuo55:
do you think it would be a worthy feature is there was a method to override a sub style with default?
I know the styles can be edited on-the-fly, but if you want to revert a style to one's default choice, you have to adjust font, scaling, several colours, outline/shadow size etc. An "override" button in that tabsheet would be handy, imo. I'm so annoyed by some "creativity" styles that I quite so often just override them manually.yeah a "display all text based subtitles as standard SRT" would probably be a good feature.
You can add it to the tracker, but we have no coders who want to work on adding this right now.
easyfab
15th November 2009, 09:58
@boiled_sugar : I've the same problem on my Ati HD 2600 with mpc dxva and pdvd dxva : so it's an Ati bug, I hope it's only a driver problem and not hardware.
littleD
15th November 2009, 11:22
I have ati and have corruption too.
BTw whats that anime?
donaldtone
15th November 2009, 14:22
wishilist:
1. update ogglib in ogg Directshow splitter to support more formats: like Kate stream.
2. add Kate format subtitle support to subtitle render engine.
Then mpc-hc can completely support new version of ogv format. This format is totally free and theora, vorbis and kate are patent free codecs. Right now only VLC can support its subtitle.
tetsuo55
16th November 2009, 00:29
i have run mpc-hc through the microsoft application verifier and it fails quite a few tests.
This is a call to all coders, please help us fix the crashes and memory leaks.
the verifier can be downloaded here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=c4a25ab9-649d-4a1b-b4a7-c9d8b095df18&DisplayLang=en
The tests that give errors and cause crashes are:
Handles, Heaps, locks, low resource, LuaPriv and DangerousAPi
the goal should be to have an error free (and warning free) result with all tests enabled.
---------------
EDIT:
Also /SAFESEH fails to complete, some precompiled parts need to be recompiled with vs2008 with the /SAFESEH switch before MPC-HC itself can be compiled with it
---------------
EDIT2:
/DYNAMICBASE, /NXCOMPAT should be added by default (and /SAFESEH once that has been fixed)
Also /RTC1, /Od can be used to find out more about the memory leaks/crashes and if you happen to have a enterprise version of vs2008 /analyse will give even more info
-----------
EDIT3:
Some data:
On my systems:
about 80% of allocated ram is unused/leaked by mpc-hc
mpc-hc leaks 4kb/s during playback
during playback 200MB+ of pagefile is allocated and heavily used (many pagefaults)
Cleaned with no movie mpc-hc only uses 700kb of ram, uncleaned it uses 13MB and with a movie the lowest i've seen is 40MB(18MB cleaned)
boiled_sugar
16th November 2009, 02:46
I'm sorry. The corruption turned out to be x264 bug. Now it's fixed.
BTw whats that anime?
Tegami Bachi
Opuz Klass
16th November 2009, 03:41
tetsuo55,
Have you read my report in post 10489 (http://forum.doom9.org/showpost.php?p=1343840&postcount=10489) of this thread? Please let me know how I can help you solving this problem.
Thanks
betaking
16th November 2009, 03:45
Hi,why Complete Last mpc-hc give me error:
MEDIASUBTYPE_DVB_SUBTITLES not defined.
nuhkka
16th November 2009, 04:49
why does my mpc-hc freeze when the windows uac thing comes up?
tetsuo55
16th November 2009, 08:56
Hi there guys!
MPC-HC is crashing with Intel GMA500 graphics chipset when trying to play any video using EVR-CP in Windows 7. I would like to help you by providing you with minidumps but I'm not finding them. I've confirmed this behavior in several laptops using this chipset with Windows 7 (latest drivers).have a look here: http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelineswhy does my mpc-hc freeze when the windows uac thing comes up?see here http://forum.doom9.org/showthread.php?p=1344275#post1344275
STaRGaZeR
16th November 2009, 14:11
Hi,why Complete Last mpc-hc give me error:
MEDIASUBTYPE_DVB_SUBTITLES not defined.
Same question:
Error 2 error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier SubtitleInputPin.cpp 68
tetsuo55
16th November 2009, 14:35
Same question:
Error 2 error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier SubtitleInputPin.cpp 68This happened with rev 1335, please add a bug to the tracker https://sourceforge.net/apps/trac/mpc-hc/newticket
@Everyone, i've added all the security/memory leak basics to the bug tracker as the following bugs:
126 [Security] /SAFESEH compilation fails (http://sourceforge.net/apps/trac/mpc-hc/ticket/126)
127 [Security] Enable the following switches by default in all vsproj files. (http://sourceforge.net/apps/trac/mpc-hc/ticket/127)
128 [Security] Add Heap Corruption Detection (http://sourceforge.net/apps/trac/mpc-hc/ticket/128)
129 [Security][Stability] Pass all the Microsoft Application Verifier tests (http://sourceforge.net/apps/trac/mpc-hc/ticket/129)
130 [Logo] MPC-HC should pass all the windows 7 logo tests/requirements (http://sourceforge.net/apps/trac/mpc-hc/ticket/130)
131 [Certificate], try to get a code signing certificate from thawte in january (http://sourceforge.net/apps/trac/mpc-hc/ticket/131)
Mercury_22
16th November 2009, 16:47
Since If there is no Pixel Shader 2.0 support, simple bilinear is used automatically it's there any reason why not make "Bilinear (PS 2.0)" the default resizer instead of Bilinear ?
P.S. AFAIK aren't many (if any) cards without PS 2.0 support out there anymore
Also what's "Nearest neighbor" for then ? maybe the code can get "slimmer"
clsid
16th November 2009, 17:45
Because it will most likely cause problems on low-end cards/IGPs.
bur
16th November 2009, 18:20
The Goto command (Ctrl + G) seems to be broken in the x64 builds.
When I enter any time it gives the error: Error parsing entered time!
When I just edit the preset values it works. But as soon as I have used my own numbers even once it stops working.
It won't even work for the preset values from that point on.
Goto works just fine in the 32bit builds.
My system:
Windows 7 x64
8800GT
(the bug report section on sourceforge seems to have been closed? so I report it here)
Could anyone with a x64 build please check if this applies to others as well? Just open the Goto windows by pressing Ctrl + G and then enter something like 2.8.0 - it should go to 2 mins 8 secs 0 ms then.
Astrophizz
16th November 2009, 20:28
Also what's "Nearest neighbor" for then ? maybe the code can get "slimmer"
Nearest neighbor is (I believe) where pixels in a scaled image simply duplicate the value of the nearest original pixel. So, you get blocks of pixels. For an example when scaling x3 a single pixel would have its value mapped to a 3x3 set of pixels.
tetsuo55
16th November 2009, 20:39
Since it's there any reason why not make "Bilinear (PS 2.0)" the default resizer instead of Bilinear ?
P.S. AFAIK aren't many (if any) cards without PS 2.0 support out there anymore
Also what's "Nearest neighbor" for then ? maybe the code can get "slimmer"PS resizers causes tearing/jitter/judder for many users, so its definately not ready for default enabled yet.
the rest was answered i think.
therealjoeblow
16th November 2009, 22:05
Please watch your DVDs in their correct aspect ratios.
...The point of the request wasn't to obtain a critical (and useless) response...
Mixer73
16th November 2009, 22:09
Wtih 1337 x86 the bug still exists where if you are playing a video and drag'n'drop another video into the window, MPC-HC will try to play both at the same time, I can't find a way to search the bug tracker to see if this one is in the tracker, but it has been reported before.
Polcius
16th November 2009, 22:30
2 questions:
- What's the difference between "Bilinear" and "Bicubic" resizing?
- In wich way is the EVR-CP renderer different from VLC Media Player's? Wich one is better?
tetsuo55
16th November 2009, 22:30
Wtih 1337 x86 the bug still exists where if you are playing a video and drag'n'drop another video into the window, MPC-HC will try to play both at the same time, I can't find a way to search the bug tracker to see if this one is in the tracker, but it has been reported before.please add it to trac, its not on there
clsid
16th November 2009, 22:45
Also include as much information in your bug report as possible, because this is not a common problem, therefore hard to reproduce.
Mercury_22
16th November 2009, 23:42
One more question about the default resizer, from all your answers I understand that the automatic fall to simple Bilinerar it's not working. Is it true ? AKA the statement If there is no Pixel Shader 2.0 support, simple bilinear is used automatically from MPC-HC's tooltip it's not true ? Or I misunderstood everything ?
@tetsuo is your answer based on reports with recent builds after Beliyaal changes in REV 1312 or on reports with older builds ?
snyders6dogrecipe
17th November 2009, 07:15
First off, thanks a lot for this great player that I've been using for 6 years!
For some reason, in the new build, the video feels like it is cutting into my eyes when I watch it. The version before it didn't have this painful effect at the same settings. However, the DXVA, which I always use, looks MUCH better in v1.3.1249.
Could you please make a build that is the same as v1.2.908.0, only with the newer dxva code, so I could get the best of both worlds? (Or instructions that would let me compile it. I don't have any experience with C++ or SDK's or DirectX, though...) That'd make things just about perfect for me.
My specs: Nvidia 8700M gt, Intel duo 2.0 ghz, Windows XP Media Center 32-bit
Thank you very much
tetsuo55
17th November 2009, 08:05
@tetsuo is your answer based on reports with recent builds after Beliyaal changes in REV 1312 or on reports with older builds ?It has always been that way, but obviously bicubic(PS2) never worked before beliyaal fixed itFirst off, thanks a lot for this great player that I've been using for 6 years!
For some reason, in the new build, the video feels like it is cutting into my eyes when I watch it. The version before it didn't have this painful effect at the same settings. However, the DXVA, which I always use, looks MUCH better in v1.3.1249.
Could you please make a build that is the same as v1.2.908.0, only with the newer dxva code, so I could get the best of both worlds? (Or instructions that would let me compile it. I don't have any experience with C++ or SDK's or DirectX, though...) That'd make things just about perfect for me.
My specs: Nvidia 8700M gt, Intel duo 2.0 ghz, Windows XP Media Center 32-bit
Thank you very muchThere is something wrong with your settings, the image should be (near) perfect, please follow the checklist in my signature
Mixer73
17th November 2009, 08:36
Hey guys I am wondering if you can help me troubleshoot a little problem.
I am watching DVB-T recordings with the Microsoft Decoder but they don't seem to deinterlace. I'm using EVR-CP on Vista, what settings should I change in order to get deinterlacing to work?
Could anybody give some quick advice on this?
Wtih 1337 x86 the bug still exists where if you are playing a video and drag'n'drop another video into the window, MPC-HC will try to play both at the same time, I can't find a way to search the bug tracker to see if this one is in the tracker, but it has been reported before.
I have submitted a bug to the tracker for this one.
snyders6dogrecipe
17th November 2009, 09:08
It has always been that way, but obviously bicubic(PS2) never worked before beliyaal fixed itThere is something wrong with your settings, the image should be (near) perfect, please follow the checklist in my signature
Thanks for the faq. My hardware (nvidia geforces 8700m) and everything else matches up, and I tried all of the settings listed there.
But I would imagine the settings would be exactly the same between players, since every time I change a setting in one version of MPC-HC it carries over to any others.
If I could get a compile of v1.2.908.0 with the DXVA carried over from v1.3.1249, I would be complaint-free...:thanks:
tetsuo55
17th November 2009, 12:24
Thanks for the faq. My hardware (nvidia geforces 8700m) and everything else matches up, and I tried all of the settings listed there.
But I would imagine the settings would be exactly the same between players, since every time I change a setting in one version of MPC-HC it carries over to any others.
If I could get a compile of v1.2.908.0 with the DXVA carried over from v1.3.1249, I would be complaint-free...:thanks:Can you post screenshots etc.. like requested in that link i gave you.
The problem is related to one of the many new settings that where introduced since 908
snyders6dogrecipe
17th November 2009, 13:57
Can you post screenshots etc.. like requested in that link i gave you.
The problem is related to one of the many new settings that where introduced since 908
Well here are screenshots of the 1080p Avatar trailer using v1.2.908.0 and v1.3.1249.0, respectively.
http://a.imagehost.org/0177/ava2.jpg
http://i.imagehost.org/0470/ava3.jpg
It's hard to really pinpoint what exactly is wrong with the image, other than the feeling of strain on my eyes that it induces if I stare at it for a few seconds. The 1.2.908.0 one doesn't do that.
Thank you for your time.
Steveo08
17th November 2009, 14:11
i have a question for using pixel shader at mpc-hc, what is the different between using "combine shaders" & "combine screen space shaders" when i use the shader "sharpen complex 2" ?
Keiyakusha
17th November 2009, 14:27
i have a question for using pixel shader at mpc-hc, what is the different between using "combine shaders" & "combine screen space shaders" when i use the shader "sharpen complex 2" ?
The function of these "combiners" remains the same independently on chosen shader. They just allows you to use more than one shader or screen space shader at time.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.