PDA

View Full Version : VDubMod screwing up my DV file!


okc_smoker
11th July 2008, 15:51
I've been processing some DV files using VDubMod/AVISynth and just recently I've been noticing some weird (and frustrating!) results. The output file will sporadically have frames of random colored squares. Think a TV test pattern but smallish squares covering the whole frame. This can happen if I'm apply heavy filtering or doing just a simple deinterlace. I'll also occasionally get random static spikes or pops in the audio. I thought maybe it might be my settings for the Cedocida DV codec but playing with it didn't seem to help, although I have no idea what I'm doing when it comes to that codec's settings. I don't know how that would affect audio though. I can solve the audio issue by demuxing before processing, but the video issue is still a big problem. I'm at a complete loss. Any ideas?

neuron2
11th July 2008, 15:58
Post a link to a short DV file and script that we can use to duplicate your issue.

okc_smoker
11th July 2008, 16:00
Part of what makes this so frustrating is that it's not consistently reproducible with the same source file and the same script. Anyway, I'm at work right now, so I'll have to upload the files and post a link when I get home. Thanks!

okc_smoker
11th July 2008, 20:38
I believe I found the problem. I had been using SetMTMode(2) at the top of each script. I was able to reproduce fairly consistently with a script that deinterlaced, ran LimitedSharpenFaster(), and reinterlaced. I commented out SetMTMode() and had no problems. Uncommented it and had the same problem. Commented it out again and no problems. Changing the parameter to 3 or 1 caused fatal errors and I couldn't even load the .avs file. I also have SetMemoryMax(512) and I know SetMTMode() uses more memory so I'm wondering if that might be part of the problem. Anyone else have any insight into this?