We have implemented a scale funtion that allows subtitles being rendered at arbitrary resolutions. The build can be found here
xy-VSFilter_Scale_Test_Build_1.7z.
--------------------------------
Downloads Page:
Downloads (Older versions can be found here too.)
ReleaseNotes:
ReleaseNotes--------------------------------
Test version for the next stable: 3.0.0.144
Update: 1. A faster floating-point \blur. Using floating-point intermedia for \blur and since floating-point allows us to do SSE optimization which is hard in the old fixed-point version, this floating-point version is faster than the old fixed-point one.
2. Some bugfixes.
detailsLatest stable version:3.0.0.65
1. Some bugfixes.
details--------------------------------
Hi,everyone.
I've been working to improve vsfilter's performance since last year. The background is quite similar to gommorah's (
http://www.cccp-project.net/forums/index.php?topic=5776.0), but I had no plan to share my mod to anyone else at the beginning (so that I didn't have to worry about issues such as compatibility or rare bugs). Recently, the 10-bit playback issue brought me to this forum. And unexpectedly, I found that gommorah was making a vsfilter mod too here. It's great to see that someone else fousing on the same thing as me. Here's my mod, based on vsfilter 2.39. Hope it helps.
binary
http://code.google.com/p/xy-vsfilter/downloads/detail?name=xy_vsfilter.7z&can=2&q=source
http://code.google.com/p/xy-vsfilter/downloads/detail?name=xy_vsfilter_source_20110916.7z&can=2&q=What I've done in this mod:
1.Disable prebuffering. It's to difficult to test.
2.Improve performance.
1).Alpha blending on dirty area only. Instead of using a rectangle to represent dirty area on a subpic as Vsfilter, I using a list of rectangles. Hence in cases like two subtittle lines one on the top and one on the buttom, alpha blending of the subpic and video frame can be done on a relatively small area.
2).No full subpic rgb to yuv convertion. Subpics are drawed in yuv/rgb directly, unlike vsfilter which always draw subpics using rgb and do yuv convertion afterwards (if necessary), so the overhead of rgb to yuv convertion is avoided.
3).Cache of intermedia data. Crucial to speed up rendering of animated effect. But the downside is memory load increased.
4).More efficient blur code(stealed from libass).
On my system (win7+i5-2410+2G ram), simple test shows that it outperforms both threaded-vsfilter and mpc-hc built-in sub renderer.
3.Speed up when loading big ass file (with tens of thousands of line).
4.BT709 support.
--------------------------------