hazel-ra
10th January 2008, 21:23
Hello all -
I'm working on a video editing project using AviSynth. I have several avi's that I ripped from DVD sources.
This project has passed through several stages, and I just recently started working in AviSynth. Before this, I was doing digital splicing with VirtualDub! Yuck!
Anywho, things are going much faster with Avisynth, but I'm still a noob, so I'm looking for examples of using Avisynth for mixing video.
I'll go over what I'm doing so far, and if you see any places where you're like "Huh?", feel free to chime in!
First of all, I'm converting my vob rips to AVIs using autoGK. I don't really know anything about avi's, so I just set the quality to 100%, and the audio to a cbr mp3 of 320k ( or whatever the max is ). These take time to convert, and space to store, so if there is a format that takes less time to create, less space, or is more AviSynth friendly, let me know!
Secondly, I am loading my files using this command:
AVISource(path + "sample.avi" ).BilinearResize( 700, 320 ).AssumeFPS("ntsc_film", true).ResampleAudio( 48000 )
To standardize all the files. ( Some are at 25 fps, some are different ratios, etc. ) Why Bilinear? Probably because it was the first resizer listed. The forum rules say you can't ask for 'best', so does someone have a script or webpage that compares the resizing filters?
After I get the files loaded in, I'm basically cutting clips with Trim and then running them one after the other. Sometimes, however, I like to get a little clever. At certain points I want to take the audio from one clip and mix it with the video from another. Here's a way I did it:
AVISource(path + audio_source ).BilinearResize( horiz, vert ).AssumeFPS("ntsc_film", true).ResampleAudio( 48000 )
audio_start = 2715
clip_length = 317
audio_clip = Trim( audio_start, audio_start + clip_length )
AVISource( path + video_source ).BilinearResize( horiz, vert ).AssumeFPS("ntsc_film", true).ResampleAudio( 48000 )
mix = AudioDubEx( Trim( 3370, 3687) , audio_clip )
Is there a way to do this with less syntax? If I'm into a complicated script, this gets hairy!
Another thing I'm looking to do is to lead the audio from the last clip hang around a little when I visually switch to the new clip. I noticed they do this in films all lot; it seems to be the regular way to switch clips. I can probably figure out a way to do this, but I was hoping someone might have an example all ready to go for me!
Anyway, I looked over the documentation, some stickies, and the example scripts. A lot of great stuff about changing video, but I didn't find any good tutorials for editing and mixing. Did I overlook them?
:thanks:
I'm working on a video editing project using AviSynth. I have several avi's that I ripped from DVD sources.
This project has passed through several stages, and I just recently started working in AviSynth. Before this, I was doing digital splicing with VirtualDub! Yuck!
Anywho, things are going much faster with Avisynth, but I'm still a noob, so I'm looking for examples of using Avisynth for mixing video.
I'll go over what I'm doing so far, and if you see any places where you're like "Huh?", feel free to chime in!
First of all, I'm converting my vob rips to AVIs using autoGK. I don't really know anything about avi's, so I just set the quality to 100%, and the audio to a cbr mp3 of 320k ( or whatever the max is ). These take time to convert, and space to store, so if there is a format that takes less time to create, less space, or is more AviSynth friendly, let me know!
Secondly, I am loading my files using this command:
AVISource(path + "sample.avi" ).BilinearResize( 700, 320 ).AssumeFPS("ntsc_film", true).ResampleAudio( 48000 )
To standardize all the files. ( Some are at 25 fps, some are different ratios, etc. ) Why Bilinear? Probably because it was the first resizer listed. The forum rules say you can't ask for 'best', so does someone have a script or webpage that compares the resizing filters?
After I get the files loaded in, I'm basically cutting clips with Trim and then running them one after the other. Sometimes, however, I like to get a little clever. At certain points I want to take the audio from one clip and mix it with the video from another. Here's a way I did it:
AVISource(path + audio_source ).BilinearResize( horiz, vert ).AssumeFPS("ntsc_film", true).ResampleAudio( 48000 )
audio_start = 2715
clip_length = 317
audio_clip = Trim( audio_start, audio_start + clip_length )
AVISource( path + video_source ).BilinearResize( horiz, vert ).AssumeFPS("ntsc_film", true).ResampleAudio( 48000 )
mix = AudioDubEx( Trim( 3370, 3687) , audio_clip )
Is there a way to do this with less syntax? If I'm into a complicated script, this gets hairy!
Another thing I'm looking to do is to lead the audio from the last clip hang around a little when I visually switch to the new clip. I noticed they do this in films all lot; it seems to be the regular way to switch clips. I can probably figure out a way to do this, but I was hoping someone might have an example all ready to go for me!
Anyway, I looked over the documentation, some stickies, and the example scripts. A lot of great stuff about changing video, but I didn't find any good tutorials for editing and mixing. Did I overlook them?
:thanks: