audio_mvi_2289=AudioDub( BlankClip(a, audio_rate=44100, length=a.FrameCount()) , DirectShowSource ("C:\images\staff\audio\mvi_2289.wav"))
audio_mvi_2289_trim_1=audio_mvi_2289.trim (0,270).KillVideo()
audio_mvi_2289_trim_2=audio_mvi_2289.trim (290,629).KillVideo()
audio_mvi_2289_trim_3=audio_mvi_2289.trim (640,920).KillVideo()
video_mvi_2289_1= AudioDub(a.trim(296,650), audio_mvi_2289_trim_1)
video_mvi_2289_2= AudioDub(a.trim(860,2764), audio_mvi_2289_trim_2)
video_mvi_2289_3= AudioDub(a.trim(2765,3242), audio_mvi_2289_trim_3)
mvi_2289=video_mvi_2289_1+video_mvi_2289_2+video_mvi_2289_3
When I do the follow the audio that I trimmed plays together. It does not wait for the trimmed movie I associated it with to play. In other words audio_mvi_2289_trim_1, audio_mvi_2289_trim_2 and audio_mvi_2289_trim_3 will play like one long connected audio clip totally disregarding video_mvi_2289_1 has been AudioDub with that section of sound.
Thanks ~ Lex
Audio trim playing as one long connected file.
- Scintilla
- (for EXTREME)
- Joined: Mon Mar 31, 2003 8:47 pm
- Status: Quo
- Location: New Jersey
- Contact:
Re: Audio trim playing as one long connected file.
If I understand you correctly, the way to fix this is to use AlignedSplice rather than UnalignedSplice, or, with the shorthand you're using, change the last line to this:
mvi_2289=video_mvi_2289_1++video_mvi_2289_2++video_mvi_2289_3
mvi_2289=video_mvi_2289_1++video_mvi_2289_2++video_mvi_2289_3
-
- Joined: Sun Oct 11, 2009 2:39 am
Re: Audio trim playing as one long connected file.
[SOLVED SOLUTION]
Scintilla, thanks that was perfect. It worked.
Scintilla, thanks that was perfect. It worked.