VideoHelp Forum
+ Reply to Thread
Page 3 of 3
FirstFirst 1 2 3
Results 61 to 66 of 66
Thread
  1. Member
    Join Date
    Oct 2009
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    I edited my post above^. You have to make the stills longer in duration to match

    Don't use DelayAudio() unless you have overhanging ends on both sides of the audio,otherwise you can get silence gaps

    e.g. the audio is 40 seconds, but the the section you want is 30 seconds in the middle (5 sec ends on each side). Then you would use delayaudio to shift it insync
    I don't understand. It looks like you are showing me how to make my clip 30 seconds but I want it to be 20 seconds.

    Every which way I do it the intro plays fine alone but flubs the audio when the movie is appended.
    In my latest try the last word of the intro mp3 is being replaced by the first word.

    Could it be a problem with the movie file and not the intro - that is causing the intro to break at the connection?
    Quote Quote  
  2. You said you wanted it 30 sec for the 3rd clip?

    Just change the values then for 20 seconds e.g.

    Code:
    a = ImageSource("a.png", fps=25, end=100) 
    b = ImageSource("b.png", fps=25, end=200) 
    c = ImageSource("e.png", fps=25, end=499) 
    a++b++c 
    ConvertToYV12() 
    vid=last 
    
    aud=DirectShowSource("audio3dlong.mp3").SSRC(48000) 
    
    AudioDub(vid,aud) 
    
    Trim(0,499)
    Since all the other clips worked in appending, I suspect it's this 3rd clips fault, or how you prepared it. When you have overhangs, you experience the repeats exactly as you described when appending

    If you can't figure it out, just re-encode the whole thing
    Quote Quote  
  3. Member
    Join Date
    Oct 2009
    Location
    United States
    Search Comp PM
    I mentioned "30 seconds" meaning I had so much trouble trying to make the audio exactly 20 seconds I'd take 30 instead, run the avs and do a trim to get just the first 20 seconds (of avi).

    Maybe I can combine the avs scripts and see if that works better than the append.

    I just need to figure out how to combine
    Code:
    a = ImageSource("a.png", fps=25, end=99) 
    b = ImageSource("b.png", fps=25, end=149) 
    c = ImageSource("e.png", fps=25, end=249)
    a++b++c
    ConvertToYV12()
    vid=last
    
    aud=DirectShowSource("audio3.mp3").SSRC(48000)
    
    AudioDub(vid,aud)
    with
    Code:
    AVISource("Moviecut.avi")
    
    Trim(147484, 148922) ++ Trim(149978, 154715) ++ Trim(154834, 157708) ++ Trim(157816, 158014) ++ Trim(158157, 159866)
    Quote Quote  
  4. Code:
    a = ImageSource("a.png", fps=25, end=99) 
    b = ImageSource("b.png", fps=25, end=149) 
    c = ImageSource("e.png", fps=25, end=249) 
    a++b++c 
    ConvertToYV12() 
    vid=last 
    
    aud=DirectShowSource("audio3.mp3").SSRC(48000) 
    
    AudioDub(vid,aud) 
    
    firstvid=last
    
    
    AVISource("Moviecut.avi") 
    
    Trim(147484, 148922) ++ Trim(149978, 154715) ++ Trim(154834, 157708) ++ Trim(157816, 158014) ++ Trim(158157, 159866)
    
    secondvid=last
    
    firstvid++secondvid
    Make sure the first intro script works properly by itself, otherwise it wont work
    Quote Quote  
  5. Member
    Join Date
    Oct 2009
    Location
    United States
    Search Comp PM
    Mission Accomplished. It worked!
    Thanks!


    I'll be back to bump this later when I try the KenBurnsEffect on the final end credits.
    Quote Quote  
  6. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by n00bNeedsHelp
    Mission Accomplished. It worked!
    It's worth understanding why this works.
    Because the two videos are joined with the ++ operator (firstvid++secondvid), an AlignedSplice is performed, so that if the audio from firstvid is longer than the video part, it will be truncated to fit. If you had used the + operator instead (UnalignedSplice), the video and audio parts would be joined independently, making the second video out of sync.

    @poisondeathray: I think you were getting confused by the clips a, b and c. These are independent images to be shown for 4, 6 and 10 secs each to give a total of 20 secs, so end=99, 149 and 249 was correct all along.
    Quote Quote  



Similar Threads

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