VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Dec 2006
    Location
    Toronto, Canada
    Search Comp PM
    hi everyone,

    i have a movie that is split into 2 xvid files with ac3 audio. each segent has its own subtitle file so there are 2 sets of subs, 1 for disc 1, and 1 for disc 2. now i was just wondering if there was any way that i could hardcode the subs into the video in order to convert to dvdor do i have to reencode the avi again and add the subs that way? i usually convert avi to dvd using the avisynth/cinemacraft method. so if anyone can help me out with doing this, it would be greatly appreciated. thanks very much in advance for any help.
    Quote Quote  
  2. Member mats.hogberg's Avatar
    Join Date
    Jul 2002
    Location
    Sweden (PAL)
    Search Comp PM
    You can add the subtitles using AviSynth and TextSub(?) filter. But really - DVD with hard subs? Why not real selectable DVD subs?

    /Mats
    Quote Quote  
  3. Member
    Join Date
    Dec 2006
    Location
    Toronto, Canada
    Search Comp PM
    Originally Posted by mats.hogberg
    You can add the subtitles using AviSynth and TextSub(?) filter. But really - DVD with hard subs? Why not real selectable DVD subs?

    /Mats
    its just a couple of parts in the movie that are in another language. not subs for the whole movie. and thanx for the info.
    Quote Quote  
  4. Member j4gg3rr's Avatar
    Join Date
    Nov 2005
    Location
    Australia
    Search Comp PM
    I use The FilmMachine v1.5.0.18beta to automatically convert the txt subs to .ssa, convert/extract Audio to AC3 and make the AVS script with framerate convert to PAL, resize/borders and converted .ssa subs included.

    eg. script it puts out below:
    # 4:3 encoding
    LoadPlugin("C:\Program Files\The FilmMachine\VSFilter.dll")
    AviSource("D:\Temp\Download\Vids\Akira Kurosawa\Ran\Ran CD 1\Ran CD1.avi", false)++AviSource("D:\Temp\Download\Vids\Akira Kurosawa\Ran\Ran CD 2\Ran CD2.avi", false)
    ConvertToYUY2()
    FadeIn(50)
    Lanczos4Resize(720,428,0.0,0.6)
    AddBorders(0,74,0,74)
    TextSub("C:\Program Files\The FilmMachine\Output\TFM_Subtitle_File.ssa")
    AssumeFPS(25,1,False)

    TFM lets you edit the scripts before audio encoding begins so I just remove FadeIn(50) and ,0.0,0.6 from the resize line.

    After audio encoding you can stop the video encoding and load the script into CCE manually if you like, or just let TFM 1 click it to a burnt DVD with great results.
    But I prefer to output the Elementary streams and mux/author with TMPGEnc Plus/Tsunami DVD Author checking sync along the way.

    I suggest using TFM v1.5.0.18beta because the later versions use multiple AVS scripts instead of joining the avi's together in the one script like above.
    Quote Quote  
  5. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by videotape74
    i have a movie that is split into 2 xvid files with ac3 audio. each segent has its own subtitle file so there are 2 sets of subs, 1 for disc 1, and 1 for disc 2. now i was just wondering if there was any way that i could hardcode the subs into the video in order to convert to dvdor do i have to reencode the avi again and add the subs that way? i usually convert avi to dvd using the avisynth/cinemacraft method.
    You can join the subtitle files in Subtitle Workshop.
    It supports almost every format, though not complex formatting.
    Tools/Join Subtitles.
    You list the corresponding sub and movie files and it recalculates the times to create a continuous subtitle file.

    Then you can load this in Avisynth:

    clip 1 ++ clip 2
    TextSub("subs.srt")

    (Or whatever format you use for subs).

    Or if your authoring app supports it, make selectable subs separately from the new subtitle file.
    Quote Quote  
  6. Member
    Join Date
    Dec 2006
    Location
    Toronto, Canada
    Search Comp PM
    ok, to get avisynth to read the subs, do i need anything specific? i ask because it says that the line is not recognized and my subs & movie are named the same.
    Quote Quote  
  7. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by videotape74
    ok, to get avisynth to read the subs, do i need anything specific? i ask because it says that the line is not recognized and my subs & movie are named the same.
    You need Vobsub.
    Install that, then you can use Textsub to display the subtitles in an AVS file or in VDUB.
    Quote Quote  



Similar Threads

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