Dark-Cracker
15th August 2003, 14:33
Hi,
i have made a little script to loop an avi 6 time.
----------
Source = "T03_source.avi"
clip = aviSource(Source,false).loop(6)
audio=wavsource("sound.wav").resampleaudio(44100)
audio=audio.loop(6)
final=audiodub(clip, audio).bilinearresize(512,224).trim(1,0)
return final
-------------
i have first test to mux audio and video using audiodub and made a loop but once the second loop start i don't have sound.
i have try to made the loop before the audiodub but same result.
finaly the only way is to replace :
-----------
audio=audio.loop(6)
by
audio=audio+audio+audio+audio+audio+audio
-----------
apparently the loop function doesn't work on audio file.
perhaps someone could made a test to see if he have the same problem in order to help avisynth team to fix this bug :)
Bye.
i have made a little script to loop an avi 6 time.
----------
Source = "T03_source.avi"
clip = aviSource(Source,false).loop(6)
audio=wavsource("sound.wav").resampleaudio(44100)
audio=audio.loop(6)
final=audiodub(clip, audio).bilinearresize(512,224).trim(1,0)
return final
-------------
i have first test to mux audio and video using audiodub and made a loop but once the second loop start i don't have sound.
i have try to made the loop before the audiodub but same result.
finaly the only way is to replace :
-----------
audio=audio.loop(6)
by
audio=audio+audio+audio+audio+audio+audio
-----------
apparently the loop function doesn't work on audio file.
perhaps someone could made a test to see if he have the same problem in order to help avisynth team to fix this bug :)
Bye.