digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   DVD2SVCD: transcode an Avi to KSVCD with subtitles (http://www.digitalfaq.com/archives/encode/6008-dvd2svcd-transcode-avi.html)

Paulus 10-12-2003 01:43 PM

....hmmm.......correction....

cannot find "SubResync" anywhere (google + various DivX portals) . I thought I found it but it was SubSynch (I already have it).

If anybody (Payasa, where are you .....? :-) ) has a link I appreciate it very much.....

staigerpaip 10-12-2003 03:28 PM

Subresync
 
It's a little typo... Programme is called Subresync and is part of Vobsub. If you install Vobsub you can choose to also install a couple of utils. Here you can choose for SubResync.

Then if it works (It works for me), there still is a problem with te sizing of the subs. IF you put the textsub filter at the bottom of the script, it's after the gipborders. So the subtitle is put in normal, while the movie is in cvd resolution. PLayback on a dvd player expands the horizontal width so the subs are expanded. I'm figuring thisone out right now. If I find a sollution i will post it (if you find it.... please do).

En de groeten aan Tante Ans uit het oosten....

Tinus

staigerpaip 10-12-2003 03:52 PM

Problem solved
 
Edit the added .srt.style file. and change the scaleX value to 55. It scales the horizontal value to 55%. (352 (CVD) / 640)*100%=55%

Greets,

Tinus

Paulus 10-12-2003 04:50 PM

Boy I feel stupid.......I can't get a .style file ("open srt in SubreSync and save it without changing anything") ???? -> searching the net for solution/guid.......if someone can point me in the right direction.....



@Staigerpaip/Tinus

Do your settings also work with SVCD resolution ?

Groeten terug van Tante Ans :o

Paulus 10-12-2003 05:13 PM

Sorry.....I have a .style file now and changed settings for scaling to 75% and Vertical position to 5 (suggested by Dialhot).

If it doesn't work I try your settings staigerpaip (I'm making an SVCD right now, now CVD so I'm not sure your settings are OK for me.).

So If I edit the script before encoding the video and add the textsub line at the end of the scipt it should work right ?

Running encode now. Tomorrow I know more :)

Dialhot 10-12-2003 05:15 PM

There is a generic style file I use. Just save it with name "subtitle.srt.style" (if subtitle filename is "subtitle.srt")

You don't have anything to change if you use SVCD as this file is for VCD and aspect ratio is the same for SVCD and VCD.

Code:

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,10,1


Paulus 10-12-2003 05:31 PM

Thanks Phil ! This is a good idea.

Running encode now with your file.....

One question -> is scaling nog neccesary for the fontsize do you think (reading a lot of stuff about fontsizes comming out to big without scaling).

Paulus 10-12-2003 05:40 PM

Just one final report before I go to sleep.........

I'm getting "Illegal video resolution errormessage" from TMPG. 8O

......almost there :?

Paulus 10-13-2003 06:09 AM

The errormessage about the video res was due to wrong script syntax on my part (forgot the " in textsub("subfile.srt" line) :oops:

I encoded using the textsub line in script with .style file but playing the muxed.mpg file in PowerDvd still shows the subs too low in the bottom black bar of the movie (using MarginV=10). I can try with 5 ??

Is the .style file automatically used by Avisynth when it is in the same directory as the .srt file ?)

Dialhot 10-13-2003 06:33 AM

Quote:

Originally Posted by Paulus
The errormessage about the video res was due to wrong script syntax on my part (forgot the " in textsub("subfile.srt" line) :oops:

I encoded using the textsub line in script with .style file but playing the muxed.mpg file in PowerDvd still shows the subs too low in the bottom black bar of the movie (using MarginV=10). I can try with 5 ??

Is the .style file automatically used by Avisynth when it is in the same directory as the .srt file ?)

VSFilter.dll use it automatically. And yes you can try with margin=5, or even margin=3 but in this case, reduce the size of the font (or the scaleX and scaleY parameter to let say 90%)

staigerpaip 10-13-2003 07:12 AM

scaling
 
@Paulus

Quote:

Do your settings also work with SVCD resolution ?
Yes they do, you have to devide different 480/640*100%. You have to scale horizontal to 55%.

The problem I still have is the quality of the subs after encoding. The font is a little bit blurry/distorted. It's not really bad, but i'm a perfectionist (and the fun part for me is to figure out all kinds of things with (k)vcd making). So i'm working on that one.

Good luck,

Tinus (Staigerpaip)

Dialhot 10-13-2003 07:20 AM

Re: scaling
 
Quote:

Originally Posted by staigerpaip
The problem I still have is the quality of the subs after encoding. The font is a little bit blurry/distorted. It's not really bad, but i'm a perfectionist (and the fun part for me is to figure out all kinds of things with (k)vcd making). So i'm working on that one.

Do you have Textsub as very last line of your script or do you have some filters after it ?

staigerpaip 10-13-2003 07:25 AM

I made sure it is on the last line, in the past I had also troubles with the subs because of that. In preview it looks ok , but the problem comes if you view it on television.

Dialhot 10-13-2003 07:27 AM

Some TV set have a "sharpen" settings. You should perhaps check this point in the setting menu (or in the picture properties).

staigerpaip 10-13-2003 07:29 AM

Ok, thanks.

Will try that one when I'm home. I will also try the kvcd on a different tv/dvd set to make sure it's not my set.

Tinus

Paulus 10-13-2003 08:43 AM

@staigerpaip

Following your formula (480/640) I get 75 % (which I read in other thread as well). -> by the way what is the syntax of this formula (where does the "640" value come from ?).

@Dialhot
I try Vertical postion "5" for test later today (when I'm at home). I hope it works, because the "10" setting (default = 20) did nothing for position in my endresult but we see that later today...

Paulus 10-13-2003 12:21 PM

Well.......I am puzzled once more..... :?

I used 75 for ScaleX and 5 for the MarginV but subs showed up in Tmpeg all the way at the very bottom of the black bar so I've stopped encoding.

Hope one of you still has a suggestion...

Dialhot 10-13-2003 12:44 PM

What is the estention of your subtitles ?

srt oy ssa ? Or other thing perhaps.

Can you copy there the first lines of the subtitle file please ?

Paulus 10-13-2003 12:56 PM

Phil,

I have a .srt file.....

Below are the first lines of the .srt file contents.

PS: I'm using D2S 1.2.1. B2. That is OK isn't it ?



----------

1
00:01:24,247 --> 00:01:25,919
Kijk uit.

2
00:01:58,524 --> 00:02:00,594
jochie ?

3
00:02:15,083 --> 00:02:17,391
Wat is er gebeurd ?

4
00:02:21,522 --> 00:02:24,832
Help. Help ons.

5
00:02:40,321 --> 00:02:42,788
Alles komt goed.

staigerpaip 10-13-2003 01:25 PM

If you name you're subtitle file "subtitle.srt" and create a file subtitle.srt.style and past this script in it:
Code:

ScriptType: v4.00+
PlayResX: 380
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,16,&H00ffffff,&H00808080,&H00000000,&H80000000,0,0,0,0,55,100,0,0.00,1,1,2,2,20,20,17,1

Your subs should be in the right place. A MarginV of 5 is to small. Your subs will be displayed only 5 pixels (I think it's pixels) of the border. So try 20 (I used 17 in the style file).

Succes.....


All times are GMT -5. The time now is 03:29 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.