VideoHelp Forum
+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 40 of 40
Thread
  1. 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.
    Quote Quote  
  2. Member
    Join Date
    Oct 2004
    Location
    United States
    Search PM
    so just to clarify..this script will let you cut up an m2t/m2ts file with dissolves without re-encoding?
    Quote Quote  
  3. Originally Posted by greymalkin View Post
    so just to clarify..this script will let you cut up an m2t/m2ts file with dissolves without re-encoding?
    nope, when you use avisynth you have to re-encode - because it passes uncompressed audio/video

    (unless you mean you are just playing the .avs file)
    Quote Quote  
  4. Member
    Join Date
    Oct 2004
    Location
    United States
    Search PM
    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...
    Quote Quote  
  5. Member
    Join Date
    Sep 2009
    Location
    United States
    Search Comp PM
    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
    See the end result:


    Click image for larger version

Name:	jumbled subtitles.JPG
Views:	125
Size:	18.6 KB
ID:	2488
    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.
    Quote Quote  
  6. Originally Posted by PapaDmitry View Post
    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?
    1. Raise one or the other, perhaps using a different color.
    2. I think you changed the length with your Blank Clips. Extract the audio from the final version and use that to synch the subs.
    Quote Quote  
  7. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by PapaDmitry View Post
    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.
    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
    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")
    Quote Quote  
  8. Member
    Join Date
    Sep 2009
    Location
    United States
    Search Comp PM
    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).
    Instead I resorted to this style, which works
    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
    Would like to know what I did wrong with the first code?
    Quote Quote  
  9. Originally Posted by PapaDmitry View Post
    Would like to know what I did wrong with the first code?
    That sixth line ends with a period, implying there's more to come.
    Quote Quote  
  10. Member
    Join Date
    Sep 2009
    Location
    United States
    Search Comp PM
    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()
    I try multipass render with x264vfw and VDub gives me this error message. VDub loads the video and even plays it, but stops rendering 1/2 way through the job.

    Click image for larger version

Name:	Untitled-1.jpg
Views:	271
Size:	24.1 KB
ID:	2545

    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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!