09-28-2003, 04:58 PM
|
Free Member
|
|
Join Date: Sep 2003
Location: Europe
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm using subtitles (srt) with my movies. So I add the Textsub("(url to subtitle)") line manually in the avs scripts that I use. I'm using Avisyth 2.52...
I have no problems adding the subtitles, but have one problem: when I add this line before the resize lines, the subs are in the right aspect ratio, but can't be placed in the black borders. To be able to place them in the black borders, I have to add the line after the resizing lines. Now I have the real freedom of where to place the subs, but have one big disadvantage: they are in the wrong aspect ratio....
When I start tmpgenc and first select a movie (not a avs script), then a kvcd script, I can place the subs everywhere i want. From the black borders, to the movie, to even the top-borders. The subs are also always in good aspect ratio. Problem with this method is that I can't use the avisyth scripts....
My question is: can I place subtitles in the black borders, use avisuth scripts AND have the subs displayed in the right aspect ratio?
Thanks a million for the help
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
09-29-2003, 02:22 AM
|
Free Member
|
|
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes, you can name your .srt file the same as the .avs file and then VobSub appears during the encoding and you can place the subs where you want (I think that's what you do when it's not .avs, so you can use .avs too but just set the same name as the subtitles-file )
|
09-29-2003, 02:45 AM
|
Free Member
|
|
Join Date: Sep 2003
Location: Europe
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thanks for the suggestion.... but it didn't work.... when I load the avs file in tmpgenc, vobsub gets loaded, but the whole movie looks corrupt: heavy interlacing, up-side-down, subs in weird colours, screen split in two: right side black with nothing, left side divided in three with two versions of the movie....
Weird problems... Without renaming the srt file to the same name as the avs file, it all worked like a charm. So it shouldn't be the script..
However, from what I could see, the subs were placed somewhere in the black area, so with a bit of tuning we might have the ultimate sollution
|
09-29-2003, 03:24 AM
|
Free Member
|
|
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Oh yes, you are right, there are problems with vobsub and .avs
Then why don't you convert the .srt file to .sub? This way the subtitles are shown well. Or if you want to put them exactly on the black borders you can convert them to .ssa, I use the program sub2ssa and in this program you can define how far the subtitles will be displayed from the bottom.
|
09-29-2003, 06:37 AM
|
Free Member
|
|
Join Date: Sep 2003
Location: Europe
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
No
.sub, .srt, .ssa ....... as soon as I open tmpgenc and load the avs, vobsub gets loaded and I get this screen:
It's pretty weird, considering that Tempgenc has no problem adding the subs using an avi as source, or a avs (when the sub-line is added to the script)...
|
09-29-2003, 06:41 AM
|
Free Member
|
|
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
If you are on AviSynth 2.52, you need to use a filter called VSFilter.dll which houses VobSub.
__________________
j3llyG0053
|
09-29-2003, 06:49 AM
|
Free Member
|
|
Join Date: Sep 2003
Location: Europe
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Jellygoose
If you are on AviSynth 2.52, you need to use a filter called VSFilter.dll which houses VobSub.
|
I have the .dll..... I have no problems with creating files with subtitles, whether it's with an avs or an avi. The only problem is that I want to put the subs in the black border, using an avs and have no aspect-ratio problems with the subs...
|
09-29-2003, 11:58 AM
|
Free Member
|
|
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ok, I see your problem, however, I haven't seen that kind of problem with any of my encodes. I just thought you might still be using the old VobSub.dll...
__________________
j3llyG0053
|
09-29-2003, 01:28 PM
|
Free Member
|
|
Join Date: Sep 2003
Location: Europe
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
So you have -for example- made a script called movie.avs, and you have a movie.srt file in the same directory? And when you load the avs in tmpgenc, the subs are placed in the black bar of the movie?
|
09-30-2003, 03:35 AM
|
Free Member
|
|
Join Date: Sep 2003
Location: Europe
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Allrighty
After searching on a whole bunch of terms on this messageboard last night, I found the sollution. Use the .srt.style file to change the ScaleX. Just divide (source Xscale / (S)KVCD Xscale) and you'll have the right number that you've got to add to the .srt.style file. Now you can add the TextSub("(link to your subtitle file)") line in the avs script, after the resize line. So you can place the subs in the black border, use AVS scripting and maintaining the right aspect ration for the subtitles.
http://www.kvcd.net/forum/viewtopic.php?t=4935
|
09-30-2003, 05:32 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@TCB
Could you please show exactly what you did to get this to work? I've been trying to put the subs in the black borders myself (with .srt files) but I ended up with the EXACT same picture that you posted earlier. So, what I need to know is what numbers you changed, on what file you changed them, and how you came up with these new numbers.
I thank you in advance!
__________________
AudioSlave
|
10-01-2003, 12:40 AM
|
Free Member
|
|
Join Date: Sep 2003
Location: Europe
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sure... I'll work on a small step-by-step today... I'll post it later today
|
All times are GMT -5. The time now is 06:43 AM — vBulletin © Jelsoft Enterprises Ltd
|