Video plays fast then pauses

Hello, I have several media files where the video plays a little fast for a
few seconds, then pauses while the audio catches up. They’re mencoder divx
files in AVI. I found that the problem was the wdtv not properly handling
that duplicate frames omitted during encoding. (they play fine in mplayer)
I found I could reproduce or solve the problem by omitting or specifying
mencoder option harddup. This is a bug through version 1.03 on gen 1.

Here is the mediainfo for one with the problem. I compared it to another I
recently encoded and besides the program/library versions being different,
I noticed that the video is slightly shorter than the audio here, while
strangely the other has audio much much longer, like double. But like I said,
mplayer plays the files perfectly.

thanks

General
Complete name                    : wdtvvideojerky.divx
Format                           : AVI
Format/Info                      : Audio Video Interleave
Format profile                   : OpenDML
File size                        : 1.08 GiB
Duration                         : 1h 48mn
Overall bit rate                 : 1 430 Kbps
Writing application              : MEncoder 1.0pre7try2-Fedora-GS-4.0.1
Writing library                  : MPlayer

Video
ID                               : 0
Format                           : MPEG-4 Visual
Format profile                   : Simple@L1
Format settings, BVOP            : No
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default (H.263)
Codec ID                         : FMP4
Duration                         : 1h 41mn
Bit rate                         : 1 277 Kbps
Width                            : 720 pixels
Height                           : 480 pixels
Display aspect ratio             : 1.500
Frame rate                       : 29.970 fps
Standard                         : NTSC
Resolution                       : 8 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.123
Stream size                      : 930 MiB (84%)
Writing library                  : FFmpeg0.4.9-pre1b4752

Audio
ID                               : 1
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Format_Settings_Mode             : Joint stereo
Codec ID                         : 55
Codec ID/Hint                    : MP3
Duration                         : 1h 48mn
Bit rate mode                    : Variable
Bit rate                         : 212 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Stream size                      : 165 MiB (15%)
Alignment                        : Aligned on interleaves
Interleave, duration             : 24 ms (0.72 video frame)
Interleave, preload duration     : 647 ms