Quantcast Avisynth with Subtitles? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
03-05-2003, 03:46 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
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!
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-05-2003, 04:07 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Go to doom9.org and download vobsub.

-kwag
Reply With Quote
  #3  
03-05-2003, 04:31 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
I only have a .sub or .srt files...
Reply With Quote
  #4  
03-05-2003, 09:27 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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")
Reply With Quote
  #5  
03-05-2003, 10:24 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Thanks, I´ll give it a try!
Reply With Quote
  #6  
03-06-2003, 01:05 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Thanks it works! Does it matter where in the script I put it, in the end maybe?
Reply With Quote
  #7  
03-06-2003, 02:54 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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

-kwag
Reply With Quote
  #8  
03-06-2003, 04:52 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Thanks, I will!
Reply With Quote
  #9  
03-06-2003, 06:40 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Put it right after your GripSize
I like to put it right before the resizer.

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.
Reply With Quote
  #10  
03-06-2003, 10:32 PM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Ok, I´ll try that!
Reply With Quote
  #11  
03-24-2003, 10:32 AM
boeddha boeddha is offline
Free Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #12  
03-24-2003, 03:49 PM
JoZ JoZ is offline
Free Member
 
Join Date: Mar 2003
Location: ntsc .us
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
Quote:
Originally Posted by kwag
Put it right after your GripSize
I like to put it right before the resizer.

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.
Reply With Quote
  #13  
03-25-2003, 09:28 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
I followed this great guide to add sub. srt. smi. bla bla bla

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

It Works
Reply With Quote
  #14  
03-26-2003, 08:44 AM
Valky Valky is offline
Free Member
 
Join Date: Feb 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
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..
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
MencodeME: Subtitles whithout Avisynth ? TheMarto Video Encoding and Conversion 5 09-17-2004 08:24 PM
Subtitles: Vobsub for Avisynth 2.5? TBO Subtitles 8 08-15-2003 11:50 AM
Subtitles: VobSub for AVISynth 2.25? TLTw Subtitles 2 07-16-2003 11:40 PM
Avisynth: add subtitles with the new adaptive script? audioslave Avisynth Scripting 13 06-18-2003 12:26 PM
Subtitles with Avisynth and TextSub, error! Wolfi Avisynth Scripting 1 02-20-2003 07:13 PM




 
All times are GMT -5. The time now is 06:49 AM  —  vBulletin © Jelsoft Enterprises Ltd