>If I play my .nuv file with 'mplayer 1.0-pre8' the A/V sync is fine.
>If I transcode to .mpeg (MPEG-1 or MPEG2) and play with mplayer, the
>sound is late by about a second at the start of the file and gets
>progressively worse as time goes on (sound seems to be getting later by
>1 or 2 seconds per minute).
Well, it looks like this is because NuppelVideo is one of those horrid
variable-FPS file formats; in fact, it makes no attempt whatsoever to keep
a constant frame rate! In the sample file you put up, the time between
frames varies from 40ms (true 25fps video) to 78ms (a dropped frame minus
2 milliseconds). That's why the A/V sync falls out: the NUV import module
doesn't pay attention to the frame timestamps, so for every frame that lags
or gets dropped, the audio and video get more and more out of sync.
I've done a partial rewrite of import_nuv in CVS HEAD that checks the
timestamps and clones frames as needed to keep sync; could you try it out
and let me know if it works?
--Andrew Church
[EMAIL PROTECTED]
http://achurch.org/