Open GoogleCodeExporter opened 9 years ago
The good news is that xy-VSFilter around 2x faster than VSFilter 2.40 with the
sample.
The bad news is there is still indeed a lag, which appears to be caused by
rendering the extremely complex TrueType outlines of those fonts. Even
previewing those fonts in Windows caused around a second of lag.
I suspect something like a font cache would help, but even libass w/ it's font
cache seems to lag on the very first line when the fonts are initially loaded.
As of right now, YuZhuoHuang his no current plans implement a font cache, see
Issue #39 , but I've forwarded your sample to him. Maybe the outline cache
could be tweaked, who knows.
Workaround:
Use a video renderer like EVR-CP or madVR which can buffer frames.
With EVR-CP setting the EVR Buffers to 12 frames in MPC-HC seems to hide the
lagging effects.
With madVR, setting CPU Queue somewhere between 24 to 32 should hide the
lagging effects.
Depending on your system speed, you may need to tweak these numbers to fine the
optimal values.
> By the way: What is the unit for the Cache? kB?
It's the number of cache entries allowed. Amount of memory used by each cache
entry will vary based on what is being stored in the cache. The default values
should be fine for most people, unless you are working with complex karaoke
scripts made up of tens of thousands of lines. With the caches, a little goes a
long ways. When you increase the caches values, memory load will increase, so
it's not recommended to use really high values unless you notice a positive
effect from doing so.
Original comment by cyber.sp...@gmail.com
on 4 Jan 2012 at 4:38
Original issue reported on code.google.com by
Nolo...@gmail.com
on 3 Jan 2012 at 8:06