Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
4th October 2004, 07:49 | #1 | Link |
brontosaurusrex
Join Date: Oct 2001
Posts: 2,392
|
avisynth editing - how to do a cross cut?
Code:
| video 1 | video 2 | | audio 1 | | audio 2 | 2.same question, but with fadeout of audio1 and fadein of audio2? |
4th October 2004, 19:59 | #2 | Link |
Registered User
Join Date: Feb 2002
Location: Germany
Posts: 540
|
Hi smok3,
you could do something like this: clip1= avisource("clip1.avi") clip2= avisource("clip2.avi") editingvideo= clip1.trim(x.y) + clip2.trim(x.y) editingaudio= clip1.trim(x.y) + clip2.trim(x.y) AudioDub(editingvideo, editingaudio) hanfrunz |
7th October 2004, 08:21 | #3 | Link |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
Re: avisynth editing - how to do a cross cut?
smok3,
Part 2.... Code:
| video 1 | video 2 | | audio 1 | | audio 2 | 0 a b c e Code:
clip1= avisource("clip1.avi").ShowFrameNumber() clip2= avisource("clip2.avi").ShowFrameNumber() editvideo= clip1.trim(0, b) + clip2.trim(b+1, e) editaudio= Dissolve(clip1.trim(0, c), clip2.trim(a, e), c-a) AudioDub(editvideo, editaudio) StackVertical(editaudio) IanB |
7th October 2004, 08:34 | #4 | Link |
brontosaurusrex
Join Date: Oct 2001
Posts: 2,392
|
tnx hanfrunz and IanB, ill try all this soon. (i didnt even know there is .ShowFrameNumber() option, i guess iam kinda lost on that avisynth wiki, 3. is there another good resource for avs scripting?)
there is always more behind the curtain: 4. is there a way to read timecode from dv stream (like .ShowTimeCode()) |
Thread Tools | Search this Thread |
Display Modes | |
|
|