PDA

View Full Version : Help on Motion JPEG avi conversion script


medp7060
2nd January 2007, 08:46
I have clips recorded with Canon Digital Camera. They are progressive (as reported by AutoGK) motion JPEG avi at 30 fps at 640 x 480 with audio of 11024 Hz/8 bit/mono/PCM. I use the following script to convert them into xvid of 704 x 528 at 25 fps (The reaosn is that I have other clips are in this format) and autio into 11025Hz/8bit/mono/MP3 using VirtualDub:
LoadPlugin("D:\Canon.avi\AviSynthPlugins\DGDecode.dll")

AviSource("MVI_7487.AVI")
ConvertFPS(25,1, 80,49)
Lanczos4Resize (704,528)

However, the video/audion of resulting xvid clip was out of synchronization.

p.s. in the end, VirtualDub has this error:

"Dub:I/O thread has not cycled for ten seconds--possible livelock.[Thread location:05F1EF30]"

I also tried AutoGK with out frame rate conversion. The v/a synchronization was still there.

hanfrunz
2nd January 2007, 17:07
hello medp7060,

1. why do you load the DGDecode.dll, if you don't use it?
2. can you play your avi with the old microsofts media player (mplayer2.exe)
3. try directshowsource()
4. give us a avi file to test!

hanfrunz