Quantcast Adding Subtitle to .MPG - digitalFAQ.com Forums [Archives]
  #1  
09-11-2004, 05:06 AM
cyron cyron is offline
Free Member
 
Join Date: Sep 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cyron
i'v been reading all around the forum about ppl asking the same quastion but im kindda new at this and i didnt understand so sorry for asking again.

im using this french guide http://www.kvcd.net/forum/viewtopic.php?t=13391 to convert divx to mpg. but i dosent include adding subtitle, i wanted to know what is the easyest way to add subtitiles using this guide ?
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  
09-11-2004, 05:25 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi,
First let me tell you that although my French is a bit rusty I find that guide to be EXCELLENT.
Anyway your target seems to be KVCD.
If so, you have only one good method for adding subs to a kvcd movie.
The method is to add a filter to your avisynth plugins folder named VSFilter.dll and to add a line to
your script like TextSub("c:\mymovie\mymoviesubs.srt").
That is you'll have to find your movie's subs in subrip text format to use that or you may find it in other text
format and use Subtitle Workshop to convert to subrip format.
This way while you encode the movie with tmpgenc the subs will be hardencoded to your movie.
So if you already have an mpeg file you'll have to do it all over again to have subs.
There is another method called selectable SVCD/CVD subtitles but regularly standalone player are
only compatible with SVCD or CVD format, not both.
You'll have to find out which one your player is compatible with, if with any...
Just take the already encoded mpeg file and an srt text based subs file and use winsubmux.
If you have any specific doubts about any of these methods please let us know.
Cheers
__________________
Rui
Reply With Quote
  #3  
09-11-2004, 05:35 AM
cyron cyron is offline
Free Member
 
Join Date: Sep 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cyron
first BIG thanks for the help

two quastions:
1. where in the script should i add this line ?
2. whould the subtitles appear in the black lines of the movie ?
Reply With Quote
  #4  
09-11-2004, 05:43 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi ,
Just after your GripBorders() line.
You are using GripFit aren't you.
At least I think I recall seing it in the guide
Anyway if you're not you'll have an AddBorders(x,x,x,x).
Put if after adding the borders either with GripFit or AddBorders.
Cheers
__________________
Rui
Reply With Quote
  #5  
09-11-2004, 06:41 AM
cyron cyron is offline
Free Member
 
Join Date: Sep 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cyron
hi rui

this is the script, its v4 i think by dialhot:
AviSource("c:\kvcd\kvcd.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(HEIGHT, WIDTH, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
GripBorders()
TextSub("c:\mymovie\mymoviesubs.srt")

i add textsub just after gripborders.

this will give me subtitle in the black area ?
Reply With Quote
  #6  
09-11-2004, 06:46 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi cyron ,
If I recall it properly, that will give you half inside the movie are and half inside the borders area.
Don't recall what to do in order to get it only inside the black borders area...
Anyone?
Cheers
__________________
Rui
Reply With Quote
  #7  
09-11-2004, 09:01 AM
cyron cyron is offline
Free Member
 
Join Date: Sep 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cyron
hi rui

is there a way using the 'TextSub' to control the Font style or the Font size like doing in a ssa subtitle ?
Reply With Quote
  #8  
09-13-2004, 04:30 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You must create a ".srt.style" file.
Do a research in the forum, I explained that a lot (in DVD2SVCD forum for sure).
Reply With Quote
  #9  
09-18-2004, 03:45 PM
cyron cyron is offline
Free Member
 
Join Date: Sep 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cyron
i just need to add this:

Quote:
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,10,&H00ffffff,&H0000ffff,&H00000000, &H80000000,-1,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,1
as a mysub.srt.style

i can change fontname and fontsize ?
what is ScaleY and ScaleX ?
Reply With Quote
  #10  
09-18-2004, 05:46 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi cyron ,
If I'm not mistaken that is a VobSub sub file.
That I don't know how to tweak because it is not very well documented.
Or it is not documented at all...
If you use an srt file you can set the correct styles with subtitle workshop.
Though, these styles are inserted on a sub by sub basis and not for the whole subtitle file.
Give it a try.
Cheers
__________________
Rui
Reply With Quote
  #11  
09-19-2004, 04:55 AM
cyron cyron is offline
Free Member
 
Join Date: Sep 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cyron
thanks rds_corrieia, ill give it a try
Reply With Quote
  #12  
09-19-2004, 07:26 AM
cyron cyron is offline
Free Member
 
Join Date: Sep 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cyron
helo all

how exactly i change this using subtitle workshop:
1. fonttype ?
2. fontsyze ?
3. make the subtitles in the black area ?
Reply With Quote
  #13  
09-20-2004, 04:00 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Don't both with Subtitle Worshop ! The style file is all wha tyou need there !

ScaleX and ScaleY ARE the paremeters you need to change to modify the size of the subtitles. They are egual to (100,100) by default and represent the scale in % for both direction. If you want them smaller, put (75,75) for instance.

Fontsize does not have any influence has the real size is computed according to the resolution of the target.
Reply With Quote
  #14  
09-20-2004, 03:24 PM
cyron cyron is offline
Free Member
 
Join Date: Sep 2004
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to cyron
i use the v4 script for srt.style...

just wanted to know if i can chk if it works (font size and position)
befor start encoding ?

thanks
Reply With Quote
  #15  
09-20-2004, 05:43 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Sorry to both.
I mislead cyron a couple of posts above by saying that he was showing us a VobSub file when in fact that was an srt.style file.
Also I understood by style that cyron wanted underline/italic etc.
That doesn't seem to be the case in his question after all.
Cheers
__________________
Rui
Reply With Quote
  #16  
09-21-2004, 05:00 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by cyron
i use the v4 script for srt.style...

just wanted to know if i can chk if it works (font size and position)
befor start encoding ?

thanks
For sure : you can play the script in a media player or go in the preview feature of tmgpenc (menu file).
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtitles: Adding subs with acp rafa Subtitles 0 10-07-2003 04:37 PM
Permanent subtitle? Add subtitle into video? TBO Subtitles 4 08-02-2003 06:19 PM
DVD2SVCD: Adding all those filters? johneboy Video Encoding and Conversion 8 11-16-2002 08:53 PM
Adding Subtitles, what to use? pacodoni Subtitles 1 07-27-2002 07:08 PM
Adding Chapters to KVCD? Yoda Authoring VCD, DVD, Blu-ray 4 04-25-2002 12:37 PM

Thread Tools



 
All times are GMT -5. The time now is 05:00 AM  —  vBulletin Jelsoft Enterprises Ltd