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

Siso
16th July 2015, 11:23
That's always been part of the SSA specs. Set the alignment field to 1 for left-justified. Unless you mean fully-justified, where width is always the same; that's not a part of the specs.

My idea was: the subtitles to be centered , but the alignment of the sentences etc. to be left aligned (paragraph).

octal9
16th July 2015, 14:48
Can somebody help with this:

I have no problem in playing xysubtitle as along as its embedded. External ones wont just load. I'm using madvr, mpcbe & reclock. All latest versions.try switching xysubfilter to "always load" in the loading section of xysubfilter's options - this helped my as i was having problems of subs not always loading. (i'm using the same setup as you)

jriker1
16th July 2015, 22:55
I'm going nuts with this and trying to understand what I'm doing wrong. Using aegisub to format my ass file. I center it bottom middle and then raise things up like 40 pixels or whatever. Looks good in the editor. Apply it to all subtitles. When I run it thru avisynth its always puts the subs at the very bottom of the video. Doesn't xy-vsfilter honor settings in ass files?

Thanks.

JR

huhn
17th July 2015, 10:28
can you share an example?

avisynth script and the ass.


and don't forget to add the fonts to the system fonts.

jriker1
17th July 2015, 16:20
can you share an example?

avisynth script and the ass.


and don't forget to add the fonts to the system fonts.

Sure thing. Funny part is, even though I chop off 20 pixels of black bars on the top and bottom of the video after the subs are burned in, still goes to the bottom. Either some overscan on my Panasonic Plasma or something else is going on. Figure if I don't change the video width but reduce the height it would show more on the screen vertically not less. Anway, guessing as I'm using Arial adding fonts won't be an issue but here you go:

AVS file is very simple:

avisource("district.avi")
TextSub("district_Subtitles.ass")


ass file looks like this. Unless you want all 211 subs cut it after a few:

[Script Info]
; Script generated by Aegisub 3.2.2
; http://www.aegisub.org/
Title: Untitled
ScriptType: v4.00+
PlayDepth: 0
YCbCr Matrix: TV.601
PlayResX: 1920
PlayResY: 1080

[Aegisub Project Garbage]
Last Style Storage: Default
Audio File: district.M2TS
Video File: district.M2TS
Video AR Mode: 4
Video AR Value: 1.777778
Video Zoom Percent: 0.500000
Scroll Position: 78
Active Line: 83
Video Position: 48024

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Riker,Arial,60,&H00FFFFFF,&H0300FFFF,&H00000000,&H02000000,-1,0,0,0,100,100,0,0,1,2,2,2,0,0,100,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:04:55.25,0:04:57.59,Riker,,0,0,0,,I think they must fix that \Nand they must go.
Dialogue: 0,0:04:57.75,0:05:00.21,Riker,,0,0,0,,A virus, a selective virus.
Dialogue: 0,0:05:00.96,0:05:02.05,Riker,,0,0,0,,Release it near the water.
Dialogue: 0,0:05:02.26,0:05:05.34,Riker,,0,0,0,,They must just go. I don't know where,\Nbut they must just go!


Note the 100 on the MarginV was 60 last time. Trying to crank it up a bit and see if it still shows on the bottom.

Thanks.

JR

huhn
18th July 2015, 00:32
Sure thing. Funny part is, even though I chop off 20 pixels of black bars on the top and bottom of the video after the subs are burned in, still goes to the bottom. Either some overscan on my Panasonic Plasma or something else is going on. Figure if I don't change the video width but reduce the height it would show more on the screen vertically not less. Anway, guessing as I'm using Arial adding fonts won't be an issue but here you go:


can you please first check if the possion on of the subs is correct when the file is played on your PC?

amayra
7th August 2015, 17:14
how about this you no release it XySubFilter Test 3.1.0.741 :(

Tornado15550
21st August 2015, 11:10
With Google Code going read-only on the 25th of this month, will you be transitioning the project to Github or some other repository?

amayra
22nd August 2015, 15:56
With Google Code going read-only on the 25th of this month, will you be transitioning the project to Github or some other repository?
this is the official repository :
https://github.com/Cyberbeing/xy-VSFilter

iakoboss7
10th September 2015, 01:33
hello, are you gonna release a new beta version with the latest changes after the previous one?

ashlar42
13th September 2015, 15:23
Pardon my ignorance but could somebody explain to me the high resolution rendering of xySubFilter as opposed to what xyVSFilter does? I am using xyVSFilter in order to have subs rendered on black bars in Kodi (DSPlayer version) while using madVR, I set "Renderer layout option" to 1920x1080 and I see text based subs (ie. SRT) rendered at native res. What am I missing?

vivan
13th September 2015, 19:56
If you're watching 1080p video on 1080p screen then subs will be rendered at native resolution (except chroma, which will be 4:2:0 as video). However when video resolution is lower than screen resolution (i.e. DVD), then, when using xyVSFilter you'll get subs rendered at low resolution which will look bad.

Renderer layout option only affects styles scaling. E.g. if you choose font size of 50 pixels - then it will be 60 pixels on 1920x1080 video, but 40 on 1280x720. For unstyled subs (SRT) using this option is a good idea (hope it will become default for them in future), except when videos have different aspect ratio. But with styled subtitles (ASS) it could have unpleasant effects.

ashlar42
4th October 2015, 12:14
Are developers still working on xySubFilter? madshi would apparently be ready to work on black bars rendering for subs but there doesn't seem to be anyone working on xySubFilter :(

madshi
4th October 2015, 20:06
There ever only was one dev, and from the looks of it, he might be gone. I've emailed him. If he doesn't show up, maybe I can hack something in to work around the missing features. No promises, though.

ashlar42
5th October 2015, 10:50
Much appreciation flowing in your direction, madshi, even with no promises. :)

And by the way, if this project has been abandoned by its dev... am I right in understanding that there currently is not another actively developed subs filter?

vivan
5th October 2015, 12:05
There's also a libass, but it's one of the reasons why people are LOLing at VLC. Like the last time I used it it either corruped entire video or crashed because typesetting was too heavy.

ashlar42
5th October 2015, 13:35
Yeah... well, at least, all this being open source, one can always hope that somebody capable enough will keep the candle lit.

madshi
11th October 2015, 20:49
New build uploaded by cyberbeing (see first post in this thread) - thanks!

steakhutzeee
11th October 2015, 22:38
I'm using XySubfilter 3.1.0.705 (git caded62), what's last version? 3.1.0.744 (git 50985e9)?

Matching_Mole
14th October 2015, 11:27
Hi,

Is it a key shortcut to load external sub files with XySubFilter as we can with MPC-HC (CTRL+L)? And if not, could this be implemented?

I use it all the time in MPC-HC to add subtitles to my Blu-ray on the fly (because they dont have one in my language, or because the muxed one are too large and too present on the screen). Now that madVr is able to use black border with XySubFilter, this is last piece that is missing for me to definitively outperform the internal sub rendrer of MPC.

sneaker_ger
14th October 2015, 18:24
I don't think it's possible, XySubFilter integration into MPC-HC is not very good. You might have more luck with MPC-BE.

jfcherng
16th October 2015, 11:49
Environment:

madVR: v0.89.11 x64
XySubFilter: 3.1.0.744/745 x64


ASS script:

[Script Info]
PlayResX: 1920
PlayResY: 1080

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: A,Arial,62,&H00FFFFFF,&HF0000000,&H006C3300,&H00000000,0,0,0,0,100,100,5,0,1,5,0,2,25,25,20,1
Style: B,Arial,20,&H00FFFFFF,&HF0000000,&H006C3300,&H00000000,0,0,0,0,100,100,5,0,1,5,0,2,25,25,20,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,9:00:00.00,A,,0,0,0,,Big Fontsize{\rB}Small Fontsize


Current result:
http://i.imgur.com/34F7zcy.png (XySubFilter 3.1.0.744/745 x64)

Expected result:
http://i.imgur.com/MjaITfG.png (XySubFilter: 3.1.0.705 x64)
http://i.imgur.com/ZS5Ng5N.png (Aegisub)


By the way, is there no issue page on the official github repo?
It takes a week for a newly registered user to post reply here.

cyberbeing
16th October 2015, 15:25
Should be fixed in 3.1.0.746 (see first post or Github for the DL link).

I've also enabled the Github issue tracker as well, which does seem to be needed now that GoogleCode has been defunct for quite awhile. Just keep in mind there is currently no active developer, so chances of anything other than regressions being fixed is rather slim.

jfcherng
16th October 2015, 15:43
Should be fixed in 3.1.0.746 (see first post or Github for the DL link).

I've also enabled the Github issue tracker as well, which does seem to be needed now that GoogleCode has been defunct for quite awhile. Just keep in mind there is currently no active developer, so chances of anything other than regressions being fixed is rather slim.

Good work anyway :thanks:

agustin9
17th October 2015, 01:29
Is there a way to reset the subtitle delay back to 0 everytime? Thanks!

Dlget
25th October 2015, 21:10
Something Causing Memory Leak in XY Subfilter 3.1.0.746_x64_BETA3.
If i use XY Subfilter RAM usage becomes 99% & pc hangs.
I used MadVR & EVR custom & found hang.However EVR don't have this.
http://forum.doom9.org/showthread.php?p=1744306#post1744306

cyberbeing
26th October 2015, 03:14
Is there a way to reset the subtitle delay back to 0 everytime?
Use MPC-BE with the F1 / F2 hotkeys to change it temporarily via the api, instead of setting it permanently in settings.

Something Causing Memory Leak in XY Subfilter 3.1.0.746_x64_BETA3.
If i use XY Subfilter RAM usage becomes 99% & pc hangs.
I used MadVR & EVR custom & found hang.However EVR don't have this.
http://forum.doom9.org/showthread.php?p=1744306#post1744306

How do I reproduce this?
What subtitle format, sample, media player?

When you state RAM usage becomes 99%, how much RAM are we talking about which is reported used by MPC-HC?
How much RAM do you have free/standby on your system as reported by Resource Monitor before you start playback?

What is the Cache Size(MB) being reported as in options?
Does manually reducing it resolve the problem?

Does the issue only occur with 3.1.0.746, but not 3.1.0.705 and prior?
Does this only occur on Windows 10? Are you able to test on another computer using a different OS?

Dlget
30th October 2015, 05:56
How do I reproduce this?
What subtitle format, sample, media player?

When you state RAM usage becomes 99%, how much RAM are we talking about which is reported used by MPC-HC?
How much RAM do you have free/standby on your system as reported by Resource Monitor before you start playback?

What is the Cache Size(MB) being reported as in options?
Does manually reducing it resolve the problem?

Does the issue only occur with 3.1.0.746, but not 3.1.0.705 and prior?
Does this only occur on Windows 10? Are you able to test on another computer using a different OS?

I'm using 746 beta 3 & with 705 it was okay(don't know if 746 created this bug).
I'm using Win7.I restored XYSubfilter Setting
Any Video Format with any subtitle.(tested mp4,mkv with embedded subtitle & external subtitle both srt & ass)

I restored XYsubfilter setting & no hang.
But i only changed renderer height & width to my display size.
Didn't touched cache setting.(set to -1 auto)
[Somehow more memory is used for cache????]

I got 8GB DDR3 RAM & during hang i can see 6GB sucked by mpcbe(xysub inside).
With MPC-BE's internal subtitle filter no problem.


Don't know how to give debug report for Xysubfilter although i would like to give

agustin9
1st November 2015, 01:20
Use MPC-BE with the F1 / F2 hotkeys to change it temporarily via the api, instead of setting it permanently in settings.
Thanks for answering. I change it using the hotkeys but it gets stored...

cyberbeing
1st November 2015, 02:59
Thanks for answering. I change it using the hotkeys but it gets stored...

You must be doing some wrong then:

A) You didn't remember to set the delay back to 0ms before using the MPC-BE hotkeys for the first time.

B) After you are changing it via MPC-BE hotkeys, you are entering XySubFilter options and saving the delay permanently by clicking OK or Apply.

romulous
7th November 2015, 02:26
Quick question - does XYSubFilter and xy-VSFilter support Teletext subtitles? I have a sample file for which MediaInfo has this to say:

Text #1
ID : 5303 (0x14B7)-888
Menu ID : 8931 (0x22E3)
Format : Teletext
Language : English

Text #2
ID : 5304 (0x14B8)
Menu ID : 8931 (0x22E3)
Format : DVB Subtitle
Codec ID : 6
Duration : 1mn 56s
Delay relative to video : -300ms
Language : English

So two subtitle streams. The only thing exposed by XYSubFilter and xy-VSFilter is the DVB stream however.

romulous

cyberbeing
7th November 2015, 08:44
I'm not sure if DVB Teletext is supported or not, since I don't have any such samples. If it doesn't work with MPC-HC ISR either, the answer is probably no.

Also, the subtitle filter takes no part in exposing muxed subtitle streams. If you have a sample where one of the subtitle streams isn't exposed, that would be a splitter problem first.

romulous
7th November 2015, 08:59
Sample here:
https://mega.nz/#!4t41nRgA!JOC4KHpQH88upPj9iwI75KZp8rcz-rKiLjLwRBM3LTg (71MB)

Definitely only one stream is exposed, I will post this to the LAV thread (as the affected component).

romulous

Knight77
29th November 2015, 07:54
After many many test I can confirm that the function to move the subs in the black bars

http://i.imgur.com/KU5BCFS.jpg

In both my PC works only if I use xysubfilter.dll 745 or previous. Why? Can anyone give me a solution about this? I'd like to use the last version :-(

I got that version by aracnoz in a post in Dsplayer thread and is the only one working (both in dsplayer and mphc)....

jmonier
29th November 2015, 18:49
You might get a better response by posting this in the madVR thread.

Nullack
1st December 2015, 09:10
So I downloaded the latest beta and did some tests. My setup is I use the nightly x64 MPC-HC builds along with the nightly x64 LAV filters build. I run the external nightly LAV filters only in MPC-HC. I use DXVA 2 on my Nvidia GTX 960 in Native mode, including HD and UHD resolutions. My display is a 65" curved LED 3D display, 4K UHD. I've noticed with my setup and testing that the performance of this beta is not OK for most common frame speeds in video. For example, 24 fps is around 41ms paint time, and with this beta enabled I see paint time spiking above that when obviously it needs to be below the frame rate for smooth playback. With even higher frame rate footage the problm is worse, say with 60 FPS material it needs to be under a frame time of 16 ms.

For the time being Ive gone back to the internal MPC-HC subtitle filter which does not have the problem of causing frame spikes with subtitles.

cyberbeing
2nd December 2015, 03:10
I run the external nightly LAV filters only in MPC-HC. I use DXVA 2 on my Nvidia GTX 960 in Native mode, including HD and UHD resolutions.

What video renderer are you using?

With XySubFilter at high resolution you should really use madVR so you get subtitle buffering. EVR-CP doesn't yet buffer subtitles frames for any render except the ISR.

If you are already using madVR and having this issue with SRT subtitles, it seems be be a performance problem with madVR's black bar support + DXVA Native. I've now opened a bug for this madVR issue, which you can follow. If you have any additional details which I missed, please add them in a comment: http://bugs.madshi.net/view.php?id=363

If you use DXVA2 (copy back) in LAV instead, you shouldn't run into this issue. The DXVA2cb-direct mode in LAV should have decoding performance nearly identical to DXVA2 Native with your GTX960, so there is no reason not to just use it at all times.

In both my PC works only if I use xysubfilter.dll 745 or previous. Why? Can anyone give me a solution about this? I'd like to use the last version :-(

The only difference in 744 & 745 is those builds flagged all text subtitles as movable, whether styled or not. The 746 build was changed so it doesn't flag subtitles with style override tags as movable. Unfortunately this means if you have SRT subtitles containing style tags like bold or italic, they may get incorrectly flagged as unmovable. This will likely get resolved in some future build.

This was mainly done, since support for movable ASS subtitles containing typesetting would need to be done on a per bitmap basis to be supported well. The current implementation in madVR only functions on a per script basis which only makes it practical for text subtitles without typesetting. The current implementation is a bit of a hack by madshi to get it somewhat working. Anything more complex would need to be implemented in XySubFilter itself, but we currently don't have an active developer to finish implementing proper subtitleTargetRect movable subtitle support as originally intended by the subtitle interface.

Nullack
2nd December 2015, 05:13
Thanks and understood. The reason Im using EVR CP as a media foundation renderer is because with madVR I cant get my frametimes down enough to keep pace. I run DXVA 2 in native mode. I fiddled around with a whole bunch of settings and I was not able to get madVR to do 4K UHD with paint times below the frame interval for common FPS speeds. It wasnt just 60 fps material, some of it was 30 fps material. Using just DVXA2 native with EVR CP and with HEVC level 5.2 MAIN 10 3840P60 under full hardware acceleration from my GTX 960 GPU, my max paint times are still just above the 17 ms or so for 60 FPS material, maxing at 25 ms but most frames around 5-7 ms. So even with the fastest hardware accelerated setup on the EVR CP Im still seeing max frame times above 60 fps complex content. Madvr is even worse.

cyberbeing
2nd December 2015, 07:25
Just to confirm. I'd assume you'd see a similar performance problem with the ISR if you set "Sub Pictures to Buffer" to 0 in MPC-HC settings?

If not, I'm not too sure what could be causing your high render times. On my system at least, XySubFilter + MPC-HC EVR-CP has avg paint times of ~0.3ms at 4K, with a split-second paint time spikes each time a subtitle line is rendered. ISR + MPC-HC EVR-CP behaves the same way if I set "Sub Pictures to Buffer" to 0. Either way, if using EVR-CP you are better off using the ISR at 4K so you get subtitle buffering. EVR-CP does have a render buffer (EVR Buffers?) of some kind for video frames, but I'm not sure if it would help hide for paint time spikes you are seeing when using XySubFilter or not. You'd need to ask in the MPC-HC thread.

With madVR + XySubFilter, it should be possible to get decent performance at 4K 60fps HEVC with DXVA2-Copyback if you lower madVR's settings enough. I have a GTX770 which is around the same power as your GTX960. With 3840x2160p60 video at 4K display, very low render times such as <6ms avg and <10ms max should be possible with subtitles. In madVR you don't even need to worry about the max (5s) render time much, since if it's small and infrequent enough it will be completely hidden by madVR's render queue. If you're not seeing any frame drops reported or otherwise visible when using madVR, you're just fine.

Try low settings such as Spline36 AR Luma + Catmull-Rom Chroma + Ordered Dithering + CPU Queue 24 + Render Queue 6 + Present Queue 6 + DX9 Fullscreen Exclusive + Smooth Motion + 'optimize subtitle quality for performance' + 'don't use linear light for dithering + 'don't use linear light for smooth motion blending' to start with, and increase settings from there. You should definitely be able to get render times below 16ms at 4k using DXVA2-Copyback and those settings. If not, try disabling Smooth Motion.

I believe there are a few people here on Doom9 have a GTX960 and a 4K display, so they may be able to help you further in the madVR thread with tweaking settings, if you're still having trouble getting acceptable 4K 60fps performance.

Nullack
2nd December 2015, 09:08
Thanks very much for the time and wisdom in your response I greatly appreciate it :)

Your exactly correct, when setting the ISR to 0 buffered subs I see the same sort of paint time spikes as with Xysubfilter using the EVR-CP renderer. Its for sure the cause. Setting it back to 10 fixes the spikes.

I will work on madVR and persist with trying to find settings which work OK.

As too whats causing my current render times Ill fiddle around between CB and native, try different output resizers for the EVR-CP the default is bilinear I had been using Bicubic A = 1.00 PS2.

I have observed that xysubfilter tends too look better than the ISR and it seems more accurate with punctuation etcetc so Ill stick with it and try to configure madVR.

Thanks very much for all the help mate.

romulous
10th December 2015, 12:44
Hi,

I have a DVB sample which does not appear to show the subtitles in the correct place, and I am trying to work out where the problem lies (sub renderer, player etc). Here is the sample:
https://mega.nz/#!twQwSAjY!AxQEHK1MY5fkXBb9oASjhubm1jkLWk4RRCnFiWQbq8Y (100MB)

So, with xy-VSFilter, the subs show down towards the bottom of the video, but slightly to the right hand side. With XYSubFilter, the subs show bunched up in about the middle of the video, on the very left hand side. I'm sure that XYSubFilter is not correct (the subs should be at the bottom of the video, centered I believe), and I don't think xy-VSFilter is correct either (it appears they are slightly to the right instead of the center, at least to my eyes).

Any advice would be appreciated. Using xy-VSFilter 3.0.0.306 with EVR (non custom) and XYSubFilter 3.1.0.746 with madVR v0.89.17.

romulous

KoD
17th December 2015, 20:17
If you see on the madVR OSD (Ctrl+J in MPC) that the resizer used is DXVA like in the screenshots here (http://forum.doom9.org/showthread.php?p=1749986#post1749986), then you have exactly the issue I have reported since the 16th of November.

romulous
20th December 2015, 02:16
Thanks KoD. Yes, OSD shows DXVA. It took me a while to track the cause of that down - I do not have any of the DXVA options in the scaling algorithms selected. As it turns out, disabling 'Automatically Enabled Deinterlacing when Needed' option in madVR fixes the issue. Obvious madVR bug.

romulous

Sm3n
21st December 2015, 16:49
hi :)

I still don't 100% understand how to make my subtitles always rendering the same size/aspect no matter which resolution the movies are.
It's been a while now I'm using your plugin with both (the last) mpc-hc & madvr.

I noticed that the size is smaller if the movie I'm watching is cropped. is it possible to ask to madvr or your plug to always be applied (after the rendering?) on a 1920x1080 screen.
of course I tried everything that is in my knowledge by changing the options. But I see no other thing I can do except asking here, again. ^^'

of course you'll get what I mean. uhuh

cheerz thanks in advance.

KoD
22nd December 2015, 15:41
Thanks KoD. Yes, OSD shows DXVA. It took me a while to track the cause of that down - I do not have any of the DXVA options in the scaling algorithms selected. As it turns out, disabling 'Automatically Enabled Deinterlacing when Needed' option in madVR fixes the issue. Obvious madVR bug.

romulous
It's actually not a bug. DVB streams are very likely interlaced content, so performing deinterlacing on them is what's expected if the decoder does not do it by itself. I would guess that you have "use DXVA chroma upscaling when doing native DXVA decoding" and/or "use DXVA chroma upscaling when doing DXVA deinteracing" enabled in the rendering > trade quality for performance madVR settings page, as they are enabled by default, which combined with your other settings is why you saw DXVA being used for resizing. If you disable these settings, then DXVA will no longer be used for scaling as long as you don't enable it explicitly in the image down/upscaling page. The "Automatically Enable Deinterlacing when Needed" should stay enabled, or your TV streams will not be deinterlaced and will look worse. ;)

Anyway, the latest madVR release 0.89.19 has fixed the issue of vobsub positioning, so even if you use DXVA for scaling, it will still be ok.

hi :)

I still don't 100% understand how to make my subtitles always rendering the same size/aspect no matter which resolution the movies are.
It's been a while now I'm using your plugin with both (the last) mpc-hc & madvr.

I noticed that the size is smaller if the movie I'm watching is cropped. is it possible to ask to madvr or your plug to always be applied (after the rendering?) on a 1920x1080 screen.
of course I tried everything that is in my knowledge by changing the options. But I see no other thing I can do except asking here, again. ^^'

of course you'll get what I mean. uhuh

cheerz thanks in advance.

If you use xy-vsfilter, then the subtitles are rendered on top of the original video frame, before the renderer gets the frame and scales it up to 1920 x 1080.
If you use xy-subfilter, then the renderer gest the original video frame, scales it up to 1920 x 1080 and then renders the subs on top of this scaled up frame - this is when you get those crisp looking subs.

I guess the latter is exactly what you want! :)

So, if you are not using the xysubfilter.dll yet, download the archive containing it from the first page, place its content in a folder somewhere (and don't move it afterwards from there), right-click on the "Install_XySubFilter.bat" file and select "Run as administrator".

Then if you are using MPC-HC, make sure to select in its Options -> Playback -> Output settings page a renderer like EVR (custom presenter) or madVR which can use xy-subfilter, and chose XySubFilter as the Subtitle renderer on the same page.

And if you are using madVR, then in its processing -> zoom control settings page, disable "move subtitles", or you will get randomly resized and positioned subtitles; the setting is intended to move the subtitles in the black bar below the movie frame, but an automated algorithm is only going to work fine some times, and other times not.

If your subtitles are plain text files, with no positioning info (like SRT), then you can control the font used, and the size of the font, and the subtitle margins by opening the xy-subfilter properties page while a movie file containing such subs is playing, with a right-click on the video surface in MPC -> Filters -> XySubFilter -> Properties -> Styles, which gives you a configuration dialog.

If your subtitles are ASS/SSA text subs, then they contain positioning and font type and size info, and those subtitles are meant to be displayed at the position and with the size specified in the subtitle, so you should not override that (like what you would do if you select "Force default" in the xy-subfilter properties page).

Same thing happens with DVD and BluRay subs - these are images which contain the "drawings" of the subtitle characters at a specific position, so it's better to not try to override these either (using the VobSub override placement in the xy-subfilter properties page).

Reign
22nd December 2015, 16:22
I couldn't see if it was mentioned but it seems XySubFilter 3.1.0.746 has an issue where it doesn't change position according to padding at all. I only tried adding vertical padding but regardless my subtitles didn't move at all. Works perfectly with the ISR using MPC-HC, I'm sure it worked in previous versions as well.

Sm3n
22nd December 2015, 22:13
@KoD Yep, I'm using xysubfilter actually.

My config is set exactly like you suggest. And I'm quite sure I tried everything that was possible to do. I'll test xyvsfilter to see the difference.
Here are 2 frames:
https://picload.org/image/wggrwwg/1920x820.jpg
https://picload.org/image/wggrwwd/1920x1080.jpg

IF I play the cropped one, I have to change the size of the police to 22. And if next I play a noncropped 1080p of course I have to set back to original size (18 or 20) because it's too large.
I don't fully get where the problem is and if it's settable once for all.

Plus it's a pain in the ass to really well understand what you try to kindly explain to me. english is not really my native language.


@cyberbeing I still have to special version you made but I'm still thinking that is not solving the issue.

I tried vsfilter but I can't get it to work for now. No sub shown in the player.

KoD
23rd December 2015, 16:15
@KoD Yep, I'm using xysubfilter actually.

My config is set exactly like you suggest. And I'm quite sure I tried everything that was possible to do. I'll test xyvsfilter to see the difference.
Here are 2 frames:
https://picload.org/image/wggrwwg/1920x820.jpg
https://picload.org/image/wggrwwd/1920x1080.jpg

IF I play the cropped one, I have to change the size of the police to 22. And if next I play a noncropped 1080p of course I have to set back to original size (18 or 20) because it's too large.
I don't fully get where the problem is and if it's settable once for all.

Plus it's a pain in the ass to really well understand what you try to kindly explain to me. english is not really my native language.


@cyberbeing I still have to special version you made but I'm still thinking that is not solving the issue.

I tried vsfilter but I can't get it to work for now. No sub shown in the player.

Ah, I have misunderstood what the problem is. Looking at your screenshots, I notice the two movies have different frame sizes. I did a test now with two video files that have different sizes like you did, and I've encountered the same issue.

This is likely a bug in xysubfilter, or in MPC-HC.

So please disregard my ramblings above, they are not going to help you. :)

Nullack
23rd December 2015, 16:54
Hi

Where are the commit logs for this trunk so I can see what new commits are being made in the beta? I got lost in old sections that havent changed in ages.

How long is beta 3 going to be in beta?

Thanks

Sm3n
24th December 2015, 04:13
Ah, I have misunderstood what the problem is. Looking at your screenshots, I notice the two movies have different frame sizes. I did a test now with two video files that have different sizes like you did, and I've encountered the same issue.

This is likely a bug in xysubfilter, or in MPC-HC.

So please disregard my ramblings above, they are not going to help you. :)

OK :) so it's well a very well known issue with unfortunately no possibility to "fix" that.
No problem. thx for your time ;)