VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. Member
    Join Date
    Oct 2007
    Location
    Germany
    Search Comp PM
    Hi!

    How do I burn in subtitles into the picture using Megui?
    I found nothing in the forum, so clould someone hepl me please?

    I've heard someting of VSfilter or something (DirectVobSub), but I don't know how to use it.
    And since the Video is in Mp4 I can't use Virtual Dub.

    Thanks for your help!
    Quote Quote  
  2. Member
    Join Date
    Sep 2007
    Location
    Magyarország
    Search Comp PM
    You could convert MPEG-4 to uncompressed AVI, add the subtitles with VobSub/VirtualDub and than recompress to MPEG-4 with MeGUI/x264. I know this sound ridiculous but it's the only idea I have, since I don't know about any tool that can add subtitles to MPEG-4 file.
    Quote Quote  
  3. Member
    Join Date
    Oct 2007
    Location
    Germany
    Search Comp PM
    That sounds a lot of work and probably takes a long time.

    Is there no way to tell Megui to burn the subtitles into the movie? Or can I change the avisynth file, so that it burns the subtitles in? I mean the source is a DVD, so I don't have to make a mp4 out of the dvd, then convert it to uncompressed avi and back into mp4.
    Quote Quote  
  4. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    Or can I change the avisynth file, so that it burns the subtitles in?
    Yes, you can. Example:

    LoadPlugin("Path-to\Vsfilter.dll")
    .
    .
    .
    TextSub("Path-to\filename.ssa")
    ++++++++++++++
    Quote Quote  
  5. Member
    Join Date
    Oct 2007
    Location
    Germany
    Search Comp PM
    Thanks, I'll try that!

    In which format do I need the subtitle?
    And can I add this "quote" at the end of the avisynth file?
    Quote Quote  
  6. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    >>> In which format do I need the subtitle?

    .ssa or .ass is the best choice, because it's the most configurable.

    If you need a fast format conversion --- from a .srt 4 example ---,
    you may use Subtitle Workshop, BUT then you'll have to tweak
    the .ssa file in Notepad or in anything better
    (download http://www.perlfu.co.uk/projects/asa/ass-specs.doc
    for the necessary details).

    >>> And can I add this "quote" at the end of the avisynth file?

    The .avs must begin with the statement "LoadPlugin..."
    and would better end with the "Textsub" call. Don't forget to have
    DirectVobSub(aka vsfilter) installed on your PC, first of all ^_^

    { http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm }


    ++++++++++++++++
    Quote Quote  
  7. Member
    Join Date
    Oct 2007
    Location
    Germany
    Search Comp PM
    Do I understand that correctly?

    I open my vob file in Megui and add audio and make the necessary changes (crop, codecs, etc.) then I save the avisynth file.
    Next I open it and add

    LoadPlugin("C:Programs\Vsfilter.dll")

    TextSub("C:\VTS_0_1.idx")

    to the beginning of the avisynth file?
    Quote Quote  
  8. Member
    Join Date
    Oct 2007
    Location
    Germany
    Search Comp PM
    When I create an aisynth file which is:

    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\vsfilter.dll")
    AviSource("C:\Users\Patrick\Desktop\Ocean.avi")


    VobSub("C:\Users\Patrick\Desktop\Ocean's Thirteen\VTS_01_0.idx")

    And open it with Megui, I get an error message:

    AviSynth script error:
    AVISource: couldn't locate a decompressor for fourcc h264
    (C:\Users\Patrick\Desktop\Oceans13.avs, line2)
    Quote Quote  
  9. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    An H264 requires you use "DirectShowSource" instead of "AVISource".

    ++++++++
    Quote Quote  
  10. Member
    Join Date
    Oct 2007
    Location
    Germany
    Search Comp PM
    Thanks, it worked!

    However, I was wondering how one would do it when you encode a new video from scratch. Like ripping the dvd, creating a d2v file, create an avisynth file,...

    how do you change the avisynth file so that it burns the subs in?
    Quote Quote  
  11. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    IF I am understanding you correctly, ...

    Thanks, it worked!
    So you have just gotten what you were wanting, I hope

    how one would do it when you encode a new video from scratch. Like ripping the dvd, creating a d2v file, create an avisynth file,...

    how do you change the avisynth file so that it burns the subs in?
    ż
    Perhaps something like this:

    LoadPlugin( ........... )
    v = Mpeg2Source("C:\folder\movie.d2v")
    a = DirectShowSource("C:\folder\movie.ac3")
    AudioDub(v,a)
    VobSub( ................ )


    ?

    { http://avisynth.org/DirectShowSource }

    +++++++++++++++++++++++++++++
    Quote Quote  
  12. Member
    Join Date
    Oct 2007
    Location
    Germany
    Search Comp PM
    The thing is, I created a mp4 h.264 movie from a dvd. Adding subtitles would mean recoding the mp4 just to burn the subtitles in.

    I was just wondering if I could do that all in one step. So burning the subtitles in when I actually create the mp4 movie.

    Of course, Megui can't burn the subs in automatically. This means I would have to change the avs file. But the question is where I add this:
    LoadPlugin("C:Programs\Vsfilter.dll")

    TextSub("C:\VTS_0_1.idx")

    The other thing: If I use a 2-pass encoder, will my avs file change?
    Right now it reads:
    DGDecode_mpeg2source("C:\DVD\Lethal Weapon 3\VTS_01_1.d2v",info=3)
    ColorMatrix(hints=true,interlaced=true)
    #Not doing anything because the source is progressive
    crop( 20, 74, -20, -76)

    LanczosResize(720,304) # Lanczos (Sharp)
    #denoise

    So, where would I put the subtitles in? And what happens when using a 2-pass?
    Quote Quote  
  13. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    As I said some lines above:

    LoadPlugin( ........... )
    v = Mpeg2Source("C:\folder\movie.d2v")
    a = DirectShowSource("C:\folder\movie.ac3")
    AudioDub(v,a)
    VobSub( ................ )
    (I think VobSub should work for .idxs, otherwise use TextSub),

    which, in this case, should become:


    LoadPlugin( ........... )
    #
    DGDecode_mpeg2source("C:\DVD\Lethal Weapon 3\VTS_01_1.d2v",info=3)
    ColorMatrix(hints=true,interlaced=true)
    #Not doing anything because the source is progressive
    crop( 20, 74, -20, -76)
    LanczosResize(720,304) # Lanczos (Sharp)
    #denoise
    #
    VobSub( ................ )
    > > > > > The other thing: If I use a 2-pass encoder, will my avs file change?

    No, it won't. Should it?

    ========
    Quote Quote  
  14. Member
    Join Date
    Oct 2007
    Location
    Germany
    Search Comp PM
    It would be great if I could do it with a 2-pass encoder, due to quality reasons.
    Do you have an idea how I could do that?
    Quote Quote  



Similar Threads

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