datascab
27th January 2004, 22:13
Hi,
I'm a bit of a newbie with Avisynth but it seems like an excellent tool :)
I have found a problem with the aligned splice function though.
If I have a clip where the audio part is longer than the video clip, when this is brought into vdubmod, it makes the duration of the clip the same as the over length audio.
For example..
Video = 1:10.367
Audio = 1:10.400
Using this script...
LoadPlugin("C:\PROGRA~1\Autorv9\SOFTS\AVSFILE\MPEGDecoder.dll")
v01=MPEGSource("F:\dvd\12_([0xE0]_Video_NTSC_720x480)_1.m2v", -2, "raw")
a01=wavsource("F:\dvd\12_([0x80]_Audio_Not_Specified_AC3(2Ch)_48kHz___)_Delay_0ms.wav")
audiodub(v01,a01)
This means the clip when opened has video and audio length = 1:10.400
Doing it manually by opening the *.m2v in vdubmod and adding the audio stream, I get the proper clip length 1:10.367 and when I save the audio out, it gets shortened to the video clip length.
How can I get avisynth to ignore the extra bit of the audio part and not incorrectly extend the video part?
Its a bit of an issue since I have 12 clips to append and 5 of them have audio parts which are slightly longer than their respective video part.
Thanks
Data
I'm a bit of a newbie with Avisynth but it seems like an excellent tool :)
I have found a problem with the aligned splice function though.
If I have a clip where the audio part is longer than the video clip, when this is brought into vdubmod, it makes the duration of the clip the same as the over length audio.
For example..
Video = 1:10.367
Audio = 1:10.400
Using this script...
LoadPlugin("C:\PROGRA~1\Autorv9\SOFTS\AVSFILE\MPEGDecoder.dll")
v01=MPEGSource("F:\dvd\12_([0xE0]_Video_NTSC_720x480)_1.m2v", -2, "raw")
a01=wavsource("F:\dvd\12_([0x80]_Audio_Not_Specified_AC3(2Ch)_48kHz___)_Delay_0ms.wav")
audiodub(v01,a01)
This means the clip when opened has video and audio length = 1:10.400
Doing it manually by opening the *.m2v in vdubmod and adding the audio stream, I get the proper clip length 1:10.367 and when I save the audio out, it gets shortened to the video clip length.
How can I get avisynth to ignore the extra bit of the audio part and not incorrectly extend the video part?
Its a bit of an issue since I have 12 clips to append and 5 of them have audio parts which are slightly longer than their respective video part.
Thanks
Data