[MPlayer-users] mplayer fails on this AVI

Manuel Mollar mm at nisu.org
Tue Dec 18 10:59:35 CET 2001


Arpi wrote:

> > the file http://mor.act.uji.es/7.avi has been obtained using head -c 8000000
> > from a 700MByte file. Problems came with the large file. I use the last cvs.
> > Tryied on two differnt computers. With the 7.avi file:
> >
> > -using "mplayer 7.avi" audio stops at second 29.3 (video continues), saying,
> > for example:
> >
> > A:  29.3 V:  56.5 A-V:-27.211 ct: -2.676  1413/1413  13% 10%  1.0% 15 0 0%
> >
> > it seems that really there is no more audio in the truncated file.
> yes. it's badly interleaved, audio is stored 'faster' than video.
> using -ni is required (and it won't work with -bps)
>
> > -using "mplayer -ni 7.avi" all seems to work ok, as mplayer writes on terminal
> > that audio and video go ok, BUT image is stoped at second 13 (no pixels are
> > sent to display), audio goes ok until second 29, and mplayer finishes.
> can't reproduce. it plays fine for me, up to 29 second, then it exists.
> (yes, it's may be a bug, as it exists when audio stream ends, instead of
> waiting for more video - i'll check this, but this is another thing)
>
> could you show me all details (mplayer -v output) playing back with -ni ?
>

mplayer -vc divx /usr/local/httpd/htdocs/7.avi -ni -v


MPlayer CVS-011217-18:36-2.95.3 (C) 2000-2001 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /home/mollar/.mplayer/codecs.conf: 15 audio & 32 video codecs
CommandLine: '-vc' 'divx' '/usr/local/httpd/htdocs/7.avi' '-ni' '-v'
num_filenames: 1
Font /home/mollar/.mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init: open: Permission denied
Using usleep() timing
Playing /usr/local/httpd/htdocs/7.avi
File size is 8000000 bytes
Detected AVI file format!
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 139357   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  576 x 320
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25000/1000 = 25.000
Start: 0   Len: 139357
Suggested BufferSize: 71019
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 576
  biHeight 320
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 552960
===========================
Regenerating keyframe table for DIVX 3 video
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0   Len: 232261
Suggested BufferSize: 480
Quality -1
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 12906
Block align: 1152
bits/sample: 0
cbSize: 12
Software  : Nandub v1.0rc2
Found movie at 0x280C - 0x2B2BB6E0
cache_stream_seek: WARNING! Can't seek to 0x2B2BB6E0 !
Using NON-INTERLEAVED Broken AVI file-format!
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
XXX initial  v_pts=0.000  a_pos=0 (0.000)
AVI video length=724042639
VIDEO:  [DIV3]  576x320  24bpp  25.00 fps  1039.1 kbps (126.8 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:576x320  fps:25.00  ftime:=0.0400
Clip info:
 Encoder: Nandub v1.0rc2
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: Processor ID: 686
mp3lib: Using Pentium-MMX optimized decore.
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
Forcing video codec: [divx] drv:2 (DivX ;-) (MS MPEG-4 v3))
======= Win32 (VFW) VIDEO Codec init =======
fs seg 0x40038000
Loading DLL: 'divxc32.dll'
ICDecompressGetFormatSize ret: 40
ICDecompressGetFormat OK
Starting decompression, format:
  biSize 40
  biWidth 576
  biHeight 320
  biPlanes 1
  biBitCount 24
  biCompression 0x33564944 ('DIV3')
  biSizeImage 552960
Dest fmt:
  biSize 40
  biWidth 576
  biHeight -320
  biPlanes 1
  biBitCount 16
  biCompression 0x0 ('')
  biSizeImage 368640
ICDecompressQuery OK
VIDEO CODEC Init OK!!! ;-)
INFO: Win32 video codec init OK!
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 576x320 => 576x320 Packed YUY2
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(576x320->576x320,flags=0,'MPlayer',0x32595559)
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1152x864 with depth 24 and 32 bits/pixel (":0" => local display)

Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 36 for hw scaling
[xv] dcx: 5 dcy: 19 dx: 0 dy: 0 dw: 576 dh: 320
INFO: Video OUT driver init OK!
AO: [sdl] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: SDLlib audio output
AO: Author: Felix Buenemann <atmosfear at users.sourceforge.net>
SDL: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit (Little-Endian)
SDL: buf size = 4096
Start playing...
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[xv] dcx: 5 dcy: 19 dx: 0 dy: 0 dw: 576 dh: 320
SDL: Audio Subsystem shutting down!0.320  410/410  14% 18% 10.1% 74 0 64%
*** free_stream() called ***




More information about the MPlayer-users mailing list