| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > Codec Discussion > Messed Up Avis |
| Posted by: David.Bucci Feb 27 2003, 07:15 PM |
| Hey ... I have a video that is giving very quirky behavior ... DivX 5.02, PCM uncompressed audio. VD reports frame rate as 28.334 When I open it in VD alone, it will render up to the first keyframe (actually, 2nd ... I assume it starts on a keyframe), then the video freezes but audio continues on. When I use AVISynth AVIFile(), it renders up to the first keyframe, then the video loops back to the first keyframe, and keeps doing that, rendering the first 27 frames repeatedly, while again the audio progresses on. It plays fine in ZoomPlayer, WMP, so I tried DirectShowSource() ... produces an error that says AVISynth can't determine the frame rate. So I set the framerate in the DirectShowSource call, to 28.334 -- now I get no audio. So I demux the audio, and add it back in, and it's way out of sync. Offsetting doesn't work, because the sync changes over time. Changing the frame rate (in AVISynth) allows me to match the length of the audio, but the sync drifts in and out. Any ideas? Is it possible that the different parts of the vid are meant to render at different frame rates? (does AVI support this?) Thank you. |