Log in

View Full Version : xy-VSFilter Project (High Performance VSFilter Compatible Subtitle Filters)


Pages : 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23

mindbomb
20th March 2014, 21:33
with xy vsfilter and catalyst 14.2, i have green pgs subs with black borders. windows 7 and a radeon 6310.

madshi
20th March 2014, 21:34
With madVR or EVR? Please try both.

mindbomb
20th March 2014, 22:01
with evr, mpc hc's evr cp, and madvr. with dxva copyback and software decoding. xy vsfilter btw, not xy subfilter.

madshi
20th March 2014, 22:34
Ah, xy-vsfilter, not XySubFilter, missed that.

cyberbeing
20th March 2014, 22:47
Please provide a sample mindbomb.

Actually, your issue was probably because this commit (https://github.com/mpc-hc/mpc-hc/commit/2fc627e) from MPC-HC which fixed a bug with PGS palette parsing, was only merged into our codebase in March 2013 while xy-VSFilter 3.0.0.211 was released in November 2012. Releasing a new official xy-VSFilter build is still on our to-do list. The unofficial build of xy-VSFilter included with CCCP codec pack (http://www.cccp-project.net/) already includes this and other fixes backported from our newer branches. Try installing xy-VSFilter from CCCP and see if it resolves your issue.

mindbomb
21st March 2014, 05:45
yea, that fixed it.

sexus
22nd March 2014, 02:43
ok ive got a couple questions , since im kinda mindboggled here , first one whats the difference between xy-vsfilter and xysubfilter arent they the same or what

second one is whats kerning whats its purpose and whats the benefits of including it in xy-vsfilter, will it improve the sub playback quality , speed or what

and a quote from over at xbmc forums xy-vsfilter cannot scale graphic PGS subtitles, unlike DVDplayer and DSplayer internal subtitles renderers, so effectively xy-vsfilter is not a universal solution, and we need something better.

is this true and if can it be fixed, i very much would like to see xy-vsfilter be the nr.1 used sub renderer for its universality, speed and quality or was it xysubfilter ?, lols , perhaps well know once my first question gets cleared up, since its being worked on using it with xbmc dsplayer builds over here http://forum.xbmc.org/showthread.php?tid=154534&pid=1659806#pid1659806

, thanks in advance

kasper93
22nd March 2014, 05:04
xy-vsfilter and other VSFilter like renderers are lost cause. Currently either you should use xysubfilter or internal subtitle renderer of MPC-HC (or BE ;p). About scaling PGS, this is rarely needed in fact more common are SD DVB subtitles in HD video. But anyway xysubfilter can handle all things well.

cyberbeing
22nd March 2014, 05:37
difference between xy-vsfilter and xysubfilter arent they the same or what

xy-VSFilter (VSFilter.dll) requires input from a video decoder, renders subtitles directly on the video at original resolution, then outputs the video frames to the video renderer. The main reason VSFilter exists is to essentially hardsub video in realtime. For playback this isn't optimal for quality (usually 4:2:0 YCbCr), but it has superior compatibility from taking special APIs and separate subtitle bitmaps out of the equation. It also can be used in VirtualDub and Avisynth, it you needed to encode a hardsubbed video from some reason.

XySubFilter (XySubFilter.dll) connects directly to a "Subtitle Consumer" using the SubRenderIntf (http://madshi.net/SubRenderIntf.h) we developed with madshi, and never touches video frames. The subtitles (4:4:4 RGB) are output at the resolution requested by the video renderer as separate bitmaps. This offers the highest quality for playback purposes, but requires explicit support of our subtitle interface. Currently only madVR and MPC-HC (EVR-CP/VMR9) support it. Everywhere else you'd be forced to use some other subtitle filter.


whats kerning whats its purpose and whats the benefits of including it in xy-vsfilter
Kerning is essentially per-Glyph spacing based on surrounding Glyphs. If the font includes good kerning metrics, it should improve readability. If the font include bad kerning metrics (not uncommon), it will hurt quality. Wikipedia: Kerning (http://en.wikipedia.org/wiki/Kerning)

quote from over at xbmc forums (about PGS not being scaled by VSFilter.dll)
A couple days ago MPC-BE added support for PGS/DVB scaling in VSFilter.dll (https://github.com/jeeb/mpc-be/commit/fa118c34a0d3ef5dbdfc81f91f7fd58135f1d407), but I haven't looked into it yet.

Ver Greeneyes
22nd March 2014, 16:26
XySubFilter has completely stopped loading for me in MPC-HC and I can't figure out why. I've tried:

1) running Uninstall_XySubFilter.bat and Install_XySubFilter.bat (with administrative privileges)
2) switching between stable versions of MPC-HC (1.7.2 and 1.7.3) and the latest nightly
3) adding XySubFilter and XySubFilterAutoLoader to the External Filters list and setting them to Prefer (and setting DirectVobSub (auto-loading version) to Block)
4) disabling all the internal filters so external LAV filters are used.
5) toggling the Auto-load subtitles option in MPC-HC's playback settings

None of these cause XySubFilter to be loaded, even though it worked before! I think this started after I first ran Uninstall_XySubFilter.bat and Install_XySubFilter.bat after reading about having to do that here (I updated madVR and XySubFilter at the same time and it seemed to Just Work before), but that might be a total red herring. I watch videos with subtitles maybe twice a week so this may have been broken for a few days before I noticed it.

I'm out of ideas for what to try myself, though I bet it ends up being something simple :\

cyberbeing
22nd March 2014, 16:46
Please upload a log from the logging build (https://www.mediafire.com/?bxixb7x9gbo7v4n).

Ver Greeneyes
22nd March 2014, 17:04
Oh jeez, I'm a moron.. I got the 32-bit and 64-bit versions mixed up in my head :( (I realized after the 32-bit logging build worked normally) No wonder it didn't work.. sorry about the noise!

sexus
22nd March 2014, 19:37
xy-VSFilter (VSFilter.dll) requires input from a video decoder, renders subtitles directly on the video at original resolution, then outputs the video frames to the video renderer. The main reason VSFilter exists is to essentially hardsub video in realtime. For playback this isn't optimal for quality (usually 4:2:0 YCbCr), but it has superior compatibility from taking special APIs and separate subtitle bitmaps out of the equation. It also can be used in VirtualDub and Avisynth, it you needed to encode a hardsubbed video from some reason.

XySubFilter (XySubFilter.dll) connects directly to a "Subtitle Consumer" using the SubRenderIntf (http://madshi.net/SubRenderIntf.h) we developed with madshi, and never touches video frames. The subtitles (4:4:4 RGB) are output at the resolution requested by the video renderer as separate bitmaps. This offers the highest quality for playback purposes, but requires explicit support of our subtitle interface. Currently only madVR and MPC-HC (EVR-CP/VMR9) support it. Everywhere else you'd be forced to use some other subtitle filter.



Kerning is essentially per-Glyph spacing based on surrounding Glyphs. If the font includes good kerning metrics, it should improve readability. If the font include bad kerning metrics (not uncommon), it will hurt quality. Wikipedia: Kerning (http://en.wikipedia.org/wiki/Kerning)


A couple days ago MPC-BE added support for PGS/DVB scaling in VSFilter.dll (https://github.com/jeeb/mpc-be/commit/fa118c34a0d3ef5dbdfc81f91f7fd58135f1d407), but I haven't looked into it yet.


ok that explaines quite a few things , thanks , ok so i suppose xy-vsfilter is out of the equation since XySubFilter is the nr.1 , thanks for that and i hope that that pgs scaling can be added into XySubFilter, thanks again and ill update the guys over at the dsplayer thread about this

cyberbeing
22nd March 2014, 19:53
The lack of PGS/DVB scaling is only a problem when using xy-VSFilter (VSFilter.dll), since it requires the PGS/DVB resolution to match the video resolution.

With XySubFilter this is not a problem, since it never touches video frames. PGS/DVB scaling is instead performed by Subtitle Consumer if needed, which both madVR and MPC-HC (EVR-CP/VMR9) support.

sexus
22nd March 2014, 20:26
oh wow! never knew that so its already there , lols , well one more reason for the guys to make the transition better now than later ill add this immediately , thanks cyber for all the great insightful info ive learned quite abit and keep up the great work on the epic XySubFilter the Nr.1

Plutotype
24th March 2014, 00:18
Hi,
Would it be difficult to add support for rendering multiple subtitle streams? I mean having for example 2 external srt files ( with different language ) positioned nicely up and down?
I think I can do this with using MPC built in subtitle renderer with XySubFilter ( with different srt file ) at once, but just asking... sorry its crazy
Thanks

Sm3n
24th March 2014, 01:22
Hi,
I had the same issues as some of you guys with the latest version of xysubfilter. Now it's fixed by renaming files like it has been said...
But I noticed something, some srt still can't be loaded with some TS file. I don't know why. In the same folder I'm able to load the same subtitle on a mp4 file per example.
The solution? I have to convert the srt file to an ass file, and then the xysubfilter will load correctly the subtitle...
(sorry if I missed something on the issue, I didn't read all the replies.)

Cheerz

cyberbeing
24th March 2014, 11:23
Sm3n, could you provide a sample of the TS + srt subtitle which refuses to load? The format of the video file shouldn't matter when loading external subtitles.

Do you use a different splitter, video decoder, or audio decoder for TS videos than you do for MP4 videos? Also, which media player do you use?

Does XySubFilter get loaded and fail to display the srt file, or does it fail to get loaded at all? If you set "XySubFilter settings -> Main -> Loading -> Always Load", does anything change?

Since you say that converting the srt file to an ass file resolved the issue, if you then convert the resulting ass file back to a srt file can you still reproduce the issue?

Is there anything special about the directory name or file name of the TS video? If you move and rename them to C:\test.ts & C:\test.srt does it resolve the issue?

Please upload a log from the logging build (https://www.mediafire.com/?bxixb7x9gbo7v4n).

Sm3n2
24th March 2014, 16:40
OK, so.

I tried everything you asked to the moment I saw that my subtitle in question, didn't start with positive value:

1
00:00:00,-069 --> 00:00:01,238

My bad, I didn't pay attention when I resynced it... ^^'
So with negative value, xysubfilter doesn't load. My .ass subtitle was loading because of the conversion. My subtitle's converter put the negative value on "-0".

And when I said:
In the same folder I'm able to load the same subtitle on a mp4 file per example.

it was for sure not the same. (was the same but synced differently.)
Issue solved. xD Thx for your help!

And just to answer, I use MPC-HC + MadVR + Lav (splitter & video) + FFDShow (raw video & audio) + AutoFrequency + ReClock.


ps: what difference there is between the version you uploaded on mediafire and the version on code.google?

cyberbeing
24th March 2014, 18:36
my subtitle in question, didn't start with positive value:

1
00:00:00,-069 --> 00:00:01,238

My bad, I didn't pay attention when I resynced it... ^^'
So with negative value, xysubfilter doesn't load. My .ass subtitle was loading because of the conversion. My subtitle's converter put the negative value on "-0".


What application were you using for resyncing and converting your subtitles? Have you considered using Aegisub?

ps: what difference there is between the version you uploaded on mediafire and the version on code.google?
If the mediafire build you are talking about is XySubFilter_3.1.0.682_x86_Logging.7z , the only difference is that it writes a debug log to C:\XySubFilter.log. The logging builds should not be used unless you actually require the debug log, since they can have significantly lower performance.

Sm3n2
24th March 2014, 21:28
If the mediafire build you are talking about is XySubFilter_3.1.0.682_x86_Logging.7z , the only difference is that it writes a debug log to C:\XySubFilter.log. The logging builds should not be used unless you actually require the debug log, since they can have significantly lower performance.
OK. I'll keep using the No_Logging version.

What application were you using for resyncing and converting your subtitles? Have you considered using Aegisub?
Aegisub is good for fansuber of anime. But not enough for my purpose.
I prefer VisualSubSync (also called VSS). It uses its own presets for a pro utilisation of subtitling. I don't know if you know it. The french teams of subtitling (among others) are using this perfect tool. :)
I simply made an small error, but next time I'll be more vigilant. ^^'

n2k3
30th March 2014, 02:57
Thanks for making/continuing this filter! Only thing I need for perfect viewing pleasure is that hopefully madshi will add a way to put the subtitles below the video.

ryrynz
30th March 2014, 03:49
Don't need to hope, he'll save it in a new version soon enough.

andyvt
4th April 2014, 12:24
XySubFilter (XySubFilter.dll) connects directly to a "Subtitle Consumer" using the SubRenderIntf (http://madshi.net/SubRenderIntf.h) we developed with madshi, and never touches video frames. The subtitles (4:4:4 RGB) are output at the resolution requested by the video renderer as separate bitmaps. This offers the highest quality for playback purposes, but requires explicit support of our subtitle interface. Currently only madVR and MPC-HC (EVR-CP/VMR9) support it. Everywhere else you'd be forced to use some other subtitle filter.


Is the latest code for XySubFilter available somewhere? I pulled down the repro (https://github.com/Cyberbeing/xy-VSFilter) and tried searching for "ISubRenderConsumer/ISubRenderProvider" (is that the right interface), but couldn't find it.

The reason I ask is because I've been looking into adding support for the EVR. The first approach (custom EVR presenter implementing ISubRenderConsumer) I tried won't work because [I'm guessing] XySubFilter only QI the filters in the graph and doesn't crawl through the EVR to see if the presenter will respond - which I was planning to change...

That said, I'm not sure it's the most flexible approach after doing some more digging. Have you looked at using the IMFVideoMixerBitmap interface on the EVR Mixer? I did a quick POC and you can overlay arbitrary bitmaps on the surfaces in the mixer. The main benefit is that it would work in any player that uses the EVR. The downside is that the bitmaps aren't timestamped so setting/clearing would have to be done by the filter.

Thanks

sneaker_ger
4th April 2014, 14:14
Is the latest code for XySubFilter available somewhere? I pulled down the repro (https://github.com/Cyberbeing/xy-VSFilter) and tried searching for "ISubRenderConsumer/ISubRenderProvider" (is that the right interface), but couldn't find it.

The current official build is from xy_sub_filter_rc3. (Though there seems to be some work on xy_sub_filter_rc2 as well.)
i.e. git clone -b xy_sub_filter_rc3 https://github.com/Cyberbeing/xy-VSFilter.git

andyvt
4th April 2014, 14:18
The current official build is from xy_sub_filter_rc3. (Though there seems to be some work on xy_sub_filter_rc2 as well.)
i.e. git clone -b xy_sub_filter_rc3 https://github.com/Cyberbeing/xy-VSFilter.git

Thanks!

sneaker_ger
4th April 2014, 15:31
The latest version of SubRenderIntf.h can be found on madshi's (author of madvr) site, btw:
http://madshi.net/SubRenderIntf.h

cyberbeing
4th April 2014, 19:05
The current official build is from xy_sub_filter_rc3. (Though there seems to be some work on xy_sub_filter_rc2 as well.)

Yes, the latest 'stable' code for XySubFilter is in xy_sub_filter_rc3 branch. Any commits you see on the xy_sub_filter_rc2 branch are work towards fixing bugs in features which were backed out prior to creation of the xy_sub_filter_rc3 branch. Once fixed, those features will be merged back into xy_sub_filter_rc3.

The current 'Master' & "vsfilter_rc" branches are xy-VSFilter only, prior to work on XySubFilter.

The reason I ask is because I've been looking into adding support for the EVR. The first approach (custom EVR presenter implementing ISubRenderConsumer) I tried won't work because [I'm guessing] XySubFilter only QI the filters in the graph and doesn't crawl through the EVR to see if the presenter will respond - which I was planning to change...

MPC-HC already supports SubRenderIntf with EVR-CP & VMR9 Renderless. You could look at their code (https://github.com/mpc-hc/mpc-hc/commit/d1d119178cf003289d6fb285e55344893a2e7be2) to get an idea of how they implemented it.

That said, I'm not sure it's the most flexible approach after doing some more digging. Have you looked at using the IMFVideoMixerBitmap interface on the EVR Mixer? I did a quick POC and you can overlay arbitrary bitmaps on the surfaces in the mixer. The main benefit is that it would work in any player that uses the EVR. The downside is that the bitmaps aren't timestamped so setting/clearing would have to be done by the filter.

SubRenderIntf was created by madshi, since he was unsatisfied with the capabilities exposed by existing interfaces like iSubRender & EVR's. Until we release a final build of XySubFilter, I doubt we are going to add built-in support for any additional interfaces unless someone provides a patch. Currently XySubFilter supports SubRenderIntf, while xy-VSFilter|VSFilter supports CSRI, Avisynth, and VirtualDub interfaces.

andyvt
4th April 2014, 21:45
MPC-HC already supports SubRenderIntf with EVR-CP & VMR9 Renderless. You could look at their code (https://github.com/mpc-hc/mpc-hc/commit/d1d119178cf003289d6fb285e55344893a2e7be2) to get an idea of how they implemented it.


I figured out how they did it (wrapping the EVR in a custom class that knows when to delegate ISubRenderConsumer).

That requires more messing than I'd like to do so I made a small modification to xy_sub_filter -> FindAndConnectConsumer.


...
CComQIPtr<ISubRenderConsumer> new_consumer(pBF);
CLSID filterID;
hr = pBF->GetClassID(&filterID);

if(!new_consumer && filterID == CLSID_EnhancedVideoRenderer)
{
//EVR wouldn't implement ISubRenderConsumer itself, but a custom presenter might.
CComQIPtr<IMFGetService> evrservices(pBF);
if(evrservices)
{
ISubRenderConsumer * tmpCI = NULL;
HRESULT hrevr = evrservices->GetService(MR_VIDEO_RENDER_SERVICE, __uuidof(ISubRenderConsumer), (LPVOID*)&tmpCI);
if(tmpCI)
{
CComQIPtr<ISubRenderConsumer> tmpconsumer(tmpCI);
new_consumer = tmpconsumer;
SAFE_RELEASE(tmpCI);
}
}
}

if (new_consumer)
{
...


If that's OK I can put in a pull request.


SubRenderIntf was created by madshi, since he was unsatisfied with the capabilities exposed by existing interfaces like iSubRender & EVR's. Until we release a final build of XySubFilter, I doubt we are going to add built-in support for any additional interfaces unless someone provides a patch. Currently XySubFilter supports SubRenderIntf, while xy-VSFilter|VSFilter supports CSRI, Avisynth, and VirtualDub interfaces.

Just a thought given that it appears that the project is going for broader player support. I'm fine with using SubRenderIntf since it's for a player where I control the code.

madshi
4th April 2014, 22:09
Have you looked at using the IMFVideoMixerBitmap interface on the EVR Mixer? I did a quick POC and you can overlay arbitrary bitmaps on the surfaces in the mixer. The main benefit is that it would work in any player that uses the EVR. The downside is that the bitmaps aren't timestamped so setting/clearing would have to be done by the filter.
How would you know which subtitle to display when? If you have a subtitle animation, the rendering of the subtitles must be perfectly synced to the video frame presentation, otherwise you'll get stuttering subtitle animation. Every new video frame must be matched with exactly one new subtitle frame to achieve smooth video playback + smooth subtitle animations. XySubFilter can't do this synchronization from the outside, because it doesn't know in which moment EVR switches from one video frame to the next.

The basic concept of SubRenderIntf.h is that XySubFilter is relieved of any presentation/synchronization duties. It's now reduced to just be a subtitle bitmap delivery service that is fully controlled by the video renderer. This gives the video renderer all the power and flexibility. Which is ideal for madVR, but it should also work fine for other video renderers. But it does require quite a bit of extra code in the video renderer, because XySubFilter does less work than xy-vsfilter used to do.

andyvt
4th April 2014, 22:48
How would you know which subtitle to display when? If you have a subtitle animation, the rendering of the subtitles must be perfectly synced to the video frame presentation, otherwise you'll get stuttering subtitle animation. Every new video frame must be matched with exactly one new subtitle frame to achieve smooth video playback + smooth subtitle animations. XySubFilter can't do this synchronization from the outside, because it doesn't know in which moment EVR switches from one video frame to the next.


Fancy subtitles that change quickly would be a problematic use case :). TBH, I'm not sure that it would work well enough to be practical. I've never played with a renderer before, as I dig further into getting a custom presenter working I'm beginning to see why this might not be a good approach (probably intended more for watermarking).


The basic concept of SubRenderIntf.h is that XySubFilter is relieved of any presentation/synchronization duties. It's now reduced to just be a subtitle bitmap delivery service that is fully controlled by the video renderer. This gives the video renderer all the power and flexibility. Which is ideal for madVR, but it should also work fine for other video renderers. But it does require quite a bit of extra code in the video renderer, because XySubFilter does less work than xy-vsfilter used to do.

I agree, but it's not an approach that is valid for every player because you don't always have a choice in what video renderer is used.

cyberbeing
5th April 2014, 01:41
If that's OK I can put in a pull request.

If you see such a change as useful for your consumer implementation, feel free to make a pull request and I'll have our dev look it over.

Just a thought given that it appears that the project is going for broader player support.

I hear what you're saying, we just haven't put much thought in XySubFilter supporting anything but SubRenderIntf. There is no particular reason a Subtitle Consumer for XySubFilter needs to be a video renderer. It could be a video decoder, transform filter, or some other Consumer filter which outputs bitmaps from XySubFilter into an entirely different API.

An example of a transform filter based Consumer for SubRenderIntf, exists in our project as xy_sub_filter_consumer. It's currently a very buggy though.

madshi
5th April 2014, 08:37
I agree, but it's not an approach that is valid for every player because you don't always have a choice in what video renderer is used.
If you need something that works for every player without the player even knowing/supporting it, xy-vsfilter is your ticket. It works well enough for that purpose. Of course it has its problems and limitations (e.g. always rendering in the original video resolution, color & chroma format, no DXVA support, rendering is done before deinterlacing, etc...). That's why we're doing XySubFilter now, which gets rid of all the limitations. Basically if I had implemented subtitle rendering in madVR itself, it would not work any better than using the SubRenderIntf.h.

There is no particular reason a Subtitle Consumer for XySubFilter needs to be a video renderer. It could be a video decoder, transform filter, or some other Consumer filter which outputs bitmaps from XySubFilter into an entirely different API.
Yeah, at some point nevcairiel also considered making LAV Video Decoder a SubRenderIntf.h consumer. Not sure if he still considers/plans that.

andyvt
5th April 2014, 09:13
If you need something that works for every player without the player even knowing/supporting it, xy-vsfilter is your ticket. It works well enough for that purpose. Of course it has its problems and limitations (e.g. always rendering in the original video resolution, color & chroma format, no DXVA support, rendering is done before deinterlacing, etc...). That's why we're doing XySubFilter now, which gets rid of all the limitations. Basically if I had implemented subtitle rendering in madVR itself, it would not work any better than using the SubRenderIntf.h.


It's just a different set of unpalatable compromises in its current form. For e.g. there are a whole class of HTPC (anything with an Atom, Zacate or similar) where that approach is worse than poorly timed subtitles. IIRC it also breaks protected playback, so anyone with CableCARD content is out as well.

It's unfortunate that the EVR only allows secondary input pins to be added before it is connected.

TBC, it's not my goal to knock SubRenderIntf. If you have control over the components in the graph it a solid way to get things done. Just trying to think of alternative approaches that don't have the same negative consequences as VSFilter where the components can't be controlled as tightly.

dansrfe
7th April 2014, 17:51
Is it possible to position the subtitles relative to the frame?

e.g. at 99% height the subtitles should show in the black bar region when a 2.4 aspect video is played on a 16/9 display.

real.finder
8th April 2014, 01:55
hi

I have a script get problems in xy-vsfilter, Whether in mpc or aegi

the problems is shades inaccurate and crash

Although this problems does not appear in the last aegisub (3.1.3) with xy-vsfilter in it

sub and font (http://www.mediafire.com/?baxhxtsq57tce0t)

thanks

cyberbeing
8th April 2014, 03:15
the problems is shades inaccurate and crash
The crash occurs because you used a border size of 2000 pixels. xy-VSFilter 3.0.0.211 was unable to render border sizes larger than 150px or so because of a 32-bit Integer overflow (Issue #166 (http://code.google.com/p/xy-vsfilter/issues/detail?id=166)), while support for insane border sizes such as 2000px (from a memory consumption and performance perspective) were not supported until XySubFilter Beta2.

Is it possible to position the subtitles relative to the frame?

e.g. at 99% height the subtitles should show in the black bar region when a 2.4 aspect video is played on a 16/9 display.

Requires support from the Subtitle Consumer.

FWIW, this is very high on my to do list, together with some other related changes/improvements.

real.finder
8th April 2014, 12:21
I think We need a new version with all issues fix https://code.google.com/p/xy-vsfilter/issues/list

Or at least most of them, even if it beta

Because the latest version nearly two years ago, and even there is no a beta version, and I do not use XySubFilter, It does not even work in avisynth

thanks

dansrfe
8th April 2014, 21:31
Requires support from the Subtitle Consumer.

Does madVR support this?

filler56789
8th April 2014, 23:40
I think We need a new version with all issues fix https://code.google.com/p/xy-vsfilter/issues/list

Or at least most of them, even if it beta

Because the latest version nearly two years ago, and even there is no a beta version, and I do not use XySubFilter, It does not even work in avisynth

FWIW, you can extract xy-VSFilter 3.0.0.284 from the latest CCCP's installer,

http://www.cccp-project.net/beta/Combined-Community-Codec-Pack-2014-03-31-BETA.exe

real.finder
8th April 2014, 23:53
FWIW, you can extract xy-VSFilter 3.0.0.284 from the latest CCCP's installer,

http://www.cccp-project.net/beta/Combined-Community-Codec-Pack-2014-03-31-BETA.exe

I use cccp already, and these problems still exist

even in this https://github.com/jeeb/xy-vsfilter/releases

cyberbeing
8th April 2014, 23:54
The CCCP version is a separate branch. I don't think they've merged in the large border fixes yet.

JEEB could easily merge in the fix for the 32-bit integer overflow (https://github.com/Cyberbeing/xy-VSFilter/commit/901436c97d98d3f4f817132193e75a279f2ea4b0) which would allow border sizes up to ~1000px before crashing (out-of-memory), but there is currently a bug (http://code.google.com/p/xy-vsfilter/issues/detail?id=181) in the commits which improved performance and reduced memory usage to allow for insanely large borders up to ~6500px or so (64-bit integer limits). Though for the sample real.finder posted, there was no purpose in using such 2000px border which exceeded the video size by 2-4x. If there was a need to black out the screen, a simple vector shape should be used.

huhn
9th April 2014, 09:23
Does madVR support this?

read post 1. MadVR was the first with support.

Note: XySubFilter requires a compatible subtitle consumer. We recommend madVR 0.87.5+ or MPC-HC 1.7.2+ (EVR-CP)

dansrfe
9th April 2014, 10:41
read post 1. MadVR was the first with support.

Yes, but how can I configure the subtitles to position relatively to the window frame? Furthermore, how can I configure the subtitles to size relative to the window size?

cyberbeing
9th April 2014, 13:18
Yes, but how can I configure the subtitles to position relatively to the window frame? Furthermore, how can I configure the subtitles to size relative to the window size?

I thought I already answered this?

Is it possible to position the subtitles relative to the frame?

e.g. at 99% height the subtitles should show in the black bar region when a 2.4 aspect video is played on a 16/9 display.
Requires support from the Subtitle Consumer.
FWIW, this is very high on my to do list, together with some other related changes/improvements.

As implied in that post, there isn't a Subtitle Consumer which has added support for this functionality yet. Though it is something on madshi's to-do list.

FreeFall
13th April 2014, 07:40
cyberbeing,

Could you include the latest subtitle fixes from MPC-HC team in the next xy-VSFilter, XySubFilter releases?

Thanks to Underground78's hard work.

Fixes PGS Subtitle timing problems.
https://trac.mpc-hc.org/ticket/3691

Fixes animated VobSub Subtitles were not supported
https://trac.mpc-hc.org/ticket/1814


Thanks.

cyberbeing
13th April 2014, 12:51
cyberbeing,

Could you include the latest subtitle fixes from MPC-HC team in the next xy-VSFilter, XySubFilter releases?

Thanks to Underground78's hard work.

Fixes PGS Subtitle timing problems.
https://trac.mpc-hc.org/ticket/3691

Fixes animated VobSub Subtitles were not supported
https://trac.mpc-hc.org/ticket/1814


Thanks.

XySubFilter Test build with these changes has been attached to Issue #68 (http://code.google.com/p/xy-vsfilter/issues/detail?id=68#c8). Please follow-up in that Issue if any problems remain.

mindbomb
15th April 2014, 21:39
idk if this issue has been reported, but external subtitles don't work if mpc-hc's audio switcher is enabled.

cyberbeing
15th April 2014, 23:10
idk if this issue has been reported, but external subtitles don't work if mpc-hc's audio switcher is enabled.

Seems fine here using MPC-HC nightly and LAV Filters. You'll need to provide more information.

kasper93
16th April 2014, 00:30
I've also tried and couldn't reproduce... I don't even see how audio switcher might be related.