VideoHelp.com Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date: Jan 2010
    Location: United Kingdom
    Alright folks

    I'm having some trouble hardcoding subtitles into an MP4. I have ripped a DVD into a single Vob file using DVD decrypter and then extracted the subtitles using Vobsubber on MeGUI.

    I have downloaded all the necessary filter (VSFilter) to the following directory:

    C:\Program Files (x86)\megui\tools\DirectVobSub\VSFilter.dll

    This is the unamended .avs file

    # Set DAR in encoder to 31 : 17. The following line is for automatic signalling
    global MeGUI_darx = 31
    global MeGUI_dary = 17
    LoadPlugin("C:\Program Files (x86)\megui\tools\dgindex\DGDecode.dll")
    DGDecode_mpeg2source("C:\Users\Danny\Videos\Films\ KILL_BILL_VOL1\VIDEO_TS\VTS_01_1.d2v", info=3)
    LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\ColorMatrix.dll" )

    ColorMatrix(hints=true, threads=0)
    #deinterlace
    #crop
    #resize
    #denoise

    The subtitle files and vob are in the following directory

    C:\Users\Danny\Videos\Films\KILL_BILL_VOL1\VIDEO_T S

    My question is, What would I have to add to add to the.avs file to get MeGUI to convert the Vob file to MP4 whilst hardcoding the subtitles. Is it possible?

    Any help would be very much appreciated!

    Cheers
    Quote Quote  

  2. You load the VSFilter.dll and then add a line in your script pointing to the IDX file:

    VobSub("C:\Path\To\Movie.idx")

    Since you're starting with a standard-def DVD, you don't need to use the ColorMatrix filter.
    Quote Quote  

  3. Member
    Join Date: Jan 2010
    Location: United Kingdom
    Thanks for the advice

    So it should look like this?

    # Set DAR in encoder to 31 : 17. The following line is for automatic signalling
    global MeGUI_darx = 31
    global MeGUI_dary = 17
    LoadPlugin("C:\Program Files (x86)\megui\tools\dgindex\DGDecode.dll")
    DGDecode_mpeg2source("C:\Users\Danny\Videos\Films\ KILL_BILL_VOL1\VIDEO_TS\VTS_01_1.d2v", info=3)
    LoadPlugin("C:\Program Files (x86)\megui\tools\DirectVobSub\VSFilter.dll")
    VobSub("C:\Users\Danny\Videos\Films\KILL_BILL_VOL1\VIDEO _TS\VTS_01_0.idx")
    #crop
    #resize
    #denoise

    I've tried that and it MeGUI says there is a script error reason: expected a, or )

    Line 7 Column 9

    Any ideas ?

    I'm assuming that's the VobSub line, but i cant see anything wrong with it.
    Quote Quote  

  4. In what format are your subs? I was assuming VobSubs (IDX/SUB). I don't see the mistake, although there has to be one. What happens if you comment out (put a '#' in front) the VobSub line? Will it open then? Maybe we need some fresh eyes to have a look.
    Quote Quote  




Similar Threads

  1. Certain d2v file causing problems with MeGUI Avisynth Script Creator.
    By Simcut in forum Newbie / General discussions
    Replies: 4
    Last Post: 22nd Apr 2012, 08:58
  2. Add QTGMC Deinterlacer to MeGUI's avisynth script creator drop down list?
    By Simcut in forum Newbie / General discussions
    Replies: 1
    Last Post: 25th Mar 2012, 22:14
  3. Replies: 1
    Last Post: 7th Dec 2011, 14:31
  4. Avisynth Script - Personal Subtitles hardcoding...
    By elmuz in forum Newbie / General discussions
    Replies: 0
    Last Post: 9th Nov 2010, 11:12
  5. Replies: 1
    Last Post: 15th Jul 2009, 18:07
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools