digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth with Subtitles? (http://www.digitalfaq.com/archives/avisynth/2873-avisynth-subtitles.html)

CheronAph 03-05-2003 03:46 PM

Avisynth with Subtitles?
 
Can I put subtitles in the script somehow, IŽm putting the subs like this now, http://www.afterdawn.com/articles/archive/divx_to_vcd.cfm
With that method I canŽt use scripts, help!

kwag 03-05-2003 04:07 PM

Hi CheronAph,

You can use VobSub for that. What you do is you run "VobSuB Configure", and open your .IFO file. Then it creates a subtitle file. Then just add a line to your .avs script :D
Go to doom9.org and download vobsub.

-kwag

CheronAph 03-05-2003 04:31 PM

I only have a .sub or .srt files...

muaddib 03-05-2003 09:27 PM

Quote:

Originally Posted by CheronAph
I only have a .sub or .srt files...

These are text sub files. You can use them with VobSub too.
Edit them (size/color/font/etc) with SubResynch,
and load the correct plugin in your script... like this:

Code:

LoadPlugin("D:\FiltersDir\textsub.vdf")
(...)
TextSub("D:\MyMovies\MySub.sub")


CheronAph 03-05-2003 10:24 PM

Thanks, IŽll give it a try!

CheronAph 03-06-2003 01:05 PM

Thanks it works! Does it matter where in the script I put it, in the end maybe?

kwag 03-06-2003 02:54 PM

Quote:

Originally Posted by CheronAph
Thanks it works! Does it matter where in the script I put it, in the end maybe?

Put it right after your GripSize :wink:

-kwag

CheronAph 03-06-2003 04:52 PM

Thanks, I will!

muaddib 03-06-2003 06:40 PM

Quote:

Originally Posted by kwag
Put it right after your GripSize :wink:

8O I like to put it right before the resizer. :idea:

This way, after I configure the size and position the subtitles should be, I can change the resolution that it will always be in the correct place and size. The other way, if you change the resolution, you'll have to reconfigure the subtitles.

Edit: That could be a problem if you are using GripFit, cause if your movie is widescreen and you place the subtitles at the blackbars, GripCrop will cut the blackbars and cut your subtitles with it. To avoid this you have to put the subtitle filter after the GripBorders.

CheronAph 03-06-2003 10:32 PM

Ok, IŽll try that!

boeddha 03-24-2003 10:32 AM

I also wanted to put in Subs so I tried textsub and it worked.

But now a day later I made another script for a different movie and the sub don't show.

So I tried the script from yesterday but now this one also don't shows the subs. I don't get an error or something, the subs just don't appear.

If tried to uninstal and reinstal vobsub but this doesn't matters.

My script looks like:

#=============================================#
# -= AviSynth script by MovieStacker v1.1.1 =- #
#=============================================#

LoadPlugin("C:\Mijn documenten\Programma's\MovieStacker\Filters\MPEG2D ec.dll")
LoadPlugin("C:\Mijn documenten\Programma's\MovieStacker\Filters\Tempor alCleanerOld.dll")
LoadPlugin("C:\Mijn documenten\Programma's\MovieStacker\Filters\BlockB uster.dll")
LoadPlugin("C:\Mijn documenten\Programma's\MovieStacker\Filters\DustV5 .dll")
LoadPlugin("C:\Mijn documenten\Programma's\MovieStacker\Filters\LegalC lip.dll")
LoadPlugin("C:\Mijn documenten\Programma's\MovieStacker\Filters\Sample r.dll")
LoadPlugin("C:\Program Files\Gabest\VobSub\textsub.vdf")

AviSource("C:\Mijn documenten\The Sweetest.avi")
LegalClip()
TextSub("C:\Mijn Documenten\ondertitels\The Sweetest.ssa")
BilinearResize(336, 174, 14, 0, 548, 320)
SpaceDust()
TemporalCleaner()
BlockBuster(method="noise", variance=0.6, seed=1)
AddBorders(8, 33, 8, 33)
LegalClip()

Can someone help me pleae?

JoZ 03-24-2003 03:49 PM

Quote:

Originally Posted by muaddib
Quote:

Originally Posted by kwag
Put it right after your GripSize :wink:

8O I like to put it right before the resizer. :idea:

This way, after I configure the size and position the subtitles should be, I can change the resolution that it will always be in the correct place and size. The other way, if you change the resolution, you'll have to reconfigure the subtitles.

Edit: That could be a problem if you are using GripFit, cause if your movie is widescreen and you place the subtitles at the blackbars, GripCrop will cut the blackbars and cut your subtitles with it. To avoid this you have to put the subtitle filter after the GripBorders.

muaddib,

do you think is a good idea to insert a check box for subtitles in next
moviestacker edition? Maybe to be able to browse them too...

For now to avoid croping subs I'm using moviestacker to create avs script
and after that depends on what type of subs I have, I'm using vdub
to load avs generated from moviestacker adding filters for the right type
subs and after that frameserving to tmpgenc. Works just fine.

Wolfi 03-25-2003 09:28 AM

I followed this great guide to add sub. srt. smi. bla bla bla :arrow:

http://www.dvdrhelp.com/forum/userguides/87065.php#4

It Works :!:

Valky 03-26-2003 08:44 AM

For me the easiest way has always been to load gabest vsfilter.dll and add this plugin to your avisynth script. This works great at least with srt files ripped with SubRip-software.

LoadPlugin("c:\avs\simpleresize.dll")
LoadPlugin("c:\avs\vsfilter.dll")




SimpleResize(640,352)
TextSub("c:\subtitles\Titanic.srt")


Usually I config these srt files little bit vith vobsub's subresynch so that they are little bit lower than they default are. So I change the bottom value from 20 to 5 with subresynch that can be found at start/programs/vobsub..


All times are GMT -5. The time now is 04:14 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.