Log in

View Full Version : Divx and Subtitles


CrazyPortuguese
5th January 2003, 04:01
I would like to sugest a new feature why not introduce a way to compress from a divx source and to have subtitles from *.sub file or something like that.

UltimateDBZ
5th January 2003, 08:28
o_O

:confused:

manono
5th January 2003, 09:13
Hi-

o_O Hehe.

You can already create SVCDs from a DivX .avi source. That's the AVI2SVCD portion of the program. As for the subs, you take the .sub file and convert it to .srt or .ssa format. Then you can use the TextSub Plugin for AviSynth to add them to your .avs for putting on the video. A search will turn up more information.

Plantaman
5th January 2003, 22:28
I did a search awhile back, on the same matter, and yes, there is that way, which envolves editing the avisynth file, and using the textsub plugin.

After many failed attempts, I eventually gave up, and went back to reencoding the movie with subs in virtualdub, and then using D2S.

It WOULD be most welcome a feature which would allow us to load the movie, load the subtitles (*.sub, *.ssa, *.srt, *.txt), define the fps, and go to bed. :)

Thanks

CrazyPortuguese
6th January 2003, 04:51
Yeah it was exacly that I was sugesting :)
I already know that dvd2svcd has divx to svcd compression.

Zoltan
6th January 2003, 08:39
@CrazyPortuguese:

Since textsub.dll is an Avisynth filter and the user interface of filter configuration is driven by dvd2svcd.ini, I suggest you insert this into your program files\dvd2svcd\dvd2svcd.ini file:

[AVISYNTH_BicubicResize-TemporalSmoother-TextSubs]
0=LoadPlugin(!textsub.vdf)
1=textsub(!file.sub)
2=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
3=AddBorders(0,^BorderTop,0,^BorderBottom)
4=TemporalSmoother(^Strength,^Radius)
!textsub.vdf=C:\Program Files\Gabest\VobSub\textsub.vdf
!file.sub=D:\Video\Snatch\Snatch.sub
^b_value=0.0
^c_value=0.6
^Strength=2
^Radius=1
[AVISYNTH_BicubicResize-TextSubs]
0=LoadPlugin(!textsub.vdf)
1=textsub(!file.sub)
2=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
3=AddBorders(0,^BorderTop,0,^BorderBottom)
!textsub.vdf=C:\Program Files\Gabest\VobSub\textsub.vdf
!file.sub=D:\Video\Snatch\Snatch.sub
^b_value=0.0
^c_value=0.6

It worked for me for *.sub files too. To format the subs (fonts etc.), right click the *.sub file and start the appropriate utility that registered itself in the context menu (cannot remember by heart). It came with Vobsub.

P.S.: This topic has been covered by the Advanced forum's sticky so if in doubt, refer to that.

Regards,
Z