View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
kirakami
3rd November 2011, 17:30
why is MPC-HC internal subtitle filter disabled in Overlay Mixer output
if i set output to VMR or EVR i get hell of a dropped frames :(
directvobsub 2.40 causes sync issues. ffdshow sub filter is somewhat broken
it would be really! great if MPC-HC internal subtitle filter start to work in Overlay Mixer
DarkSpace
3rd November 2011, 17:54
First of all, hello and thanks for the program!
Second, I am sorry if someone already posted a bug like this (or even a solution to it), but I can't submit a bug report the "proper" way - sourceforge won't let me register, and, as it appears, registration is mandatory. The bug report link in the first post also doesn't work, so I hope you will excuse my (probably unusual) behaviour.
Third, if this is the incorrect section, I was linked here from x264.nl, so I just assumed it was the right one. Sorry about that.
For the bug I am experiencing, it is that some subtitles aren't shown in fullscreen mode whereas they are shown in windowed mode. I am using Media Player Classic Home Cinema - v1.5.2.3456 on Windows Vista SP2. I am using madVR version 0.77 as a video renderer, but the same problem also occured when using EVR Custom Pres. My screen resolution is 1280 x 1024 at 60 Hz, and the internal subtitle filter is set to always position the subtitles relatively to the video frame, with the maximum rendering resolution being set to "Desktop". I tried disabling "Round up to power of two", but the result was the same.
I have some screenshots to show the bug, they are here:
fullscreen: http://imgur.com/eL0Vd
windowed: http://imgur.com/g8hep
I also have provided a sample (the pictures are from the sample), which can be found here:
http://www.megaupload.com/?d=3BVC6YK6
Thank you in advance, I hope to have given all the necessary information!
JanWillem32
3rd November 2011, 18:25
@kirakami: Overlay is incompatible with pretty much all extras on top of video input. (It's actually not only the subtitle renderer that is disabled with overlay.) With recent Windows versions (I think it's since Vista), overlay isn't available anymore. MPC-HC will revert to VMR-7 windowed in that case. For both, the speed is indeed as great as the display quality is abysmal.
For work on the internal renderers and some filters, I'll happily take requests. I've made two threads in this section of the forum for that purpose.
@DarkSpace: It's been reported recently.
I've already made a fix for \clip: http://sourceforge.net/apps/trac/mpc-hc/ticket/1828
For \org it might take a while longer (help appreciated): http://sourceforge.net/apps/trac/mpc-hc/ticket/1829
Both functions are incompatible with relative positioning at the moment.
DarkSpace
3rd November 2011, 18:49
JanWillem32, then, I am sorry, I am currently working on catching up to several threads here and usually won't post something unless I think it has not been asked before. However, due to Doom9's 5-days-rule, I was unable to post this when I found it and afterwards, I wasn't home for a few days. I'm sorry to have wasted your time.
JanWillem32
3rd November 2011, 23:36
It's quite okay. I wanted to fix this part for a while now, and I've just patched it (locally).
There's only the issue of general resizing of the window and text rotation now. The sample in ticket #1829 shows different amounts of rotation with small window sizes compared to large window sizes. That could be caused by the fact that the rotation and coordinate systems are mostly integer-based. Floating point coordinate systems work better for multidimensional orientation like this. Oh, well... It's probably just another fundamental flaw in the subtitle renderer.
v0lt
4th November 2011, 07:44
I've already made a fix for \clip: http://sourceforge.net/apps/trac/mpc-hc/ticket/1828
For \org it might take a while longer (help appreciated): http://sourceforge.net/apps/trac/mpc-hc/ticket/1829
Both functions are incompatible with relative positioning at the moment.
I'd really like you to be fixed ticket 1828.
I do not think it would be worse than now. Or am I wrong?
JanWillem32
4th November 2011, 12:21
I've tested the functions yesterday, and things seem to work okay. I'm in my lunch break now, but I've made a patch without the changes I made to the ISubPic.h interfaces (as that part is a bit more complicated). If the patch seems to be okay, it can be used immediately.
patch: http://pastebin.com/ydpirT31
kirakami
4th November 2011, 13:47
Where to Download Media Player Classic Home Cinema BE Mod r3785?
v0lt
4th November 2011, 14:28
I've tested the functions yesterday, and things seem to work okay. I'm in my lunch break now, but I've made a patch without the changes I made to the ISubPic.h interfaces (as that part is a bit more complicated). If the patch seems to be okay, it can be used immediately.
Thank you!
The test build is working correctly. We are waiting for SVN updates.
JanWillem32
4th November 2011, 14:47
Do you mean that other patches have to go into the trunk first, or are things stalled for some reason?
v0lt
4th November 2011, 15:06
This patch works correctly and does not create new problems (I think). IMHO, it should be introduced.
There are problems with color in the current SVN-build of (for example Hi10P on AMD, DVD-Video on x64 (AMD?))
If you have a solution, then we would be interested to see them.
added:
Some people interested in your builds, but they are not yet stable. But I think some ideas could be implemented gradually.
JanWillem32
4th November 2011, 16:18
Indeed, the patches for the internal decoders, subtitles, and maybe some mixer changes could be added first. I'm familiar with the problems that come from the combination of the video processor in the EVR and VMR-9 mixers and decoders (deinterlacing, chroma handling, colorspace conversion, that sort of things). I don't have a perfect solution for everything yet. I can try to explain a few bits and then propose some patches, or add things to a todo list.
kasper93
4th November 2011, 20:08
@JanWillem32: after your patch (rev 3808) we can't set bottom margin when option "Position subtitles relative to the video frame" is enabled. I only want to move subtitles little higher relatively to frame :)
JanWillem32
4th November 2011, 22:48
Extra adaptation for aspect ratios over 2 was added for when "Position subtitles relative to the video frame" is enabled, indeed at the cost of usage of the margins setting. (RTS.cpp, line 3208)
Changes to this feature are open for discussion, just like any other part of the subtitle renderer. I don't mind changing things. (I've seen that I need to patch a few minor inaccuracies of the formatted text parser soon, anyway.)
bozek
4th November 2011, 22:48
Dammit! Alexins is on vacation again :D
We really need somebody to volunteer and start a second dump for the BE mod...
Hera
5th November 2011, 01:02
Any plans for Windows 8 METRO?
roytam1
5th November 2011, 01:35
Dammit! Alexins is on vacation again :D
We really need somebody to volunteer and start a second dump for the BE mod...
I just saw his reply today:
http://forum.doom9.org/showthread.php?p=1536401#post1536401
so, poke him for the updates ;)
Mercury_22
5th November 2011, 08:24
Dammit! Alexins is on vacation again :D
We really need somebody to volunteer and start a second dump for the BE mod... See http://sourceforge.net/apps/trac/mpc-hc/ticket/1598 so better ask him to update the patch against the latest revision and maybe we can have it in the SVN if more people will ask for it :)
kirakami
5th November 2011, 08:58
mpc-hc_x86.3801.7z
http://rghost.net/28214371
kasper93
5th November 2011, 17:29
Extra adaptation for aspect ratios over 2 was added for when "Position subtitles relative to the video frame" is enabled, indeed at the cost of usage of the margins setting. (RTS.cpp, line 3208)
Changes to this feature are open for discussion, just like any other part of the subtitle renderer. I don't mind changing things. (I've seen that I need to patch a few minor inaccuracies of the formatted text parser soon, anyway.)
I don't know what other think about that, but I personally watch many AR>2 videos and I don't like that extra adaptation. I think the best way is to add option to enable or disable it. Anyway let's see what others say about it.
bozek
6th November 2011, 10:49
See http://sourceforge.net/apps/trac/mpc-hc/ticket/1598 so better ask him to update the patch against the latest revision and maybe we can have it in the SVN if more people will ask for it :)
I sent a message to him but no response so far.
kirakami
6th November 2011, 14:07
I think Triple Buffering will dramatically improve Hi10p Playback
on old PC with Single Core Pentium 4 CPU's. i get A/V sync issues with 10-bit videos 400kbps bit-rate or higher with ASS subs ON.
adding this feature might just do a trick for users who can't use Hardware Acceleration & VMR/EVR/madVR
because even old Nvidia/ATI graphic cards easily supports Triple Buffering Feature
it might work like kind of Alternative to Hardware Acceleration which just might work with MPC-HC's Overlay Mixer Output.
Hera
6th November 2011, 18:39
I think Triple Buffering will dramatically improve Hi10p Playback
on old PC with Single Core Pentium 4 CPU's. i get A/V sync issues with 10-bit videos 400kbps bit-rate or higher with ASS subs ON.
adding this feature might just do a trick for users who can't use Hardware Acceleration & VMR/EVR/madVR
because even old Nvidia/ATI graphic cards easily supports Triple Buffering Feature
it might work like kind of Alternative to Hardware Acceleration which just might work with MPC-HC's Overlay Mixer Output.
Ain't triple buffering used to eliminate tearing at a major performance loss?
EVR:CP, VMR-9, and Haali buffer ahead when possible.
Additionally you can buffer subtitles.
Those can improve performance.
And how old is your GPU?
My NV6600 is old and with JanW32's builds and EVR:CP it can push 1080p subtitles with the CPU pushing 720p 8-bit video without deblocking.
MadVR is the worst performing renderer out there - you need a up-to-date gamer rig to even care about it.
Overlay will causes A/V sync issues with heavy video - I don't think it knows how to skip.
Just stick with SD content and you should be fine.
kirakami
6th November 2011, 20:27
Ain't triple buffering used to eliminate tearing at a major performance loss?
EVR:CP, VMR-9, and Haali buffer ahead when possible.
Additionally you can buffer subtitles.
Those can improve performance.
And how old is your GPU?
My NV6600 is old and with JanW32's builds and EVR:CP it can push 1080p subtitles with the CPU pushing 720p 8-bit video without deblocking.
MadVR is the worst performing renderer out there - you need a up-to-date gamer rig to even care about it.
Overlay will causes A/V sync issues with heavy video - I don't think it knows how to skip.
Just stick with SD content and you should be fine.
Ain't triple buffering used to eliminate tearing at a major performance loss?
yep. & i think MPC-HC doesn't use it. (i don't see any option)
EVR:CP, VMR-9, and Haali buffer ahead when possible.
Additionally you can buffer subtitles.
Those can improve performance.
VMR/EVR hopeless for me huge FPS drop :(
madVR doesn't support my GPU
latest Haali got a Bug with renderer video screen goes black when playback output is set to Haali Renderer :( only audio plays
And how old is your GPU?
Nvidia Ge-Force 4 MX440 AGP8x (2003 or 2004)
Overlay will causes A/V sync issues with heavy video - I don't think it knows how to skip.
Just stick with SD content and you should be fine
I never play HD content. Only Hi10p SD content causes sync issue only
when used with ASS subs using various blur & karaoke effects :(
usually during Anime OP & ED
SamuriHL
6th November 2011, 21:43
Help. Trying to build the latest code. I've not changed anything in my development environment since the last build I've done. Doing a clean build.
67>LINK : fatal error LNK1181: cannot open input file 'libpthreadGC2.a'
67>
67>Build FAILED.
67>
67>Time Elapsed 00:01:28.05
========== Build: 66 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Anyone have any thoughts? I'm doing an x86 build and am not building x64.
fastplayer
6th November 2011, 22:10
Changing the screen margins of subtitles has no effect in 3812. Last known working build is 3807.
Looks like 3808 (http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc?revision=3808&view=revision) is causing this.
Here's how to reproduce: Enable "Position subtitles relative to the video frame", play a video with SRT subs, now change the bottom margin. Result: subtitle margin doesn't change.
Edit: Oops, kasper93 already reported (http://forum.doom9.org/showthread.php?p=1536396#post1536396) it.
bur
9th November 2011, 22:33
For things regarding the standalone filters, is this also the right thread?
djsolidsnake86
10th November 2011, 00:26
there are problems playing wmv files!
Aleksoid1978
10th November 2011, 08:14
there are problems playing wmv files!
Upload a sample.
djsolidsnake86
10th November 2011, 10:45
sometimes i can't move forward the seek bar, if i do that mpc hang
Anarchitektur
10th November 2011, 13:06
Upload a sample.
Mr. Aleksoid, is there any chance for newer build of your BE Mod and when?
TIA :)
Aleksoid1978
10th November 2011, 13:11
Mr. Aleksoid, is there any chance for newer build of your BE Mod and when?
TIA :)
No - i don't use and don't build BE mod. Sorry.
LigH
10th November 2011, 13:51
sometimes i can't move forward the seek bar, if i do that mpc hang
Impossible to fix without specific knowledge about the file you are playing. Even a MediaInfo analysis may not be enough, a file sample may be necessary.
According to my experiences, it is often a source file or splitter issue (e.g. corrupt video not containing a valid keyframe index, or unusually multiplexed MPEG-PS), so MPC-HC as such is probably not to blame in such cases.
oddball
10th November 2011, 19:27
How do I get mpc to obey the forced subtitles flag when subtitles are initially 'off'?
dbone1026
10th November 2011, 19:29
How do I get mpc to obey the forced subtitles flag when subtitles are initially 'off'?
Use LAV
oddball
10th November 2011, 19:33
Use LAV
Does not work. Option is ticked in LAV Splitter.
dbone1026
10th November 2011, 19:35
Does not work. Option is ticked in LAV Splitter.
Odd, I used LAV Splitter with MPC and had my forced subs automatically delivered/displayed in MPC.
oddball
10th November 2011, 19:39
Odd, I used LAV Splitter with MPC and had my forced subs automatically delivered/displayed in MPC.
Even if you hit W so they are in the 'off' state, exit the player then play the same movie?
dbone1026
10th November 2011, 19:41
Even if you hit W so they are in the 'off' state, exit the player then play the same movie?
I think I left subs on and simply used LAV to only deliver forced subs if present. It should have the same effect
oddball
10th November 2011, 19:43
No I want subs off by default and ONLY to display forced subs. It's annoying when you are watching a movie and have to go back because there were forced subs but you had subs switched off. I mentioned this before but devs have totally ignored me on this.
dbone1026
10th November 2011, 19:46
No I want subs off by default and ONLY to display forced subs. It's annoying when you are watching a movie and have to go back because there were forced subs but you had subs switched off. I mentioned this before but devs have totally ignored me on this.
I understand, but if you use LAV, set subs to on but have lav only present forced subs if available you get the same exact effect. If there are forced subs they will appear. If there are subs that are not forced they will not appear
oddball
10th November 2011, 19:47
I understand, but if you use LAV, set subs to on but have lav only present forced subs if available you get the same exact effect. If there are forced subs they will appear. If there are subs that are not forced they will not appear
But then it shows full subs. I don't want that. Setting LAV to only show forced subs means I lose full subs for anime etc. No good! I want full subs when I hit W and forced subs when subs are off by default.
dbone1026
10th November 2011, 19:48
But then it shows full subs. I don't want that.
No it doesn't, it only presents forced subs
http://www.mediasmartserver.net/blog/wp-content/uploads/2011/06/LAV-Splitter-Options.jpg
oddball
10th November 2011, 19:51
it only presents forced subs
I don't want forced subs 'only' I want full subs when I hit W and forced subs whether subs are enabled by default or not. Forced subs should be just that. FORCED SUBS!
dbone1026
10th November 2011, 19:59
I don't want forced subs 'only' I want full subs when I hit W and forced subs whether subs are enabled by default or not. Forced subs should be just that. FORCED SUBS!
Oh, gotcha. I only ever use forced subs. However, I don't think what you want is possible currently with MPC HC, I believe subs have to be on for any subs to be displayed currently (which is not what you want). Don't know is LAV has a way around that
oddball
10th November 2011, 20:07
Ah I forgot. I am waiting on a new version of LAV splitter to address the issue. Basically it needs to work better with language priority (only display English subs with a foreign audio track) and forced subs when they are flagged so I can eventually just leave subs enabled in MPC-HC and let LAV handle the rest (Suffering from brain farts again).
sneaker_ger
10th November 2011, 20:13
I don't want forced subs 'only' I want full subs when I hit W and forced subs whether subs are enabled by default or not. Forced subs should be just that. FORCED SUBS!
Take a look at LAV Splitter's new advanced stream selection:
http://1f0.de/lav-splitter/lav-splitter-stream-selection/
That way you could activate full English subs for Japanese audio, and only forced subs for English audio for example.
(audio: "jpn,eng", subtitles: "jpn:eng;eng:eng|f;eng:off")
No need to press buttons anymore.
oddball
10th November 2011, 20:23
OK did not realize there was a new version out. What is the option to enable full English subs for all non-English audio and English forced subs for all audio?
Nevermind. This is now the default behaviour (at last!).
Thanks for the heads up.
nevcairiel
10th November 2011, 20:26
OK did not realize there was a new version out. What is the option to enable full English subs for all non-English audio and English forced subs for all audio?
"eng:eng|f;eng:off;*:eng" should do the trick.
There is no "not" operator, so you have to re-order the logic a bit.
The above means (processed in this order, first match wins)
English audio -> English forced subs (if there are any)
English audio -> Subtitles off
* Audio -> English subs
bur
10th November 2011, 22:43
Does anyone know who is responsible for the new VSFilter builds? The builds can be downloaded as part of the standalone filter pack from the MPC HC site.
It'd be nice if an option could be added to hide the tray icon.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.