Quantcast DVD2SVCD: Transcode an AVI to KSVCD with Subtitles - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #21  
10-12-2003, 01:43 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
....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.....
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
  #22  
10-12-2003, 03:28 PM
staigerpaip staigerpaip is offline
Free Member
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #23  
10-12-2003, 03:52 PM
staigerpaip staigerpaip is offline
Free Member
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #24  
10-12-2003, 04:50 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #25  
10-12-2003, 05:13 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #26  
10-12-2003, 05:15 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #27  
10-12-2003, 05:31 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
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).
Reply With Quote
  #28  
10-12-2003, 05:40 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
Just one final report before I go to sleep.........

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

......almost there
Reply With Quote
  #29  
10-13-2003, 06:09 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
The errormessage about the video res was due to wrong script syntax on my part (forgot the " in textsub("subfile.srt" line)

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 ?)
Reply With Quote
  #30  
10-13-2003, 06:33 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 Paulus
The errormessage about the video res was due to wrong script syntax on my part (forgot the " in textsub("subfile.srt" line)

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%)
Reply With Quote
  #31  
10-13-2003, 07:12 AM
staigerpaip staigerpaip is offline
Free Member
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
@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)
Reply With Quote
  #32  
10-13-2003, 07:20 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 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 ?
Reply With Quote
  #33  
10-13-2003, 07:25 AM
staigerpaip staigerpaip is offline
Free Member
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #34  
10-13-2003, 07:27 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Some TV set have a "sharpen" settings. You should perhaps check this point in the setting menu (or in the picture properties).
Reply With Quote
  #35  
10-13-2003, 07:29 AM
staigerpaip staigerpaip is offline
Free Member
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #36  
10-13-2003, 08:43 AM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
@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...
Reply With Quote
  #37  
10-13-2003, 12:21 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Reply With Quote
  #38  
10-13-2003, 12:44 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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 ?
Reply With Quote
  #39  
10-13-2003, 12:56 PM
Paulus Paulus is offline
Free Member
 
Join Date: Jun 2003
Location: Ottersum, The Netherlands
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #40  
10-13-2003, 01:25 PM
staigerpaip staigerpaip is offline
Free Member
 
Join Date: Oct 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
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.....
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Lossless transcode from KVCD to KSVCD? fingerbob Video Encoding and Conversion 2 09-22-2004 07:45 PM
DVD2SVCD: Subtitles using Vobsub DiCE Video Encoding and Conversion 43 07-11-2004 10:56 AM
issues with getting SVCD subtitles to work when using KSVCD? Aemon Subtitles 1 12-19-2003 05:12 PM
DVD2SVCD: Problem with subtitles jeje Video Encoding and Conversion 1 09-13-2003 01:32 PM
DVD2SVCD: Help with subtitles t1955feb Video Encoding and Conversion 2 09-07-2003 12:27 PM




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