An interesting minor feature

2 posters

Go down

An interesting minor feature Empty An interesting minor feature

Post by vramor Fri Jan 09, 2015 6:02 am

I noticed that I've got the simple submenu for subtitles like this
An interesting minor feature 2015-01-09_023251-.1420782596
when I choosed Enhanced Video Renderer in MPC-HC Options
An interesting minor feature 2015-01-09_023251.1420782968
and I've got enhanced submenu
An interesting minor feature 2015-01-09_023318-.1420783102
when I choosed Enhanced Video Renderer (custom presenter)
An interesting minor feature 2015-01-09_023318.1420783289
Why?

vramor

Posts : 164
Join date : 2011-07-28

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by Admin Fri Jan 09, 2015 7:11 pm

In the first case an external subtitle renderer (DirectVobSub) is used. In the second case the internal subtitle renderer is used. The options show which video renderers are compatible with the internal subtitle renderer.

DirectVobSub offers similar options, but those must be accessed through that filter itself.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by vramor Fri Jan 09, 2015 10:34 pm

I did not install the external DirectVobSub at all so my SystemInfo tool cannot find it.
Spoiler:

vramor

Posts : 164
Join date : 2011-07-28

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by Admin Sun Jan 11, 2015 12:12 am

That tool only lists decoders. If you want a full list then use:
Codec Tweak Tool > Generate Log

To see which filters MPC-HC is using, simply look at Menu > Play > Filters.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by vramor Sun Jan 11, 2015 2:13 pm

Admin wrote:That tool only lists decoders. If you want a full list then use:
Codec Tweak Tool > Generate Log

To see which filters MPC-HC is using, simply look at Menu > Play > Filters.
I've followed all your advices and got the next results:
An interesting minor feature 2015-01-11_162737.1420985238
An interesting minor feature 2015-01-11_162616.1420985364
An interesting minor feature 2015-01-11_144848.1420985410
Unfortunately the situation did not become clearer for me Sad

vramor

Posts : 164
Join date : 2011-07-28

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by Admin Sun Jan 11, 2015 3:58 pm

Situation #1:
You are using a renderer (EVR) that is NOT compatible with the internal subtitle renderer. Result: VSFilter (=DirectVobSub) is used for subtitles.

Situation #2:
You are using a renderer (EVR-CP) that is compatible with the internal subtitle renderer. Result: the internal subtitle renderer is used. This shows more options. VSFilter is blocked automatically and therefore not used.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by vramor Sun Jan 11, 2015 4:24 pm

Admin wrote:Situation #1:
You are using a renderer (EVR) that is NOT compatible with the internal subtitle renderer. Result: VSFilter (=DirectVobSub) is used for subtitles.
Thank you, it has a ring of truth about it. But I cannot yet understand, why Codec Tweak Tool does not show the presence of VSFilter in its log except KLCP's vsfilter64.dll and MS's mstvcapn.dll.

vramor

Posts : 164
Join date : 2011-07-28

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by Admin Sun Jan 11, 2015 5:09 pm

mstvcapn.dll is totally unrelated. That is for TV subtitles in Media Center. MPC-HC does not use it.

I don't understand what you don't understand. Your screenshot clearly shows that VSFilter is used and it is also present in the CTT log.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by vramor Sun Jan 11, 2015 7:06 pm

Admin wrote:I don't understand what you don't understand. Your screenshot clearly shows that VSFilter is used and it is also present in the CTT log.
I don't understand what is "the internal subtitle renderer". Internal means built-in? Where? Sorry.

vramor

Posts : 164
Join date : 2011-07-28

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by Admin Mon Jan 12, 2015 12:51 am

Yes, it is built into MPC-HC. It is very similar to VSFilter, and they actually share most of their code (VSFilter is part of MPC-HC project).

VSFilter is a DirectShow filter that is placed in between the video decoder and the video renderer. It renders the subtitles at the resolution of the video and then blends them with the video. The resulting video is then send to the video renderer. There are no special requirement for the video renderer and it works with all DirectShow players. Limitation is that it doesn't support DXVA hardware acceleration.

The internal renderer functions a bit differently and has less limitations. In this case the video renderer gets separate inputs from the video decoder and the subtitle renderer. Those two inputs get blended together inside the video renderer. The video renderer obviously needs to support doing that, so it only works with some of the renderers that you can choose in MPC-HC. It works with DXVA because the video decoder is connected directly to the video renderer. It also allows rendering the subtitles at a different resolution, for example that of your screen. This gives better quality subtitles.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by vramor Mon Jan 12, 2015 6:25 am

Thank you, you are very kind! And there is one thing I'd like to be explained. Are the EVR and EVR-CP the parts of the Windows, video driver, or they are built into KLCP? Thank you once more.
P.S. I'm often using EVR because it works faster than EVR-CP especially on weak machines.
P.P.S. Your explanations are very interesing and useful. Maybe there are any sources with such sort of information. If so, where can anybody to get it?

vramor

Posts : 164
Join date : 2011-07-28

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by Admin Mon Jan 12, 2015 6:04 pm

Yes, EVR is a standard renderer from Windows. EVR-CP is an internal one of MPC-HC. It uses the standard EVR and adds extra functionality to it. Due to this extra functionality it is a little bit slower, but only noticeable on very old machines.

Same applies to VMR-7/9. The "windowed" version is standard renderer from Windows. The "renderless" version is enhanced internal version of MPC-HC.

There is no place where all this information is available at a single convenient location. Eventually all this knowledge should get documented in the FAQ, but writing documentation is very boring, so it takes a long time.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by vramor Mon Jan 12, 2015 6:57 pm

I can't stop thanking you Smile
Nevetheless the only question remained undetermined: why the internal subtitle renderer, builted into MPC-HC, turned out incompatible with the standard renderer from Windows (EVR)?
P.S. As to writing documentation I understand you very well Smile

vramor

Posts : 164
Join date : 2011-07-28

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by Admin Mon Jan 12, 2015 7:03 pm

Because that doesn't provide the functionality needed by the internal subtitle renderer. It is by default just a 'simple' renderer. Applications that need more functionality can create a modified version like MPC-HC did.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by vramor Tue Jan 13, 2015 1:13 pm

I see it clearer now (c).
MPC-HC with the standard Windows' EVR automatically calls the VSFilter included in KLCP to show the subtitles if any. If the MPC-HC is tuned to use its own EVR, i.e. EVR-CP, there is no need to call VSFilter, as MPC-HC uses the embedded internal subtitle renderer. Is this correct?

vramor

Posts : 164
Join date : 2011-07-28

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by Admin Tue Jan 13, 2015 1:53 pm

Yes

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

An interesting minor feature Empty Re: An interesting minor feature

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum