PDA

View Full Version : vsfilter + ass + Custom Fonts


SpAwN_gUy
6th June 2007, 16:10
well, i've been trying to find some info about vsfilter usage... but only thing i've found that there is one param. Like "input file".

okay, i'm using x264farm... and agent-based encoding. so all the filters should be visible to all other PC's..
then.. lots of ass-Scrips have Custom fonts, and usually those custom fonts need to be installed to the system separately.. so theese fonts wolud be seen.
then. Haali media splitter somehow installs embeded in mkv fonts, so these fonts only need to be attached(and muxed) to MKV file.
then.. aegisub has "Font collector" (i dunno what does it do,.. but sounds interesting)

so my question is: how can i place some extended fonts near .avs script, so they would be recognized and showed on other NetworkPCs, so i could hardsub some advanced karaoke?

without installing those fonts on other mashines..

is it possible, or i'm willing the impossible(not programmed already)?

(well, i do know about partial encoding of opening,.. and then appending all parts togeter.. any other easy way?)

--------------------
UPD: Please read this again
Another question (about the same,.. but another).. Okay, if the first question cannot be done in easy way,..

i'm looking for a filter(and i'm short in traffic :( ) that can overlay some moving content (video, series of pictures, moving .gif) on another video source.. but not all the time of the source(like few secs in the beginning,.. an then 30 minutes after) and with some alignment.. and transparency (like to write a script and feed it to this filter)
and not using AfterEffects or some another advanced video production program

'cause ssa-option "picture" does not work at all(as it should be,.. and written in specs) and the only way to insert some piture to .ass is to create a custom font with pictures you want,... and then attach it..

DarkT
6th June 2007, 22:01
Unless I'm mistaken(I'm mostly mistaken BTW) - AegiSub can attach fonts to a .ass file, no?

foxyshadis
7th June 2007, 02:05
Not to an .ass, but you can mux them into an mkv, and if the splitter supports it (iirc haali's does) you can access them without needing them installed.

But from textsub, I don't know if there's any way to access a font without installing it. Hmm. Worth checking the source, but I think it loads all fonts from the system.

Edit: Yes, it uses a system call to load the font. I have no idea of the specific search path windows uses, but it may only load it from the font folder.

Harukalover
7th June 2007, 02:49
Yes Aegisub does allow you to attach the font to an .ass script. But it's only useful for transferring among people as one file or for importing into mkvmerge. (mkvmerge will extract the font from the .ass script and attach it)

Also it only supports attaching .ttf fonts.

SpAwN_gUy: You likely will have to install the fonts no matter what you do. Since for most "advanced" karaokes they must be hardsubbed onto the video since VSFilter won't be able to render it in realtime.

SpAwN_gUy
7th June 2007, 09:33
Yes Aegisub does allow you to attach the font to an .ass script. But it's only useful for transferring among people as one file or for importing into mkvmerge. (mkvmerge will extract the font from the .ass script and attach it)so, you mean it copy's font to folder, where .ass located? .. or Aegi muxes it into .ass-file.. ???
SpAwN_gUy: You likely will have to install the fonts no matter what you do. Since for most "advanced" karaokes they must be hardsubbed onto the video since VSFilter won't be able to render it in realtime.yes i do know that... 'cause recently i had p4-1,7/1Gb-RAM .... and just simple rotating slowed down output.. hm.. a lot (HDTV source + .ass).. (well now i do have my Core2 Duo ;) .. but not evry one has it..)
Edit: Yes, it uses a system call to load the font. I have no idea of the specific search path windows uses, but it may only load it from the font folder.
okay,.. is it possible to add this support to vsfilter? ... to load fonts from the folder of the script.. who is supporting this filter? 'cause I haven't seen gabest for a long time :)
Not to an .ass, but you can mux them into an mkv, and if the splitter supports it (iirc haali's does) you can access them without needing them installed.and for now,.. i'm only thinking to hardsub opening(or Ending) to huffyuv(or another lossless codec) and then trim(inject) this part to final script,... i guess it would be easyer

/me thinks about where he will get so much space for his needs.. :(

SpAwN_gUy
7th June 2007, 09:56
Another question in the first post... please read again :)

thanks in advance

Valeron
7th June 2007, 11:12
the "picture" event had never been implemented into vsfilter's ass rendering engine.

u should try the "overlay" filter in AVS.

Harukalover
8th June 2007, 21:26
so, you mean it copy's font to folder, where .ass located? .. or Aegi muxes it into .ass-file.. ???

Aegisub encodes it as part of the .ass script. Using UUencoding.

I'm not sure if VSFilter will be able to completely parse it and let you hardsub it without having the font installed. But it's worth a try.

foxyshadis
9th June 2007, 02:19
Very cool, I never knew ASS had been extended to support font embedding. I thought [Fonts] did something entirely different.