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


Pages : 1 [2]

madshi
30th September 2018, 17:32
Double click "activate debug mode.bat". Then reproduce the problem. Afterwards there should be a "madVR - log.txt" file on your desktop.

ikarad
30th September 2018, 17:35
Double click "activate debug mode.bat". Then reproduce the problem. Afterwards there should be a "madVR - log.txt" file on your desktop.

Thanks.
Do you know how turn off debug mode after?

The log.txt will be in madvr folder?

madshi
30th September 2018, 17:42
Just double click "activate release mode.bat" when you're done. That batch file will only exist once you entered debug mode. The log file will be on your desktop.

ikarad
30th September 2018, 17:56
log File is here
https://ufile.io/b1ghq

I said an mistake yesterday. In 32 bits, it doesn't work.

Telion
30th September 2018, 18:42
https://www2.zippyshare.com/v/ZnTMPx2Q/file.html
Based on a quick testing, seems like the main problem is fixed. But during it I've encountered a strange behaviour when a hard-positioned sign along with a subtitle line both are jumping up & down repeatedly, i.e. the repositioning is on & off multiple times during the display of that sign (in the ASS it is one continuous time interval for both). It's reproducing stably, but during the frame stepping the exact sequence and duration of "up" & "down" frames are different every time.

I've experienced this only once through the whole episode with many other moments of signs displayed together with dialogs, and everything else was OK. I don't know yet how often and in what exact conditions can this happen. I've cut out and uploaded that part (https://mega.nz/#!8u4CiQxS!f2YDVrMl_ivPmiHqxh_wPt6iSmQKeynRbXBWFINAhTk), so maybe you could determine what's happening there. But even now your fix is pretty usable, many thanks again!

madshi
30th September 2018, 19:21
@Telion,

I think the test build has a bug, if cyberbeing implements my tweaked code, it might fix it. Not 100% sure, though.

@ikarad,

thanks for the video, it helped me reproduce the problem. I'd suggest that you remove the link because it's more than a little sample, so from a copyright point of view it's not a good idea to post it publically. Anyway, the problem is this: XySubFilter connects to madVR first. For DVD subtitles, however, LAV Video Decoder is the one who's responsible and XySubFilter is not involved at all! LAV Video Decoder tries to connect to madVR, too (for subtitles), but the connection gets rejected because XySubFilter is already connected. Because of that LAV Video Decoder can't deliver the subtitles to madVR.

This might actually be a timing problem: If XySubFilter connects first, it won't work. If LAV connects first, it will work. That might explain why it works in one bitdepth, but not the other. Or maybe it even varies. In any case, you can "solve" it by disabling XySubFilter, when watching DVDs. Unfortunately I don't really have a better solution available right now. It is on my to do list to support more than one subtitle connection. That would fully solve the problem, but I didn't get around implementing that yet.

cyberbeing
30th September 2018, 20:51
@Telion,
I think the test build has a bug, if cyberbeing implements my tweaked code, it might fix it. Not 100% sure, though.


https://www116.zippyshare.com/v/1kKfjQOK/file.html

Your tweaked code fixes the flickering back and forth with that sample. Though the original movable line still becomes unmovable when the typesetting appears, and movable again when it disappears. As mentioned in email, it would be preferred if lines could maintain their initial movable/unmovable state throughout their duration. Is that possible?

This might actually be a timing problem: If XySubFilter connects first, it won't work. If LAV connects first, it will work. That might explain why it works in one bitdepth, but not the other. Or maybe it even varies. In any case, you can "solve" it by disabling XySubFilter, when watching DVDs. Unfortunately I don't really have a better solution available right now. It is on my to do list to support more than one subtitle connection. That would fully solve the problem, but I didn't get around implementing that yet.

Hmm... @ikarad just to confirm, does the same issue occur when you run Restore_Default_Settings.reg or otherwise set "XySubFilter->Properties->Loading->Load when needed"?

When "Load when needed" is set, XySubFilter shouldn't connect to madVR unless there is a connectable subtitle pin or an auto-loaded external subtitle in the directory.

Since you previously said it worked when you blocked LavSplitter, I assume that means XySubFilter is connecting to LavSplitter's Subtitle Pin?

What does "XySubFilter->Properties->Pin Info" show in those cases? I'm somewhat curious what kind of subtitle pin LavSplitter is exposing for DVD titles if LavVideo is already connected to LavSplitter.

Maybe you could try adding Lav Video Decoder to MPC-HC external filters, and setting the merit to Preferred and see if that allows it to enter the graph early enough to fix the issue.

ikarad
30th September 2018, 21:37
Hmm... @ikarad just to confirm, does the same issue occur when you run Restore_Default_Settings.reg or otherwise set "XySubFilter->Properties->Loading->Load when needed"?

When "Load when needed" is set, XySubFilter shouldn't connect to madVR unless there is a connectable subtitle pin or an auto-loaded external subtitle in the directory.

Since you previously said it worked when you blocked LavSplitter, I assume that means XySubFilter is connecting to LavSplitter's Subtitle Pin?

If I set "Load when needed", xysubfilter is not launched. Subs are displayed

ikarad
30th September 2018, 21:43
What does "XySubFilter->Properties->Pin Info" show in those cases? I'm somewhat curious what kind of subtitle pin LavSplitter is exposing for DVD titles if LavVideo is already connected to LavSplitter.



If I select always load, xysubfilter is launched and pin info show nothing
https://preview.ibb.co/cFtTgz/Sans_titre.jpg (https://ibb.co/nmtiEK)

When subs are displayed (for example if I turn off madvr), pin info show nothing but subs are displayed
https://preview.ibb.co/bJiQuK/Sans_titre.jpg (https://ibb.co/jkFG1z)

cyberbeing
30th September 2018, 21:55
If I set "Load when needed", xysubfilter is not launched. Subs are displayed

Does that resolve all your issues? If so, this isn't really a bug, considering "Load when needed" is the default setting for XySubFilter.

"Always Load" by design is set to have XySubFilter be loaded into the graph extremely aggressively by a Video Decoder helper filter with max merit, and always connect to madVR even if no subtitles or connectable pins exists. "Load when Needed" by comparison loads XySubFilter into the graph with a Audio Decoder helper, and will leave the graph if no subtitles or connectable pins exist.

ikarad
30th September 2018, 22:16
Does that resolve all your issues? If so, this isn't really a bug, considering "Load when needed" is the default setting for XySubFilter.


If 'load when needed" is set, xysubfilter is not used. Then, it works but it should works even with xysubfilter used.

I have set "always load" because on some videos, xysubfilter doesn't launched and xysubfilter has less bug than internal sub renderer of mpc-hc with fonts.

cyberbeing
30th September 2018, 22:46
"Always Load" really shouldn't be needed for general use. It mainly exists for users who want to be able to display subtitles on videos without an Audio Track. It also gives users the option to manually load external subtitles on videos without a subtitle pin. For that second part though, external subtitles will be auto-loaded by XySubFilter set to "Load when needed" if they have an identical name to the video.

In which situations were you finding XySubFilter failing to load when "Load when needed" was set?

madshi
30th September 2018, 22:55
Your tweaked code fixes the flickering back and forth with that sample. Though the original movable line still becomes unmovable when the typesetting appears, and movable again when it disappears. As mentioned in email, it would be preferred if lines could maintain their initial movable/unmovable state throughout their duration. Is that possible?
Not easily, unfortunately. I'd have to rewrite/change quite a bit of code to make that work, which I don't have the time for atm.

So the only question is which problem is worse: The one reported by Telion? Or the one we may get if we allow the global movable state to switch back and forth, affecting *all* rendered subtitle lines immediately?

Telion
30th September 2018, 23:12
So the only question is which problem is worse: The one reported by Telion? Or the one we may get if we allow the global movable state to switch back and forth, affecting *all* rendered subtitle lines immediately?
I've quickly run the build based on your fix against the same aforementioned episode and didn't notice any apparent problems. Surely that doesn't guarantee anything, so it's up to you guys to decide - I just hope you'll find a way.

cyberbeing
1st October 2018, 05:59
So the only question is which problem is worse: The one reported by Telion? Or the one we may get if we allow the global movable state to switch back and forth, affecting *all* rendered subtitle lines immediately?

I'd say just allow the global movable state to switch back and forth, until we come up with a better solution. IMHO, the toggle box was added to allow movement to black bars for true simple ASS/SSA subtitles (like those converted from SRT for styling purposes) which don't contain complex typesetting. For people who use the same functionality already for SRT and know their ASS/SSA scripts are generally simple, it should be good enough for now.

The setting is disabled by default specifically, since we don't expect it to handle extremely complex SSA/ASS scripts flawlessly. I'm sure someone could create a script intentionally to cause movable/non-movable to be toggled so frequently that is causes severe readability issues, in which case the feature should just be disabled by the user. Until the behavior is enhanced, we are not expecting it to handle such a situation perfectly.

[Edit: Actually, after thinking about this, maybe you could add a feature which limits the frequency that changes from IsMovable=False to IsMovable=True are processed (i.e. ignore Provider IsMovable=True for X seconds after IsMovable=False occurs, user defined?), while always processing IsMovable=True to IsMovable=False instantly. Though I'm unsure if that would be worth the development effort to add, since it would only be a workaround for a problem which likely won't occur often.]

madshi
1st October 2018, 08:59
I'd say just allow the global movable state to switch back and forth, until we come up with a better solution. IMHO, the toggle box was added to allow movement to black bars for true simple ASS/SSA subtitles (like those converted from SRT for styling purposes) which don't contain complex typesetting. For people who use the same functionality already for SRT and know their ASS/SSA scripts are generally simple, it should be good enough for now.

The setting is disabled by default specifically, since we don't expect it to handle extremely complex SSA/ASS scripts flawlessly. I'm sure someone could create a script intentionally to cause movable/non-movable to be toggled so frequently that is causes severe readability issues, in which case the feature should just be disabled by the user. Until the behavior is enhanced, we are not expecting it to handle such a situation perfectly.

[Edit: Actually, after thinking about this, maybe you could add a feature which limits the frequency that changes from IsMovable=False to IsMovable=True are processed (i.e. ignore Provider IsMovable=True for X seconds after IsMovable=False occurs, user defined?), while always processing IsMovable=True to IsMovable=False instantly. Though I'm unsure if that would be worth the development effort to add, since it would only be a workaround for a problem which likely won't occur often.]
Of course it would be possible to add a delay, with a user options, but I already see problems describing such an option in such a way that the average user even understands what it means. So I'd say: Let's just release the build as it is, and if users complain, we can still think about what to do then. But probably it's good enough as it is, so probably nobody will complain.

worewo
3rd October 2018, 23:44
Trying to open external PGS subtitles (whether autoloading or manual) results in my player freezing for extended periods of time, and when it does finally load the text is either greatly out of sync or don't display at all.

Muxing the subs into the video allows it to load correctly. The issue is also consistently reproducible when I extract subs from any video and try to load them externally.

Is this a known issue with external PGS subs?
External PGS subs don't work for me properly either.

My player never freezes, but the subtitles get out-of-sync as the movie goes on. The subtitle delay seems to be dependent on how far I am into the movie, rather than how long the video file has been playing for. Muxing the subs into the file, or using the default MPC-BE subtitle renderer always makes things work fine.

cyberbeing
4th October 2018, 08:29
External PGS support has always had known-issues in XySubFilter ever since it was implemented.

1) External PGS seeking is completely broken and will cause the subs to go way out-of-sync. For non-stop sequential playback starting from frame 0, it generally works acceptably if you never seek.

2) Slow opening of external PGS was a regression caused a long time ago by this commit (Rewrite CTextFile::ReadString, specifically the TextFile.cpp changes) (https://github.com/Cyberbeing/xy-VSFilter/commit/02440d472def3a9e0b2ce84f958c8b0c0aa3ad7f) for unknown reasons.

Unfortunately, neither of these external PGS bugs were tracked down and fixed by the original developer while he was still around.

madshi
4th October 2018, 08:51
So what's the decision on the "movable" issue? I suppose we should allow the "movable" state to switch back and forth?

cyberbeing
4th October 2018, 09:12
Yeah, it seems that's the better option for now, compared to it potentially stopping working entirely for the second half of a video. If no new problems come up, I'll release it with that change this weekend.

madshi
4th October 2018, 09:13
Thanks, that would be great!

cyberbeing
7th October 2018, 18:37
XySubFilter 3.1.0.752 has been released (https://github.com/Cyberbeing/xy-VSFilter/releases/tag/3.1.0.751)

XySubFilter .zip Archive (32-bit) (https://github.com/Cyberbeing/xy-VSFilter/releases/download/3.1.0.752/XySubFilter_3.1.0.752_x86.zip) | XySubFilter .zip Archive (64-bit) (https://github.com/Cyberbeing/xy-VSFilter/releases/download/3.1.0.752/XySubFilter_3.1.0.752_x64.zip)

Debug Symbols for XySubFilter 3.1.0.752 (https://github.com/Cyberbeing/xy-VSFilter/releases/download/3.1.0.752/XySubFilter_3.1.0.752_Debug_Symbols.7z)

Bug Fix

Fix for SSA/ASS repositioning becoming permanently disabled after typesetting was displayed


Note: XySubFilter is no longer being actively developed. The original developer stopped working on the project back in 2014, and ever since then it's been in limbo. The changes in this release were made possible by madshi the developer for madVR.

madshi
7th October 2018, 20:26
Awesome - thank you! :)

madshi
7th October 2018, 20:27
P.S: The debug symbol link doesn't work.

cyberbeing
7th October 2018, 23:31
fixed the link, I had missed changing one of the 751 to 752 in the url when I copied my old post.

gfxnow
8th October 2018, 07:31
Many thanks to Madshi and Cyberbeing for breathing new life in to this abandoned project.

Tanuki
20th October 2018, 10:56
I still use version 705 because of several "bugs" I have seen with versions 744 and 746 : one with vobsubs placement (but I don't have a file to test anymore), and one with an anime OP karaoke (released in april 2016, http://dl.free.fr/nCeCntvPl) that lags for several seconds near the end. Unfortunately, the new version 752 doesn't work neither.

I tried to find something related in this thread after the october 2015 releases, but I haven't.

I use Zoom player, Madvr, LAV filters

Any thoughts ?

sneaker_ger
20th October 2018, 11:10
one with an anime OP karaoke (released in april 2016, http://dl.free.fr/nCeCntvPl) that lags for several seconds near the end. Unfortunately, the new version 752 doesn't work neither.
Same problem with 3.1.0.801 (pinterf), in case anyone is wondering. Doesn't happen with MPC-HC EVR-CP, though, only madvr.

But on closer look madvr reports dropped frames even with MPC-HC ISR (i5-2500K), they just don't seem as obvious as with XySubFilter. Does madvr report no dropped frames for you with 705? Sample seems extremely CPU hungry.

cyberbeing
30th November 2018, 09:38
Thanks for pointing out that perf regression from 3.1.0.705. It seems this is one instance where our original xy tag parsing/caching was significantly faster than MPC-HC's implementation, which I had merged is since I thought it was always faster. My original test case back then must have been too limited.

Here is a test build which reverts the MPC-HC implementation and restores the original xy tag parsing/caching implementation:
https://www69.zippyshare.com/v/dBNj6Fpg/file.html

Please compare it against 3.1.0.352 on extremely line/tag heavy scripts and see which you find overall faster. I'll go back to our original implementation in the next release if you don't find any instances where it is significantly slower than 3.1.0.352.

As for VobSub placement, I'm unsure what that would refer to. If you come across a sample which reproduces that issue again (as a regression from 3.1.0.705), please send it to me. Did you have Black Bar detection enabled in madVR? There is a chance that could have been a madVR bug which has since been fixed.

amayra
30th November 2018, 11:03
in the next release
there problem i want to report to you since you have plan to work for this project lettel more
my issue is when i use ASS"Advanced Substation Alpha" file and renamed style name with uppercase
VSFilter don't lead or detected this syle only if i rename every line with uppercase name to match what i used in style manager evertime

cyberbeing
30th November 2018, 11:47
If I'm understanding you correctly, you are just saying that style names are case-sensitive? If so, that isn't a bug. VSFilter has always treated case-sensitive style names as unique entities.

If that is not the issue, could you give a better example of what you're talking about?

amayra
30th November 2018, 20:33
If I'm understanding you correctly, you are just saying that style names are case-sensitive? If so, that isn't a bug. VSFilter has always treated case-sensitive style names as unique entities.

If that is not the issue, could you give a better example of what you're talking about?
you are correct, but why VSFilter is case-sensitive when i can't use same style name in subtitle editor ?

cyberbeing
30th November 2018, 21:42
If you are talking about Aegisub, I'm not sure. As far as I'm aware Libass is also case-sensitive when it comes to style names. It must just be to keep script tidy and avoid typos, or maybe there was some compatibility issue with some other renderer which existed a long time in the past?

JohnLai
5th December 2018, 14:59
cyberbeing, when xy-vsfilter is used with mpc-hc on fast-forward mode (CTRL+UP) such as 2X, 4X, 8X or even 16X, the subtitle will not be in sync with the 'fastforward' as if the subtitle is running at normal speed.

However, the ancient https://trac.mpc-hc.org/ticket/3504 method that uses ​https://nightly.mpc-hc.org/mpc-hc_apps/vsfilter/ original vsfilter works perfectly with 'fastforward' mode.
Is it possible to implement xy-vsfilter subtitle synchronization for fastforward mode?

cyberbeing
5th December 2018, 17:29
What exactly are you testing? I'm not seeing any difference between the old MPC-HC VSFilter 2.41, MPC 1.7.13.112 VSFilter and xy-VSFilter 3.0.0.306 with MKV+ASS samples. All seem to go out-of-sync on fast-forward in MPC-HC. If this is something universally broken with VSFilter.dll, it's doubtful it would be fixed at this point.

Fast-forward works with XySubFilter & MPC-HC ISR though.

JohnLai
6th December 2018, 03:44
What exactly are you testing? I'm not seeing any difference between the old MPC-HC VSFilter 2.41, MPC 1.7.13.112 VSFilter and xy-VSFilter 3.0.0.306 with MKV+ASS samples. All seem to go out-of-sync on fast-forward in MPC-HC. If this is something universally broken with VSFilter.dll, it's doubtful it would be fixed at this point.

Fast-forward works with XySubFilter & MPC-HC ISR though.

Maybe I should rephrase it. Now, this only happens with bitmap subtitle (BD and DVD native sub).

I mean MPC-HC internal subtitle renderer and XY-Vsfilter don't render subtitle in sync with fastforward speed.

The original VSfilter renders subtitle in sync on fastforward correctly.

cyberbeing
6th December 2018, 11:43
I assume you are testing xy-VSFilter 3.0.0.306 and MPC-HC VSFilter 2.41 with internal PGS & VOBSUB subtitles? Could you also try old versions of xy-VSFilter as well, such as 3.0.0.211 & 3.0.0.65, as well as the original Gabest VSFilter 2.39.5.3 (https://www33.zippyshare.com/v/1EycMceC/file.html
). In terms of VSFilter 2.41 & 2.39, please also test them with and without buffering enabled, and see if there is any difference. I no longer have any PGS & VOBSUB samples on my system to easily test this myself.

Either way, you'll probably need to wait for MPC-HC or MPC-BE to fix this if even their most recent VSFilter.dll releases are broken for this particular test-case. We never worked on core bitmap subtitle parsing/rendering code ourselves, all of it was basically merged as-is from the original Gabest MPC and MPC-HC. No guarantee it would be the same fix though, since one difference in xy-VSFilter is it doesn't pre-buffer subtitles. If the fix requires buffering, it's probably a lost cause for xy-VSFilter. Pre-buffering was something the original dev never got around to re-adding support for, suggesting it wasn't something trivial to integrate with our current code.

JohnLai
6th December 2018, 13:52
Well yes, vobsub and PGS subtitle type.
Buffering and no buffering doesn't seem to make any difference.

>.< Well, I give up. Guess I should fastforward (seek) few seconds instead of changing framerate (apparently, this is the correct term for 2x,4x,8x and 16x, haha my mistake)

Tanuki
8th December 2018, 15:39
Thanks for pointing out that perf regression from 3.1.0.705. It seems this is one instance where our original xy tag parsing/caching was significantly faster than MPC-HC's implementation, which I had merged is since I thought it was always faster. My original test case back then must have been too limited.

Here is a test build which reverts the MPC-HC implementation and restores the original xy tag parsing/caching implementation:
https://www69.zippyshare.com/v/dBNj6Fpg/file.html

Please compare it against 3.1.0.352 on extremely line/tag heavy scripts and see which you find overall faster. I'll go back to our original implementation in the next release if you don't find any instances where it is significantly slower than 3.1.0.352.

As for VobSub placement, I'm unsure what that would refer to. If you come across a sample which reproduces that issue again (as a regression from 3.1.0.705), please send it to me. Did you have Black Bar detection enabled in madVR? There is a chance that could have been a madVR bug which has since been fixed.

For the vobsub placement problem, I remembered an obvious example (my memory isn't as bad as I expected) : http://dl.free.fr/vrbBwaBoi
after 19s, with the jpn vobsub track. It works as expected with 705, not after. I don't have "black bar detection" enabled in madvr.

For the performance thing, I don't have another example I can remember than the one I already pointed so I can't test more.

cyberbeing
9th December 2018, 06:08
I don't see any vobsub placement problem with that sample. 705 and 752 look identical to me after 19s, with the song lyrics are on top and dialog on bottom as I would expect with the jpn vobsub track. I tested with MPC-HC 1.83 & LAVFilters 0.73.1, EVR-CP & madVR.

As for the other thing, just use the 750 build (https://www69.zippyshare.com/v/dBNj6Fpg/file.html) I linked above normally, since it should resolve the performance regression on that previous sample. If you can't think of anything else, that's fine. I'll be trying to track down some samples myself anyway.

supercoolman
27th December 2018, 06:38
there are issue with XySubFilter 3.1.0.746 BETA3 where last line of an external SSA subtitle is not displayed if it doesn't end with line break. in a text editor, this means SSA file must end with a blank/empty line
haven't test the latest version to see if it's fixed, but also don't see this fixed in the newer releases' Bug Fix section



confirmed 3.1.0.752 also has the same behaviour

Mano
29th December 2018, 03:12
Is it normal that when i enable sub in video the color of the movie changed?


Default no sub
https://imgur.com/oprrT9R

With english sub selected
https://imgur.com/SSo0l5f

cyberbeing
30th December 2018, 00:54
@supercoolman Thanks for reporting that. Looks like it is caused by a bug this Read Buffering commit (https://github.com/Cyberbeing/xy-VSFilter/commit/02440d472def3a9e0b2ce84f958c8b0c0aa3ad7f) written by the Aegisub author. Since Aegisub always adds a new line at end of file this must have been overlooked. I'll try to see if he's still around to push a fix.

@Mano That is a bug in madVR, I believe. XySubFilter only provides subtitles, it never touches the video. I seem to remember someone reporting a bug like that with HDR video in one of the madVR threads months ago, but if it still isn't fixed you should probably open a bug report (http://bugs.madshi.net/bug_report_page.php) so it isn't forgotten about.

pinterf
30th December 2018, 09:10
there are issue with XySubFilter 3.1.0.746 BETA3 where last line of an external SSA subtitle is not displayed if it doesn't end with line break. in a text editor, this means SSA file must end with a blank/empty line
haven't test the latest version to see if it's fixed, but also don't see this fixed in the newer releases' Bug Fix section

confirmed 3.1.0.752 also has the same behaviour
I was reported a similar issue, see issue and fix here:
https://github.com/pinterf/xy-VSFilter/issues/1
https://github.com/pinterf/xy-VSFilter/commit/569cc5aa2f9c658de6ea52ad8c2c7414fc5072f0
As I recall there had been other similar parts in the code but I could test and fix only this specific one.

@cyberbeing: if the project is still somewhat live again, I'd recommend this x64 fix as well:
https://github.com/pinterf/xy-VSFilter/commit/a80ecea6f66b4b0ffede17b1982d32806f8c24cf

cyberbeing
31st December 2018, 21:15
Thanks pinterf, I'll merge those in. Looks like you only fixed it for SRT, I assume the same change could be used for SSA/ASS?

Test Build [previous 750 test build + pinterf SRT & x64 fixes + pinterf fix used for SSA/ASS (untested)] (https://www100.zippyshare.com/v/mSf0lO7f/file.html)

Any idea if your fix for the missing last line could be moved from STS.cpp to TextFile.cpp, since that is where the regression occurred? It would prevent the need to add that fix for every text subtitle format in STS.cpp, and simply things.

The project is still pretty much dead, aside from minimal maintenance on my part.

supercoolman
1st January 2019, 22:33
I have been manually fixing that (adding newlines) on all ASS subs over the years. just decided to bring it up. didn't know bug was filed on that already

btw/ot, what's going on with aegisub? is it in not, less or similarly active than XySubFilter ?

cyberbeing
2nd January 2019, 02:10
Pretty much, though back in June 2018 he did push out a new trunk build (http://plorkyeran.com/aegisub/) on his site with some fixes from his Github. With the original MPC-HC team dying off, and even Libass updating rather rarely nowadays, everything has sort of stagnated. Or rather the state of subtitle development has returned to the status quo from before we first released xy-VSFilter in 2011 which triggered a large peak in interest in the following years, so you could argue this is actually the normal state of things.

pinterf
2nd January 2019, 13:55
Any idea if your fix for the missing last line could be moved from STS.cpp to TextFile.cpp, since that is where the regression occurred? It would prevent the need to add that fix for every text subtitle format in STS.cpp, and simply things.

The project is still pretty much dead, aside from minimal maintenance on my part.
I don't remember, unfortunately I don't have overview on the project as a whole, tried to find a more practical place for it but due to my ignorance the actual fix remained where I put it first.

supercoolman
2nd January 2019, 18:51
finishing OT...

I was wondering since this GitHub project (https://github.com/Aegisub/Aegisub) has been getting commits, but not a single release since 2014

krmit
5th January 2019, 00:18
finishing OT...

I was wondering since this GitHub project (https://github.com/Aegisub/Aegisub) has been getting commits, but not a single release since 2014

Well, last release (r8942) was 06/09/18, and previous - about 2 years ago.

clsid
28th February 2019, 16:07
Any reason why the vertical padding option is disabled/broken?

It seems to work fine if I re-enable the relevant settings in IDirectVobSubXy.h
Of course it can b0rk accurate ASS positioning, but that is the users choice.

supercoolman
16th June 2019, 19:56
found another weird behaviour. when there are 2 external ASS subs do the following steps and XySubFilter will switch sub on its own

1. pause playback
2. make change or edit XySubFilter's current rendering subtitle
3. resume playback
4. XySubFilter automatically switch to the other subtitle
5. manually selecting the edited subtitle and XySubFilter happily use it without any error/issue

this means there was no error, mistake or issue for the edited subtitle. not sure why XySubFilter would switch the rendering subtitle

zvans18
23rd June 2019, 09:18
Is lag at typesetting just par for the course or is my XySubFilter misconfigured? It even happens with the basic stuff Crunchyroll, and therefore Horriblesubs, has been doing lately.

MPC-BE 1.5.3 x64 + madvr + LAV filters + XySubFilter

kedautinh12
13th December 2019, 01:19
Well, last release (r8942) was 06/09/18, and previous - about 2 years ago.

can you share me link download last release??

krmit
14th December 2019, 00:42
can you share me link download last release??

http://plorkyeran.com/aegisub/

kedautinh12
20th December 2019, 07:10
http://plorkyeran.com/aegisub/

:thanks:

FranceBB
26th December 2019, 18:24
Aegisub 06/09/18 - r8942
- Update to Visual Studio 2017
- Drop Windows XP support

Ah, for God's sake, is it even necessary? Can't XP really be targeted when the code is built with Visual Studio?

lvqcl
26th December 2019, 18:59
Can't XP really be targeted when the code is built with Visual Studio?

"Who knows? More importantly, who cares?" (C)

jpsdr
27th December 2019, 11:15
XP can still be targeted with VS 2017 and 2019 (in deprecated status for this last one), but, it's possible that there is some code, codec/display/etc... interface wich is not XP compatible anymore. So in that case, even if you build targeting XP, it will not make your program XP compatible.

StainlessS
27th December 2019, 12:31
FranceBB, just consider the plugin dead.

kedautinh12
4th January 2020, 10:33
http://plorkyeran.com/aegisub/

i see in last releases, function Automation > Apply Karaoke Template was errored

zerowalker
9th January 2020, 21:20
How do the VS and XY differ, and how do they compare to MPC-HC internal?

In my simple tests the VS seems unstable for some reason and can crash, but it seems to work when XY messes up,
in one case XY shows the wrong subtitle when you jump in the video, it will show the previous (i think) for one subtitle, then when the next one comes it's in sync again.

MPC-HC has issue when jumping where it sometimes doesn't show any subtitles for awhile (i think it's in combination with madvr).

huhn
10th January 2020, 21:20
xy VSfilter renders the subs on the video so the quality can only be as good as the resolution of the video and they are usually sub sampled.

XY subfilter uses a custom API created by madshi these subtitles can be moved independent from the video be rendered at any resolution or color correct you name it.

the ISR in mpc-hc is vs filter based it is rendered on an extra surface just like xy subfilter but missed much of the features if you are using a 3D LUT for color correction it is not applied to the subtitles. it pretty similar to xy VSfilter still slower but not much.

Shark007
15th January 2020, 15:01
The following link contains updated and mostly stable versions of XyVSFilter and XySubFilter in both 32 and 64bit iterations.
Filters (https://www.free-codecs.com/xy-vsfilter_download.htm)
updated on Apr 22th. 2021

zerowalker
17th January 2020, 05:58
xy VSfilter renders the subs on the video so the quality can only be as good as the resolution of the video and they are usually sub sampled.

XY subfilter uses a custom API created by madshi these subtitles can be moved independent from the video be rendered at any resolution or color correct you name it.

the ISR in mpc-hc is vs filter based it is rendered on an extra surface just like xy subfilter but missed much of the features if you are using a 3D LUT for color correction it is not applied to the subtitles. it pretty similar to xy VSfilter still slower but not much.

Ah, odd but mpc-hc seemed faster for me than xy-subfilter in heavy cases, i got framedrops with the latter and took awhile to figure out why.

I haven't touched any settings that i know of either when it comes to the subfilters.

huhn
18th January 2020, 04:44
it's supposed to be faster and i even multiply time reported cases where the ISR couldn't compete.

kedautinh12
21st January 2020, 02:04
The following archive contains updated and mostly stable versions of XyVSFilter and XySubFilter in both 32 and 64bit iterations.
Filters (https://www.mediafire.com/file/nxhwiukpiphx3zg/Filters.7z/file)

can you share me link offical updated of it?

Shark007
21st January 2020, 12:38
can you share me link offical updated of it?

No, I cannot share anything official. I just downloaded them from a publicly available distribution.
I can tell you that the author is a regular reader here and is aware that I posted these filters.
If he wants to share the patches that were applied, thats up to him.

kedautinh12
23rd January 2020, 04:39
No, I cannot share anything official. I just downloaded them from a publicly available distribution.
I can tell you that the author is a regular reader here and is aware that I posted these filters.
If he wants to share the patches that were applied, thats up to him.

I found it, it in folder of k-lite codec pack 😂😂😂😂😂

ryrynz
23rd January 2020, 06:08
Shark007 and the K-lite codec pack? Ya don't say.. :D

doffen
8th June 2020, 21:40
How do you update XySubFilter?
Is it enough to replace the .dll?
Do I need to re-register it afterwards?
Do I need to unregister the old one first?

ryrynz
11th June 2020, 12:00
Is it enough to replace the .dll?


Yes :)

onur
3rd July 2020, 16:28
Please Help - Performance XySubFilter.
I have dropped frames with 4K@60Hz and XySubFilter enabled (20-30 Frames/sec dropped)
with ISR(integrated subtitle renderer) i have no dropped frames (mpc-hc and mpc-be).
with XySubFilter the video is playing without droped frames until the first subtitle appears, and after that i have droped frames.

KoD
12th July 2020, 19:57
Please Help - Performance XySubFilter.
I have dropped frames with 4K@60Hz and XySubFilter enabled (20-30 Frames/sec dropped)
with ISR(integrated subtitle renderer) i have no dropped frames (mpc-hc and mpc-be).
with XySubFilter the video is playing without droped frames until the first subtitle appears, and after that i have droped frames.
onur, you can try using this build of XySubFilter which uses libass as a backend for ASS/SSA subtitles rendering: link (http://s000.tinyupload.com/?file_id=39439453638784783103).

I've built it based on the code found here:
https://github.com/jesec/xy-VSFilter/tree/cr-libass

The initial spike on rendering subs the first time, as well as subsequent ones are much lower than with the GDI based fonts rendering.

I've only uploaded the 64 bit binaries. Let me know if you need the 32 bit ones.

onur
15th July 2020, 12:39
@KoD
i had to install - Microsoft Visual C++ Redistributable 2015-2019
https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads

But Your Filter has the same Problem.
the problem are not subsequent subs.
after first sub is displayed madvdr is dropping frames - doesn't matter if there are frames or not.

procedure:
Fim starts without dropped frames.
15 seconds later first sub is displayed, now frames get dropped (i could live with that).
Now frames are dropped permanent, even when there are no subs to display.
even when i seek back to start pos i have dropped frames.

i think, MadVR is rendering subs even when nothing is to display (Mixing empty Image).

I can send you a sample file(80MB) with WeTransfer if you want (mail adress with private message).
thanks, onur

huhn
15th July 2020, 22:43
as soon as madVR displays a sub it needs more time to renderer frames. that's why it like to drop frames the first time a sub is show to me this si a bug because it know this for a long time that it has to render the subs soon.

and even if subs are not renderd the shader that take the processing power are still run you can easily see this in the advanced render stats.

but i you didn't check the rendertimes there is no way to proof if this is the same problem.

onur
16th July 2020, 11:55
@huhn
integrated sub filter in mpc-be, mpc-hc have no problems.
when sub has to be rendered it gets rendered, without sub there is no perfomance waste.

XySubFilter or MadVR has a performance waste in that situation - which should be easy to fix.
Stop Rendereing subs when no sub is shown.

clsid
16th July 2020, 14:36
Use the internal sub renderer. There is no reason to use XySubFilter. The performance benefit it used to have long ago is mostly non-existent nowadays.

onur
16th July 2020, 20:31
@clsid, by the way, thanks for keeping mpc-hc alive.
Unfortunately my player has no internal sub renderer. i only test with mpc-hc/mph-be.
and i think i am in the right forum to post problems with XySubFilter.


Is there nobody who can say, yes thats true, XySubFilter or MadVR is wasting performance when there is no subtitle to display.
I am glad that people post answers, but most of them are pointless.
if there is somebody to test, i can send(wetransfer to email) sample file (80MB 4K 59Hz HDR file).

thanks, onur

nussman
16th July 2020, 21:56
@huhn already said „yes thats true“, but its pointless without active development.
If its „easy to fix“ then just do it?

huhn
18th July 2020, 02:17
if i understand it correctly madVR is the issue here.

but we haven't even confirmed if that's the issue here.

the subtitle overhead is around 2 ms or something like that GPU performance doesn't seem to matter here.

onur
19th July 2020, 19:26
@huhn
the subtitle overhead makes a big difference in 4K.

@nussman - MadVR is closed source.
i looked at the XySubFilter Source - and i thing it cannot be fixed in XySubFilter.

huhn
19th July 2020, 19:50
subtitle rendering in it self is a major problem for xy subfilter at uhd but that'S not related to the performance issue with not rendering subtitle and still loosing performance.

onur
19th July 2020, 22:41
@huhn
XySubFilter is setting subtitle to null correctly.
i think the problem is in MadVR - starting a Surface to mix all the Subtitles without recognizing that they got all empty.

TheGameMaster
17th August 2020, 19:14
I don't know what happened, but External subs are not loading using XySubfilter. It works for embedded subs, but not external ones. I am using MPC-BE with LAV, MadVr, and ffdshow tryouts. I've tried installing the "stable" versions of these as well as the newest updated versions, and on different machines. I have XySubfilter set as the subfilter in MPC-BE, and have it loading in External filters (along with the others), and disabled all the filters built into MPC-BE. So I am not sure why it won't load external subs. I check the directory setting, etc. I'm at a loss. I have to switch between XySubfilter to the internal MPC-BE filter in order to watch something with external subs. Any ideas?

huhn
17th August 2020, 19:31
my first idea would be to disable ffdshow.

TheGameMaster
17th August 2020, 20:32
I only use ffdshow tryouts for audio decoding and post-processing. It has nothing to do with video. Lav audio has opus, alac, and tak that ffdshow does not have. I disable the rest in lav audio. Lav audio, if using opus for example, will then send the output pcm to ffdshow processor before being send to "anyfilter" which goes to directshow windows atmos for home theater. ffdshow decoder will send raw formats directly to the receiver, except those that can't be decoded on the receiver (AAC primarily), which then are sent to "anyfilter" by default, which converts to pcm and goes over the ffdshow processor. You can set it to go to "DirectShow" instead of "anyfilter" and bypass ffdshow processor and send it to windows atoms for home theater directly. That is how I had it set. When I switched it back to "anyfilter", the subs came back. Weird. Not sure why that is, since it has nothing to do with video. I must have something to do with how the directshow filters stack?

clsid
17th August 2020, 23:40
You may need to add XySubFilterAutoLoader to the external filters list in MPC-BE and increase its merit.

amayra
18th August 2020, 11:13
why this is not dead yet ?

clsid
18th August 2020, 21:45
Because apparently there are lots of online tutorials written by dumb people that recommend it :(

huhn
19th August 2020, 00:24
you know a better alternative?

ryrynz
19th August 2020, 04:41
Probably not. Also aren't internal subtitle renderers for HC/BE & clones mostly based off this anyway? [emoji23]

huhn
19th August 2020, 06:49
they both are based on vsfilter but performance differences become less and less over the years but there are very simple things where xy subfilter is simple unchallenged at AFAIK that's the "that's the new subtitle interface" and things you can only do with it like calibration.

ryrynz
19th August 2020, 10:02
Doesn't seem to dumb to be recommended it, especially if used with MadVR. I think the only real issue is its not supported or in active development. Maybe another project clsid can keep alive? [emoji23]

clsid
19th August 2020, 10:21
The XY stuff is based on ISR/VSFilter, not the other way around. The new interface is just a way to mimic the main benefit of ISR compared to VSFilter, which is processing subs separately instead of having a filter in between the video decoder and renderer. That means no issues with DXVA, and no limitations regarding rendering resolution.

These modified filters used to be faster than ISR many years ago, but that difference is insignificant nowadays due to improvements in ISR.

@huhn, what do you mean with calibration? The matrix/level options? If you have any examples where ISR needs adjustment, then maybe similar options can be added for that.

@ryrynz, I saw several people lately who had performance issues with XySubFilter and madVR, that disappeared when switching to ISR. So the assumption that madVR likes XySubFilter better is wrong.

huhn
19th August 2020, 15:34
i'm talking 3D LUTs gamma correction and such these are only properly doable with the new interface AFAIK.

ISR and XY subfilter performance issue come mostly from the rendering resolution by default ISR isn't doing 4K but xy subfilter is and vsfilter is terrible for high resolution.

clsid
19th August 2020, 16:13
That is also doable with ISR.

ISR can render at 4k resolution. It defaults to the displayed video size. It also has an option to maximize the texture size to a specified resolution if desired for performance reasons.

MPC-HC ISR might even get an option to use libass for rendering. Code for that is nearly ready.

huhn
19th August 2020, 16:42
trust me you don't want to render ass subtitles at 4K pretty much ever.

even libass has serious issues with it. it was not a complain that ISR isn't rendering at 4K by default is a great feature and i would actually say render at a "low" resolution just to prevent issues is a good thing 1080p should be fine.

i'm personally switching between xy subfilter and assfilter mod. and as long as the ISR isn't using the new subtitle interface i can't switch i would be better of with xy vsfilter. i'm soon going to switch to bt 2020 gamut mapping 3D LUT calibration. without color corrected subtitles the image will be unusable.

just for tone mapping you will need the new interface. it's not an issue yet but HDR "will" show up with ASS subs and the new interface can handle this already.

gfxnow
3rd November 2020, 10:38
as long as the ISR isn't using the new subtitle interface i can't switch i would be better of with xy vsfilter.

Based on clsid's post below, isn't the "new interface" basically the ISR way of doing subtitles?

The new interface is just a way to mimic the main benefit of ISR compared to VSFilter, which is processing subs separately instead of having a filter in between the video decoder and renderer. That means no issues with DXVA, and no limitations regarding rendering resolution.

huhn
3rd November 2020, 18:14
generally yes but not for the case of 3D LUT calibration.
madVR needs to be charge of the subtitles or it can't touch them.

clsid
3rd November 2020, 18:29
ISR could be made compatible with that as well in future. Or madVR could adjust the colors of the subs itself. Or blend them before it applies LUT.

huhn
3rd November 2020, 18:55
what's wrong with the new interface it works with EVR, mpcVR and madVR?

the new interface has support for HDR subs too(at least on a technical level).

gfxnow
11th November 2020, 07:18
what's wrong with the new interface it works with EVR, mpcVR and madVR?

the new interface has support for HDR subs too(at least on a technical level).

ISR could be made compatible with that as well in future.

:thanks:

🤝🏻

pinterf
6th March 2021, 00:31
Dear all,
I made a new build, took the rc5 branch which was finally vs2019 friendly. I was so happy upon that that I put some effort into implementing new color spaces in the core. (after having my Avisynth filter work again on this new codebase)

https://github.com/pinterf/xy-VSFilter/releases/tag/3.2.0.804
Tested only from Avisynth TextSub filter, as my primary goal was this. Supports native YV16, YV24, and 10 and 16 bit 4:2:2 formats (internally P210 and P216). What ever it does outside Avisynth, I don't know.

Warlock
6th March 2021, 14:01
Dear all,
I made a new build, took the rc5 branch which was finally vs2019 friendly. I was so happy upon that that I put some effort into implementing new color spaces in the core. (after having my Avisynth filter work again on this new codebase)

https://github.com/pinterf/xy-VSFilter/releases/tag/3.2.0.804
Tested only from Avisynth TextSub filter, as my primary goal was this. Supports native YV16, YV24, and 10 and 16 bit 4:2:2 formats (internally P210 and P216). What ever it does outside Avisynth, I don't know.

:thanks:

Sunspark
3rd April 2021, 20:56
Does the possibility exist that a checkbox could be implemented to disallow transparency?

I.e. if one likes all the other pre-defined subtitle fonts, colors, etc. in the file, just not the transparency which shows on subtitle borders, etc.

The benefit of this would be to visually make everything nice and crisp, and potentially might even improve performance slightly as it wouldn't have to blend anything since at that point it would just be an overlay.

kedautinh12
13th April 2021, 00:35
New ver of xy-VSFilter
https://github.com/pinterf/xy-VSFilter

gfxnow
22nd April 2021, 12:05
New ver of xy-VSFilter
https://github.com/pinterf/xy-VSFilter

Is there an official doom9 thread for this new fork of xy by pinterf

GMJCZP
23rd May 2021, 16:02
Hi, I have used the .bat file to install it but I can't use it with Wmp on w7 x86, what should I do?

clsid
24th May 2021, 15:41
Best thing to do is use MPC-HC instead of the terrible WMP.

To use (xy-)VSFilter with WMP you need to do two things:
1) Use Codec Tweak Tool to adjust preferred DirectShow decoders in Windows. The required setting for VSFilter is "Use merit". Anything else will not work.
2a) You need to disable Media Foundation to force WMP to use DirectShow. On Windows 7 that is needed for .mp4/.mov. On Windows 10 it is also needed for .mkv.
2b) Instead of disabling MF, you can also rename your files to an uncommon extension (such as .video). This will bypass the MF codecs. This method is actually preferred, because disabling MF can cause problems with apps/games that need it.

Long story short: don't use WMP.

GMJCZP
24th May 2021, 22:15
Thanks for the bad news :(

It's curious that in the past i used directvobsub in w xp and Now in W7 with a new program I can't easily

GMJCZP
3rd June 2021, 14:20
I was testing VSFilter 3.2.0.806 as a plugin for Avs+ and I noticed that an "é" (third line of subtitles) is showing it to me as an Asian character, if I use version 3.0.0.306 it does show up correctly, here I leave the file of Subtitle :

Here (http://www.filedropper.com/pruebassa)

And this is the script:

textsub("PruebaSSA.ssa")

v0lt
16th July 2021, 14:54
Is it possible to modify the XySubFilter code (c++17) to avoid using boost?

I found the following dependencies:
boost::scoped_ptr
boost::shared_ptr
boost::flyweights
boost::shared_array
boost::dynamic_pointer_cast

菜姬
16th July 2021, 15:42
Is it possible to modify the XySubFilter code (c++17) to avoid using boost?

I found the following dependencies:
boost::scoped_ptr
boost::shared_ptr
boost::flyweights
boost::shared_array
boost::dynamic_pointer_cast

As far as I know, there is no substitute for flyweight in C++ 's standard library.

nokicheru
17th July 2021, 11:36
Hi! Recently, i've found some mkv files with .ass subtitles that clearly don't work as intended with xySubFilter in MPC-BE and madvr (i've also tried playing them using EVR, no changes). When playing them, I experience huge framedrops, and I can see on the OSD of madVR, that the subtitle queue and all other rendering queues momentarily go to 0 when some new lines come on screen. This mostly happens with scripts with many effects and when a new line comes on to the screen and the problem is isolated to very few files. I have tried playing those files with mpv (which uses libass, i believe) and they worked just fine, no framedrops. I have also tried reinstalling xySubfilter, resetting its' settings and installing the new build recently posted here (https://github.com/pinterf/xy-VSFilter), sadly with no success. Does anyone have any suggestions?

huhn
17th July 2021, 11:50
you can try the option "more" -> "render to original video size" if you are on UHD or QHD.

in general vsfilter has started to fall behind in terms of high res rendering performance.

nokicheru
17th July 2021, 15:46
you can try the option "more" -> "render to original video size" if you are on UHD or QHD.

in general vsfilter has started to fall behind in terms of high res rendering performance.

I actually tried that too, but it weirdly seemed to make almost no difference.

It really seems as if the problem isn't the rendering of the subtitles, but the parsing of some specific effects. I might try to tinker with the subtitle files and try to find if there's any specific effects that mess with xySubfilter.

If anyone wants to try it themselves, I've attached a sample subtitle file that causes the problems that I've described (They start at around second 43). Maybe some of you guys can replicate the problem and figure something out. Would appreciate the help!

clsid
17th July 2021, 17:57
Please use an external file host. It can take a long time before attachments are approved.

Slow rendering can also be due to a font that is used. A couple months ago I discovered that issue for a font called "Splatter". As a fix in MPC-HC internal subtitle renderer, I now use Arial as a replacement when that specific font is used in a style.

The splatter font is the only one so far that is known to me to cause this issue.

nokicheru
17th July 2021, 18:08
Please use an external file host. It can take a long time before attachments are approved.

Slow rendering can also be due to a font that is used. A couple months ago I discovered that issue for a font called "Splatter". As a fix in MPC-HC internal subtitle renderer, I now use Arial as a replacement when that specific font is used in a style.

The splatter font is the only one so far that is known to me to cause this issue.

Thanks for the tip! Here are the files: https://files.catbox.moe/qy6ijn.zip

ikarad
20th July 2021, 21:20
I have found a bug with subtitles.
https://nsa40.casimages.com/img/2021/07/20/mini_21072010344594289.jpg (https://www.casimages.com/i/21072010344594289.jpg.html)
At the left, sub renderer by vlc.
At the right, same problem with mpc-hc sub renderer and xysubfilter

clsid
20th July 2021, 22:51
The bug is in the subtitle itself. It uses a font that does not contain that music note character, nor has a compatible fallback font.

These renderers do not support replacing missing glyphs and it also can not be added easily.

Liisachan
21st July 2021, 03:35
If that's how it is, it's the typesetter's fault. Unfortunately, something like that is not so uncommon...

A quick (possibly ugly) workaround for an XySubFilter user may be "Force Default" in the Main tab of XySubFilter. A pre-set Default font, Arial, does support U+266B ♫. If MPC-HC + Internal sub renderer, then Right-click > Subtitle Tracks > Enable Default. Either way, you may have to tweak the Default style (like font size, or font name if you don't like Arial). Common Windows fonts that support this code point include: Arial & Times New Roman.

A real solution is, editing the subtitle data and changing ♫ to {\fnLucida Console}♫{\fn}, for example. There is another solution using {\p}, directly drawing the glyph; but that's rather complicated and not really softsub-friendly, while more flexible (you can draw any symbols, not even in Unicode).

Liisachan
9th August 2021, 13:40
Even if you enable "Force Default" in the Properties, \r-based user-side styles from SSA/ASS can't be overridden.
Tested: XySubFilter 3.2.0.806 (git) xy-VSFilter.

MPC-BE + Internal subtitle renderer can do this overriding perfectly.
mpc-hc-test.mkv (http://faireal.net/aaa/mpc-hc-test.mkv) (sample, 90KB)

Nabukodonosor
1st October 2021, 23:00
I can't make it work for me for the life of me. I've been using the 2.41.322 with the exe installer and that version works fine. I can select it in MPC-HC and MPC-BE. Also have it in the list in the External filters. But when I use this .bat installer nothing happens, like it's not installed. It even says **not installed** in the Subtitle renderer seletion. What am I duing wrong?!

lvqcl
2nd October 2021, 08:23
From Readme.txt:
Right-click Install_XySubFilter.bat and select "Run as administrator"
Did you do that or simply double clicked the .bat file?

Also, if you use 32-bit player then you need to install 32-bit filter; if you use 64-bit player then you need to install 64-bit filter.

Nabukodonosor
2nd October 2021, 10:18
Right click and Run as admin. I use 64-bit player.

lvqcl
2nd October 2021, 10:29
And what exactly filter do you try to install and use?

Nabukodonosor
2nd October 2021, 11:31
What do you mean? vsFilter.

lvqcl
2nd October 2021, 22:59
version, bitness, where exactly to download,...

alright then, keep your secrets.

Nabukodonosor
3rd October 2021, 11:35
Dude, I've already told you, 64bit, the latest version. Downloaded from the link in the first post of this thread.

nateify
20th November 2021, 19:55
Hello, I have an Avisynth question for VSFilter, I am wondering if it is possible to mask VOBSUB on top of a transparent RGBA clip. I have a very specific use case for it which is to transcode to RGBA cineform from Virtualdub. See this script which works for text based subtitles:
V=LWLibavVideoSource("00000 - 2 - h264, 1080p24.mkv")
MaskSub("subs.ass",V.width,V.height,V.framerate,V.framecount)
FlipVertical()

If I load it in Virtualdub with transparency set to checkerboard, I can verify the alpha works as intended, and the eventual encoded clip is imported into Adobe Premiere Pro where the alpha is also interpreted correctly:
https://i.imgur.com/Jv4Z8Lb.png

However masksub does not work with VOBSUB picture based subs. I thought to simply use the VobSub filter on top of an RGB32 BlankClip however the resulting clip is completely transparent to Vdub, and the resulting encode has no opaque subs in Premiere Pro either. I don't think this is a Vdub bug as I can encoded the AVS file with FFmpeg with Avisynth support and it also ends up being a transparent clip.
V=LWLibavVideoSource("00000 - 2 - h264, 1080p24.mkv")
B=BlankClip(V,pixel_type="RGB32")
VobSub(B,"00000 - 2 - h264, 1080p24_Track04._PGS_exp.sub")
https://i.imgur.com/idRG9vW.png

Is it possible to overlay VOBSUB over a transparent RGB32/RGBA clip to get the same result as MaskSub in Avisynth+ 3.7?

kedautinh12
16th November 2022, 15:00
xy-VSFilter v3.2.0.808
https://github.com/pinterf/xy-VSFilter/releases

Blight
10th January 2024, 16:43
Looks like Ferenc Pintér ported a few fixes:

xy-VSFilter v3.2.0.809
https://github.com/pinterf/xy-VSFilter/releases

gfxnow
11th January 2024, 07:04
Looks like Ferenc Pintér ported a few fixes:

xy-VSFilter v3.2.0.809
https://github.com/pinterf/xy-VSFilter/releases

Thanks, didn't know development still lived on. Love it when the community revives a beloved project.

Is the pinterf fork where we can expect fixes/improvements to live on, ŕ la clsid/MPC-HC?

ashlar42
14th January 2024, 02:01
Looks like Ferenc Pintér ported a few fixes:

xy-VSFilter v3.2.0.809
https://github.com/pinterf/xy-VSFilter/releases

Do these new version save settings under Computer\HKEY_CURRENT_USER\SOFTWARE\Gabest\XySubFilter or somewhere else?

Reason I ask is that I would like to have two different versions of xysubfilter with different settings installed and this might come in handy.

If there is a trick to do the same anyway, I'm all ears.

(I want to have different colors and transparencies for SDR and HDR subtitles... using assfiltermod works but that does not handle PGS subs, which from time to time can be used if I can't find SRTs)

EDIT: tried installing but it saves settings in the usual Gabest location in the registry. So the question becomes, is there any way to change this, in order to have two different xysubfilter installs with separate settings? I suspect the only way is to recompile and I'm far from having a building environment set up on my machines. Apart from not knowing where to edit stuff (although I suspect there shouldn't be too much to edit).

EDIT 2: I know of no other way to have subtitles not blindingly bright in HDR content. If I set them ok for HDR, they are scarcely visible in SDR. I still use Kodi DSPlayer, that needs an external filter for subs.

Blight
21st January 2024, 14:46
Follow up to my post about a new version:
This branch's version of DirectVobSub has a bug that causes stability issues when trying to release some of the interfaces when used with EVR as the video renderer (no issue with the xySubFilter version for MadVR).

gfxnow:
I'm not sure, I was using a xySubFilter v3.2.806 in Zoom Player which was having issues when using EVR (wouldn't connect), I then upgraded to v3.2.809 and it has the bug I just wrote about.
I wrote the maintainer of this Git to see if he's willing to look into it.

huhn
21st January 2024, 21:59
mpc-hc has libass support now in the ISR. the option is hiden under: option subtitles -> default style.
and that should be the way forward for subtitles.

even through it looks like it is currently utterly broken.
edit: don't use a sub picture buffer and it seem to be fine.

amayra
22nd January 2024, 13:28
i remember there fork that use libass as render

gfxnow
23rd January 2024, 08:33
mpc-hc has libass support now in the ISR. the option is hiden under: option subtitles -> default style.
and that should be the way forward for subtitles.

Yes but xySubFilter with MadVR is more than just libass.

pinterf
23rd January 2024, 10:52
Follow up to my post about a new version:
This branch's version of DirectVobSub has a bug that causes stability issues when trying to release some of the interfaces when used with EVR as the video renderer (no issue with the xySubFilter version for MadVR).

gfxnow:
I'm not sure, I was using a xySubFilter v3.2.806 in Zoom Player which was having issues when using EVR (wouldn't connect), I then upgraded to v3.2.809 and it has the bug I just wrote about.
I wrote the maintainer of this Git to see if he's willing to look into it.

I made a fixed test build, 3.2.0.810. If it works for you I'll release it. Thanks. This bug - if this was the bug - existed since 3.2.0.804.
https://drive.google.com/uc?export=download&id=1N5o7vrakFuXDp5LDoKnGFyZWrcW3bB5T

Blight
23rd January 2024, 18:03
I made a fixed test build, 3.2.0.810. If it works for you I'll release it. Thanks. This bug - if this was the bug - existed since 3.2.0.804.
https://drive.google.com/uc?export=download&id=1N5o7vrakFuXDp5LDoKnGFyZWrcW3bB5T

I can confirm this update fixes the random instability issue.

pinterf
23rd January 2024, 20:25
Thanks for testing it. So I released 3.2.0.810.
https://github.com/pinterf/xy-VSFilter/releases

sparkD
16th August 2024, 09:13
I have a simple walkthrough to move external ASS subtitle to black bar (using MPC+Madvr+XySubFilter):
# Settings in MPC
Set Option -> Playback -> Output -> Subtitle Renderer -> XySubfilter
# Settings in MadVR
- Processing -> zoom control -> Move subtitle: to bottom
- If black bars change pick one zoom factor: doesn't lose any image content
- Keep bars visiable : ..forever
# Settings in XySubFilter
More:
Renderer Layout Options: Use AR Adjusted Video Size
Allow video renderer to reposition simple SSA/ASS subtitles (for ass subtitles)

Celio1080p
26th April 2025, 01:30
Hey there guys. Can anyone help me, please?

Ahem.

I have a Ryzen 7 5800X3D
32 GB of RAM.
RTX 3070.
Windows 11 Pro.

Anyway, I'm watching the blu-ray of an anime called Tsurezure Children, and on episode 03..

At 09:23 of the episode, the episode shows many subtittles at same time.. and my video stutters.

How to fix it?

I tried disabling madVR, didn't work.

The problem only was solved when I disabled xyVSFilter. Why?
There is anyway to fix it.. or my PC is too weak to use this filter?

My main player is MPC-BE x64