Log in

View Full Version : Some text subtitle plugin working in YUY2 ?


BanaSplit
5th October 2002, 10:43
Hi,
I'm new here and hope you could help me. I want to insert text subtitles (.sub or .ssa) via AviSynth into some movies. I tried the textsub.vdf plugin from the VobSub package and Avery Lee's subtitler plugin but both work only in RGB colorspace for me. As the colorspace conversions slow down encoding by 25% I wondered if there's a plugin working in YUY colorspace. Or did I make something wrong?

TIA !

Greetz

gabest
5th October 2002, 13:03
textsub.vdf works on yuy2

kyousuke
6th October 2002, 13:57
i've a problem with avs 2.06

textsub don't want to work with me.

here my script :

LoadPlugin("G:\__ENCODING__\VobSub\textsub.vdf")
TextSub("G:\__ENCODING__\_plop_\plop.ssa"[,default[,23.976]])

and it don't work, avs returned me that :
Avisynth opening failure :
unexpected character "["

so i tried this :
TextSub("G:\__ENCODING__\_plop_\plop.ssa",[default,[23.976]])
and this :
TextSub("G:\__ENCODING__\_plop_\plop.ssa",[default],[23.976])

nothing works, i don't understand. (so i have old filters wich don't works with this build, i understand nothing.......)

HELP ME !
thanks

gabest
6th October 2002, 14:11
[...] means optional

Try:
TextSub("G:\__ENCODING__\_plop_\plop.ssa",default,23.976)

or just simply:
TextSub("G:\__ENCODING__\_plop_\plop.ssa")

ssa doesn't need fps.

kyousuke
6th October 2002, 14:33
TextSub("G:\__ENCODING__\_plop_\plop.ssa") works

TextSub("G:\__ENCODING__\_plop_\plop.ssa",default,23.976) won't
avs returned me (i don't what "default" means)...

bizarre .....

gabest
6th October 2002, 14:45
Hehe, you need to replace that with a number for the character set. But again, in ssa you also have to set this in the style line, so it isn't needed either.

kyousuke
6th October 2002, 14:57
ok, i understand !
tha^bks you ^^

BanaSplit
7th October 2002, 17:25
@gabest:

Sorry for replying that late - had no time. You were right, textsub works in YUY2. It seems that MS MediaPlayer (6.4) which I used for checking the AVS-script has problems with displaying the subtitles. Either it displays no subtitles or now it displays them doubled. I checked then with VirtualDub and all was OK. Thanks for Your help anyway!

Greetz