droopy928gt
9th May 2003, 20:55
Dear All,
Thanks for further developing AviSynth. When I started with video as a hobby it was a great program for me to achieve the sometimes strange combination of clips / audio I wanted in a relatively easy way. Added advantage for me was the fact of being able to simply load the AviSynth scripts in my favorite encoder, TMPGEnc. Recently though I've gotten into a few situations which gotten me to think that there was a reasonably straigh forward function missing in AviSynth.
If I might therefore be so bold, I wanted to propose a function to you, the developers, as a possible extension of AviSynth in future developments. Now I'm a lousy programmer and as such can only propose it. I hope though that you people might give it some thought though.
The function I'm thinking of is "SegmentedWavSource". You already have "SegmentedAviSource".
The reason for proposing this is basically the possibly greater flexibility in manipulating audio. The first idea for this comes from a functionality which is already in AviSynth, where you can use the captured AVI in the "WavSource" function to manipulate its audio. After which you then combine them again using the "AudioDub" function. "WavSource" though can not be used in cases where e.g. the capture was done using segmented AVI files. You would first have to save the audio of this segmented AVI before you could use it, with all the possible dangers of out of sync audio. But also the extra steps and time spend.
To give an example which I encountered myself and basically got me thinking about this.
I had an segmented AVI capture for which for some kind of reason the right audio channel was sometimes breaking off into a silence for a few seconds after which it would come back again. Since it was a documentary, the stereo part didn't matter that much so I simply would copy the left channel to the right channel. Using AviSynth this could have been as easy as following script.
video = SegmentedAviSource("d:\sample.avi")
audio = (Segmented)WavSource("d:\sample.avi")
brackets on segmented are only because the function as such currently doesn't exist
stereo = GetChannel(audio, 1, 1)
AudioDub(video, stereo)
If only there had been the "SegmentedWavSource" function as my captures are always segmented. "ConvertToMono" in this case would't help as this would cause volume variations as the right channel was sometimes cutting out.
Hope you'll see my point and the possible added functionality this would give.
I understand that it is very easy for me to write this as I have no idea on how all is fit together and what it would take to achieve such function. On the other hand I also hope you will give it some thought.
Thanks again for continueing this great program first started by Ben, wherever he might be at the moment.
Thumbs up to you all, Leon
Thanks for further developing AviSynth. When I started with video as a hobby it was a great program for me to achieve the sometimes strange combination of clips / audio I wanted in a relatively easy way. Added advantage for me was the fact of being able to simply load the AviSynth scripts in my favorite encoder, TMPGEnc. Recently though I've gotten into a few situations which gotten me to think that there was a reasonably straigh forward function missing in AviSynth.
If I might therefore be so bold, I wanted to propose a function to you, the developers, as a possible extension of AviSynth in future developments. Now I'm a lousy programmer and as such can only propose it. I hope though that you people might give it some thought though.
The function I'm thinking of is "SegmentedWavSource". You already have "SegmentedAviSource".
The reason for proposing this is basically the possibly greater flexibility in manipulating audio. The first idea for this comes from a functionality which is already in AviSynth, where you can use the captured AVI in the "WavSource" function to manipulate its audio. After which you then combine them again using the "AudioDub" function. "WavSource" though can not be used in cases where e.g. the capture was done using segmented AVI files. You would first have to save the audio of this segmented AVI before you could use it, with all the possible dangers of out of sync audio. But also the extra steps and time spend.
To give an example which I encountered myself and basically got me thinking about this.
I had an segmented AVI capture for which for some kind of reason the right audio channel was sometimes breaking off into a silence for a few seconds after which it would come back again. Since it was a documentary, the stereo part didn't matter that much so I simply would copy the left channel to the right channel. Using AviSynth this could have been as easy as following script.
video = SegmentedAviSource("d:\sample.avi")
audio = (Segmented)WavSource("d:\sample.avi")
brackets on segmented are only because the function as such currently doesn't exist
stereo = GetChannel(audio, 1, 1)
AudioDub(video, stereo)
If only there had been the "SegmentedWavSource" function as my captures are always segmented. "ConvertToMono" in this case would't help as this would cause volume variations as the right channel was sometimes cutting out.
Hope you'll see my point and the possible added functionality this would give.
I understand that it is very easy for me to write this as I have no idea on how all is fit together and what it would take to achieve such function. On the other hand I also hope you will give it some thought.
Thanks again for continueing this great program first started by Ben, wherever he might be at the moment.
Thumbs up to you all, Leon