Log in

View Full Version : Avisynth repeating frames after frame #13481


akimboman
27th December 2003, 09:10
I encoded 45 minutes of captured tv with Virtualdub and DivX 5.1.1. I tried to play the divx file with media player - the first 10 minutes is very good quality - then the video freezes and the sound stops for the remaining 30 minutes. This doesn't appear to be a media player problem. When the resulting file is opened in virtualdub - the same frame is repeated for the last 30 minutes.

I tried to encode this job twice with the same result (it freezes on the same frame).

This is the first time I've used the DivX 5.1.1 codec and Avisynth.

This describes my process:
1. Capture analog TV with Canopus ADVC-100.
2. Edit out commercials with Virtualdub.
3. Avisynth 2.0 .avs includes (AviFileSource, ConvertToYUY2, telecide, and decimate).
4. Virtualdub 2-pass encode with DivX 5.1.1 @ 920 kb/s and MP3 audio @ 112 kb/s (one filter used: 2D Cleaner Optimized version 0.9).


In an effort to find my problem, I turned off the encoding within Virtualdub and selected "Direct Stream Copy". I got the same result: The video starts repeating frame #13481 instead of moving on to #13482 and upward.

I believe my problem is occurring within avisynth.

sh0dan
27th December 2003, 11:08
Hi!

:script:

I'm not sure if this is actially an AviSynth issue, but we need the script to tell.

Some pointers:

* Use AviSynth 2.5.3 - 2.0 is getting quite old.
* Use 'AviSource' instead of 'AviFileSource'. "AviFileSource" is mostly there for compatibility.

akimboman
28th December 2003, 01:08
Thanks sh0dan-

The problem appears to be fixed by changing "AVIFileSource" to "AVISource" in my avs file.