[MPlayer-dev-eng] mplayer fails to play avi-file

gabor gabor at realtime.sk
Tue Oct 15 11:00:41 CEST 2002


On Tue, 2002-10-15 at 08:34, Svante Signell wrote:
> Arpi writes:
>  > Hi,
>  > 
>  > 1. wrong maillist for such user questions
> 
> I think this is the correct list since the slowness is inherent in
> mplayer itself. Also I'm using the latest CVS sources in addition to
> released versions. Xine handles this file acceptably, why not
> mplayer... Please tell me how to debug/profile mplayer playing this
> specific file: At least I can try to find the cause of slowness using
> the debugger/profiler.

bugreports go to mplayer-users at .... it's a rule created by the mplayer
developers.... 

> 
>  > 2. NI avi will NEVER work from slow-seekable media like network or cdrom
> 
> As written in my previous mail, the worst result were with two boxes
> equipped with DVD players, fast enough for most applications. One of
> the DVD-ROMS is an LG DRN-8080B with 512kB cache, 24xCD-ROM, 3.6 MB/s,
> 8XDVD-ROM, 10.8MB/s, access times: DVD - 130msec, CD - 120msec. DMA is
> enabled as reported before.
> 
> I would not call this slow-seekable media, you cannot find so much
> faster DVD-ROMS on the market (twice as fast can be found, but I don't
> think the problem is in the hardware, more likely the software...)
> The processor speed is 1GHz. This would be sufficient even for a
> non-interlaced avi-file, or...

it has nothing to do with your processor speed... it's that a
non-interlaced avi contains first the video part then the audio ( or
vice versa), so when playing back first you read a bit from beginning of
the file, then from middle of the file, then from beginning of the file,
then from middle of the file etc....

and seeking on a cd/dvd rom is never fast compared to seeking on a
hardix.

actually why are you using non-interlaced files? can't you convert them
to interlaced?
as far as i know a simple 'mencoder -oac copy -ovc copy in.avi -o
out.avi' will solve your problems...

bye,
gabor

> 
>  > > Hello,
>  > > 
>  > > After trying various ways to play a non-interlaced .avi file I'm
>  > > turning to this mailinglist. All efforts using mplayer fails :(. Xine
>  > > succeeds but only barely, vidix performs best.
>  > > 
>  > > I have tried with mplayer-0.90pre8-{0.0,0.1,0.2} and CVS from today
>  > > and yesterday, compiled with gcc-2.95.4 and gcc-3.2.1. The tries have
>  > > been on three different boxes, one PII 400MHz box w. SCSI cdrom AND
>  > > Mach64 graphics, an PIII 1GHz, box w DVD-ROM (24xCDROM) and Radeon
>  > > Mobility M6 and an PII 2x450MHz box w DVD-ROM (24xCDROM) and MGA
>  > > G400. For the IDE CDROM's DMA is enabled. Best results so far have been
>  > > on the slowest box w the SCSI CDROM.
>  > > 
>  > > After a while the audio/video playback gets out of sync, especially
>  > > when stepping into the file with <Page Up> and the slow warning is
>  > > displayed. The seek on the CDROM seems to move back and forth, and
>  > > once the oscillation starts it remains.
>  > > 
>  > > Video drivers tested are: Xv, X11, xvidix (still a pink screen on the
>  > > Radeon Mobility)
>  > > Audio drivers: oss, alsa9, (and nosound). I have tried various switches,
>  > > such as
>  > > -nocache, -framedrop, -hardframedrop, -nobps etc, all resulting in a
>  > > non-viewable movie.
>  > > 
>  > > Note: No problems have been found playing other avi files, mpg files,
>  > > VCD's or DVD's.
>  > > 
>  > > More detailed info below (CVS compile with mmx2 and gcc-3.2.1):
>  > > 
>  > > MPlayer CVS-021014-18:33-3.2.1 (C) 2000-2002 Arpad Gereoffy (see DOCS)
>  > > 
>  > > CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
>  > > CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
>  > > Compiled for x86 CPU with extensions: MMX MMX2 SSE
>  > > 
>  > > Detected AVI file format!
>  > > Detected NON-INTERLEAVED AVI file-format!
>  > > VIDEO:  [DIV3]  640x272  24bpp  23.98 fps  905.3 kbps (110.5 kbyte/s)
>  > > ==========================================================================
>  > > 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)
>  > > ==========================================================================
>  > > vo: X11 running at 1400x1050 with depth 16 and 16 bpp (":0" => local display)
>  > > ==========================================================================
>  > > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
>  > > Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
>  > > ==========================================================================
>  > > alsa-init: testing and bugreports are welcome.
>  > > alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit
>  > > (Little-Endian)alsa-init: 1 soundcard found, using: hw:0,0
>  > > alsa9: 48000 Hz/2 channels/4 bpf/16384 bytes buffer/Signed 16 bit Little Endian
>  > > AO: [alsa9] 48000Hz 2ch Signed 16-bit (Little-Endian)
>  > > Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
>  > > Start playing...
>  > > VDec: vo config request - 640 x 272 (preferred csp: Planar YV12)
>  > > VDec: using Planar YV12 as output csp (no 0)
>  > > Movie-Aspect is undefined - no prescaling applied.
>  > > VO: [xv] 640x272 => 640x272 Planar YV12 
>  > > _______________________________________________
>  > > MPlayer-dev-eng mailing list
>  > > MPlayer-dev-eng at mplayerhq.hu
>  > > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>  > > 
>  > > 
>  > 
>  > 
>  > A'rpi / Astral & ESP-team
>  > 
>  > --
>  > Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
>  > _______________________________________________
>  > MPlayer-dev-eng mailing list
>  > MPlayer-dev-eng at mplayerhq.hu
>  > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
-- 




More information about the MPlayer-dev-eng mailing list