[MPlayer-users] Broken AVI header

Michael Collard quadfour at iinet.net.au
Sun May 18 07:17:14 CEST 2003

On Sat, 2003-05-17 at 19:12, Michael Collard wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> MPlayer 0.90
> Mandrake 9.1
> Audio: OSS, Video: xv
> A DVD rip using VBR(MP3lame) & libavcodec(DivX5) results in a file that
> plays out of sync by ~300ms. Doing a '-nobps' results in perfect
> playback. 
> 2 Separate rips (2 DVDs) were done. Both files have this problem. I can
> upload a 20Mb clip if required. I didn't think to grab the output of
> mencoder, and since I've spent many hours trying to solve this. 
> If the header is broken, is there a way to fix it?
> Thanks
> Michael.

Some more information...

MEncoder 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 6)Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /home/quadfour/.mplayer/codecs.conf: can't open
'/home/quadfour/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /home/quadfour/.mplayer/mencoder: No such file or
Reading disc structure, please wait...
There are 2 titles on this DVD.
There are 16 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0  data: 0x0 - 0x7E5AF800
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  7100.0 kbps (887.5
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
input fps will be interpreted as 25.00 instead
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit ->
Writing AVI header...
Pos:   0.9s     22f ( 0%)   0fps Trem:   0min   0mb  A-V:0.084 [0:35]
Skipping frame!
Pos:   1.3s     33f ( 0%)   0fps Trem:   0min   0mb  A-V:0.081 [0:38]
Skipping frame!
Pos:  13.1s    329f ( 0%)  69fps Trem:  36min  37mb  A-V:0.064 [0:43]
Writing AVI index...
Fixing AVI header...
Video stream:    0.800 kbit/s  (99 bps)  size: 1308 bytes  13.080 secs 
329 frames
Audio stream:   43.455 kbit/s  (5431 bps)  size: 73656 bytes  13.560

BTW, CTRL-C'd it.

Those skipped frames add up to the exact time the delay is. I can
understand this, but what causes them? I have tried using -ofps, and
-noskip. Any ideas?


More information about the MPlayer-users mailing list