Audio/video out of sync on MP4 movie


I have this issue when playing an XviD movie : the beginning of the movie plays well, but the sound is going out of sync after a few minutes and the delay is getting more and more noticeable.

The file plays OK on my computer (with VLC for example).

Here are the MediaInfo details :

Complete name                    : **********.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 698 MiB
Duration                         : 1h 32mn
Overall bit rate                 : 1 060 Kbps
Writing application              : Nandub v1.0rc2
Writing library                  : Nandub build 1852/release

ID                               : 0
Format                           : MPEG-4 Visual
Format profile                   : Advanced Simple@L5
Format settings, BVOP            : Yes
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default (H.263)
Codec ID                         : XVID
Codec ID/Hint                    : XviD
Duration                         : 1h 32mn
Bit rate                         : 915 Kbps
Width                            : 624 pixels
Height                           : 336 pixels
Display aspect ratio             : 1.857
Frame rate                       : 24.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.182
Stream size                      : 602 MiB (86%)
Writing library                  : XviD 0039 build=2005.09.16 (UTC 2005-09-16)

ID                               : 1
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Mode                             : Joint stereo
Mode extension                   : MS Stereo
Codec ID                         : 55
Codec ID/Hint                    : MP3
Duration                         : 1h 32mn
Bit rate mode                    : Variable
Bit rate                         : 128 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Stream size                      : 87.1 MiB (12%)
Alignment                        : Aligned on interleaves
Interleave, duration             : 24 ms (0.58 video frame)
Interleave, preload duration     : 452 ms
Writing library                  : LAME3.90.
Encoding settings                : -m j -V 4 -q 2 -lowpass 17.6 --abr 128

Thank you in advance for your help.

You say, “an” movies,  so this happens only with this specific file, I don’t see why it should not play. Try to PM   TonyPh12345, he might be able to help you.

I just watched a few movies, and this only file was concerned… but there are a lot of others files which I did not try yet…

So, does the audio get AHEAD of the video, or does it lag BEHIND the video?

The audio lags behind the video (first I see the image, then I hear the sound).

And the offset between audio and video is getting bigger and bigger during the movie.