Log in

View Full Version : Vobsub or TextSub and Trim !


Dark-Cracker
29th December 2002, 19:00
Hi,

does it exeiste a possibility to only display a part of the subtitle ?
in fact for exemple if u use a trim function in your avs script u have somethink like :

clip=mpegsource(.....)
clip1=clip.trim(0,1000) #movie part
clip2=clip.trim(1001,0) #credits part
#--- movie filtering
clip1=lanczos3resize(...)
clip1=convolution3d(...)
clip1=vobsub(....)
#--- credit filtering
clip2=temporasoften(..)
clip2=bilinearresize(...)

return clip1+clip2

unhappyly u can't use vobsub in the credits part because if u put again the line vobsub... the subtitle restart at the first line in the subtitles. doest it exest a possibility to keep the subtitles in the credits ? i could put the subtitle directely in the clip2 at the start : Clip2=(Vobsub(clip,....).trim(1001,0) but the subtitles will be filtered :( does it exist a possibility to specify the start frame for the subtitles :

perhaps somethink like :

clip1=vobsub(...,0)
clip2=vobsub(...,1001)

and the same for textsub ?

Bye.

bilu
30th December 2002, 12:44
I use Vobsub with trim on my scripts. Just use trim AFTER vobsub :D