VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date
    Sep 2009
    Location
    United States
    Search Comp PM
    Cannot join multiple clips with DGIndex. Help! According to the brief instructions supplied with DGIndex zip file (if I understand this correctly), audio files get separated and must be joined with video via the "Audiodub" command like so (adding an introductory blank screen)

    Code:
    v1=MPEG2Source("clip 069.d2v").Trim(0,300)
    a1=MPASource("clip 069.mp2")
    AudioDub(v1,a1)
    Blankclip(last,length=100).Subtitle("Jud, North Dakota, City of Murals", 
    size=58,align=5)++last
    I have fifteen such clips and try to load the following code into VDub, which, of course, is not correct.

    Code:
    v1=MPEG2Source("clip 069.d2v").Trim(0,300)
    a1=MPASource("clip 069.mp2")
    AudioDub(v1,a1)
    Blankclip(last,length=100).Subtitle("Jud, North Dakota, City of Murals", 
    size=58,align=5)++last
     
    v2=last++MPEG2Source("Clip 070.d2v").Trim(30,282)
    a2=MPASource("clip 070.mp2")
    AudioDub(v2,a2)
    What am I doing wrong? l feel like I'm walking around in circles because it's taken me about a month to render an itty bitty video clip.
    Last edited by PapaDmitry; 7th Jul 2010 at 23:22.
    Quote Quote  
  2. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by PapaDmitry View Post
    Cannot join multiple clips
    What do you mean "cannot"? Is there an error message? If so what?

    Anyway, if it's sync, then I think you should Trim after dubbing:

    Code:
    v1=MPEG2Source("clip 069.d2v")
    a1=MPASource("clip 069.mp2")
    AudioDub(v1,a1)
    Trim(0,300)
    Blankclip(last,length=100).Subtitle("Jud, North Dakota, City of Murals", 
    size=58,align=5)++last
    Quote Quote  
  3. Member
    Join Date
    Jan 2003
    Location
    India
    Search Comp PM
    assuming the clips match in resolution and audio bitrate and codec, combine them in DGIndex itself to get one d2v file and one audio file for all clips combined.
    Quote Quote  
  4. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    edit
    Last edited by Alex_ander; 8th Jul 2010 at 03:05.
    Quote Quote  
  5. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by PapaDmitry View Post
    Code:
    v1=MPEG2Source("clip 069.d2v").Trim(0,300)
    a1=MPASource("clip 069.mp2")
    AudioDub(v1,a1)
    Blankclip(last,length=100).Subtitle("Jud, North Dakota, City of Murals", 
    size=58,align=5)++last
     
    v2=last++MPEG2Source("Clip 070.d2v").Trim(30,282)
    a2=MPASource("clip 070.mp2")
    AudioDub(v2,a2)
    What am I doing wrong?
    When you AudioDub a2 onto v2, you are replacing the entire audio track, so you lose a1.
    You need to do the AudioDub for each section before appending it to the previous ones.
    And (assuming each mp2 is as long as the corresponding d2v) AlanHK is right about putting the AudioDub before the Trim as well.
    Code:
    v1=MPEG2Source("clip 069.d2v")
    a1=MPASource("clip 069.mp2")
    AudioDub(v1,a1).Trim(0,300)
    Blankclip(last,length=100).Subtitle("Jud, North Dakota, City of Murals", 
    size=58,align=5)++last
     
    v2=MPEG2Source("Clip 070.d2v")
    a2=MPASource("clip 070.mp2")
    v2a=AudioDub(v2,a2).Trim(30,282)
    last++v2a
    Quote Quote  



Similar Threads

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