Tell you how? Open Aegisub and also open your audio in it. Write in your lines of dialog and use the audio to synch it. Save it and load the VSFilter.dll in your script with a line somewhere:
TextSub("C:\Path\To\Subtitle.ass")
Check out the video and subs in VDub(Mod) and go back and adjust whatever needs adjusting until you get it right.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 31 to 40 of 40
Thread
-
-
so just to clarify..this script will let you cut up an m2t/m2ts file with dissolves without re-encoding?
-
the moment I pushed the reply button I knew it was a dumb question..but my internet connection was acting up and didn't allow me to come back and defend my honor! . I'll bow out now...
-
Aegisub works, but when the *.avs file is inserted into VDub, both the Blankclip and the Aegisub subtitles are jumbled together and out of synch, even though I adjusted them both just right. See my code and the end result.
Code:Clip1=DirectShowSource("F:\Clip 1.m2t") TextSub(F:\Clip 1 subtitles.ass) Blankclip(last, length=100).Subtitle("Text Goes Here", size=38, align=5)++last Clip2=DirectShowSource("F:\Clip 2.m2t") TextSub("F:\Clip 2 subtitles.ass") Blankclip(last, length=100).Subtitle("Text Goes Here", size=38, align=5)++last
Question:
1. How do keep the Aegisub subtitles from interfering with my Blankclip subtitles?
2. How do I make the Aegisub subtitles in synch when playing/encoding in VDub?Last edited by PapaDmitry; 29th Jun 2010 at 21:17.
-
-
That can't be your actual script - the first TextSub has no input clip to work on ('last' has not yet been set), and there are missing quotes on the filename. In any case, your TextSub calls are not being associated with the correct clips. You want something like this:
Code:DirectShowSource("F:\Clip 1.m2t").TextSub("F:\Clip 1 subtitles.ass") Blankclip(last, length=100).Subtitle("Text 1 Goes Here", size=38, align=5)++last last++Blankclip(last, length=100).Subtitle("Text 2 Goes Here", size=38, align=5) last++DirectShowSource("F:\Clip 2.m2t").TextSub("F:\Clip 2 subtitles.ass")
-
I'm sure a syntax problem for me when trying to add a third clip with this code. VDub doesn't like the 6th line.
Code:DirectShowSource("Clip 031.m2t").TextSub("Clip 031 subtitles.ass") Blankclip(last, length=100).Subtitle("Some Text", size=38, align=5)++last last ++Blankclip(last, length=100).Subtitle("Some Text", size=38, align=5) last ++DirectShowSource("Clip 057.m2t").TextSub("Clip 057 subtitles.ass") last ++Blankclip(last, length=100).Subtitle("Some Text",size=38, align=5) last ++DirectShowSource("Clip 062.m2t").Trim(350,900).
Code:Clip1=DirectShowSource("Clip 031.m2t").TextSub("Clip 031 subtitles.ass") Clip2=DirectShowSource("Clip 057.m2t").TextSub("Clip 057 subtitles.ass") Clip3=DirectShowSource("Clip 062.m2t).Trim(350,900) trans1 = Blankclip(clip1, length=100).Subtitle("Some Text", size=58, align=5) trans2 = Blankclip(clip2, length=100).Subtitle("Some Text", size=58, align=5) trans3 = Blankclip(clip3, length=100).Subtitle("Some Text", size=58, align=5) trans1+clip1+trans2+clip2+trans3+clip3
-
-
Ok. It appears VDub really doesn't like Aegisub. The code I work with:
Code:Loadcplugin ("C:\Program Files\AviSynth 2.5\plugins\yadif.dll") DirectShowSource("Clip 069.m2t") Blankclip(last, length=100).Subtitle("Jud, North Dakota, City of Murals", size=58, align=5)++last last ++DirectShowSource("Clip 070.m2t").Trim(30,282) last ++DirectShowSource("Clip 071.m2t") last ++DirectShowSource("Clip 074.m2t") last ++DirectShowSource("Clip 075.m2t").TextSub("Clip 75 subtitles.ass") last ++DirectShowSource("Clip 077.m2t").TextSub("Clip 77 subtitles.ass") last ++DirectShowSource("Clip 079.m2t") last ++DirectShowSource("Clip 080.m2t").TextSub("Clip 80 subtitles.ass") last ++DirectShowSource("Clip 082.m2t") last ++DirectShowSource("Clip 084.m2t").TextSub("Clip 84 subtitles.ass") last ++DirectShowSource("Clip 087.m2t") last ++DirectShowSource("Clip 089.m2t").TextSub("Clip 89 subtitles.ass") last ++DirectShowSource("Clip 094.m2t").Trim(0,250) last ++DirectShowSource("Clip 095.m2t") last ++DirectShowSource("Clip 096.m2t").Trim(600,834).TextSub("Clip 96 subtitles.ass") BicubicResize(1280,720) yadif()
It used to work earlier without Aegisub. It managed to render once actually, but the rendered file was poor quality: jerky, skipped frames, repeated frames, subtitles not aligned with video. Does this have to do with insuficient resources: Pentium 4 3.2 GHz, 3.5 Gb RAM? I noticed a significant VDub performance drop after I began using Aegisub.
So will be going back to the native built-in Subtitle command in AviSynth.Last edited by PapaDmitry; 6th Jul 2010 at 10:30.
Similar Threads
-
Trimming with Avisynth: An exploration
By Krelmaneck in forum EditingReplies: 2Last Post: 22nd Oct 2010, 12:20 -
AviSynth Splicing Problems
By legocrazy1 in forum EditingReplies: 7Last Post: 13th Jul 2010, 23:15 -
splicing HD and SD formats together with AviSynth
By PapaDmitry in forum EditingReplies: 2Last Post: 5th Jul 2010, 05:25 -
Trimming the audio to go along with the video cuts in avisynth?
By mt123 in forum Newbie / General discussionsReplies: 0Last Post: 10th Jan 2010, 03:23 -
AVISynth splicing many AVCHD clips - is it possible?
By Redrussky in forum Video ConversionReplies: 4Last Post: 4th May 2008, 18:18