[MPlayer-users] Seeking bug in mplayer.

P. Rybin pr254 at cam.ac.uk
Fri Apr 19 18:43:23 CEST 2002


Hi!
I've got this AVI file, and when it's simply played back, the audio and video are in sync. However, if I do some seeking, the sync is lost. The same thing happens if I start mplayer with the -forceidx option, so I don't think there's anything wrong with the index of the file.
This was observed with the CVS snapshot from 20020404, couldn't try it with a current snapshot because of another bug that is the subject of another report.

Cheers,
Pav

Don't know how relevant this is, but here are my system specs and other stuff:

SuSE 7.2 distro with stock 2.4.4 kernel
XFree86 4.1.0
nvidia geforce2 mx graphics card using the binary nvidia drivers
Athlon Thunderbird 900MHz cpu
512mb sdram
SB Live! using alsa 0.5 drivers

output of mplayer -v:
MPlayer CVS-020404-05:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/pavel/.mplayer/codecs.conf: 30 audio & 80 video codecs
CommandLine: '-v' 'Go!.avi'
get_path('font/font.desc') -> '/home/pavel/.mplayer/font/font.desc'
Font /home/pavel/.mplayer/font/font.desc loaded successfully! (495 chars)
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/pavel/.mplayer/input.conf'
Parsing input config file /home/pavel/.mplayer/input.conf
Input config file /home/pavel/.mplayer/input.conf parsed : 50 binds
Setting up lirc support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed opening lirc support!
You won't be able to use your remote control
Playing Go!.avi
Can't open IFO file: No such file or directory
Not an URL!
File size is 524225536 bytes
Detected AVI file format!
list_end=0x170
======= AVI Header =======
us/frame: 33367  (fps=29.970)
max bytes/sec: 267838
padding: 0
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames  total: 189379   initial: 0
streams: 2
Suggested BufferSize: 60005
Size:  640 x 256
list_end=0xE8
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div4 (34766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 30000/1001 = 29.970
Start: 0   Len: 183270
Suggested BufferSize: 60005
Quality 5000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 256
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 491520
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x170
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 16000/1 = 16000.000
Start: 0   Len: 101104000
Suggested BufferSize: 15981
Quality -1
Sample size: 1
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
Broken chunk?  chunksize=1660  (id=JUNK)
list_end=0x1F10C12E
Found movie at 0x800 - 0x1F10C12E
Reading INDEX block, 189589 chunks for 189379 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 189589 chunks for 189379 frames
AVI index offset: 0x7FC (movi=0x800 idx0=0x4 idx1=0x440)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
AVI: Searching for audio stream (id:1)
XXX initial  v_pts=0.934  a_pos=0 (0.000)
AVI video length=418568974
VIDEO:  [DIV3]  640x256  24bpp  29.97 fps  547.6 kbps (66.8 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x256  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/pavel/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext 3dnow
INFO: libavcodec init OK!
Detected video codec: [ffdivx] drv:5 prio:0 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AutoQ: setting quality to 0
AO: [alsa5] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: ALSA-0.5.x audio output
AO: Author: Alex Beregszaszi <alex at naxine.org>
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)alsa-init: compiled for ALSA-0.5.10b (1290)
alsa-init: 1 soundcard found, using: EMU10K1
alsa-init: setting preferred buffer size from driver: 131072 bytes
AUDIO: 48000 Hz/2 channels/192000 bps/131072 bytes buffer/Signed 16-bit Little Endian
Start playing...
VDec: vo config request - 640 x 256, Planar YV12
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 640x256 => 640x256 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
video_out->init(640x256->640x256,flags=0,'MPlayer',0x32315659)
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1280x1024
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
A:   1.3 V:   1.3 A-V:  0.002 ct:  0.034   41/ 41   1%  8%  1.9% 0 0 0%
*** free_stream() called ***
SDL: activating XScreensaver/DPMS

Exiting... (Quit)






More information about the MPlayer-users mailing list