zambelli
20th March 2004, 01:47
I have a 3 minute RGB24 AVI clip that I'm trying to loop 40 times to create a 2 hr clip. My script is:
AVISource("foo.avi")
Loop(40)
When I play it back, I notice that the audio isn't looped. It plays only once. This appears to be a known bug, as I've seen other reports on this forum about it.
So then I try the workaround:
video = AVISource("foo.avi")
final = video + video + video + video ...
(40 times)
When I open the .avs in VDub, it reports the correct length (equal for both audio and video) and it plays correctly. However, when I play back the .avs in Dshow or feed it to WME9, the video gets mangled. Some frames end up out of place and every now and then I see a solid color frame.
Every other script I've used with that same AVI worked out just fine - so I suspect this sudden change in behavior is due to the looping and addition functions being used. Can someone else try to repro and verify that the problem is there?
AVISource("foo.avi")
Loop(40)
When I play it back, I notice that the audio isn't looped. It plays only once. This appears to be a known bug, as I've seen other reports on this forum about it.
So then I try the workaround:
video = AVISource("foo.avi")
final = video + video + video + video ...
(40 times)
When I open the .avs in VDub, it reports the correct length (equal for both audio and video) and it plays correctly. However, when I play back the .avs in Dshow or feed it to WME9, the video gets mangled. Some frames end up out of place and every now and then I see a solid color frame.
Every other script I've used with that same AVI worked out just fine - so I suspect this sudden change in behavior is due to the looping and addition functions being used. Can someone else try to repro and verify that the problem is there?