You are not logged in.
Sometimes mplayer is extremely slow when seeking in files, e.g. by using the arrow keys or page up/down. At one time I can instantly seek through the whole file and the next minute it takes more than 5-10 seconds to skip 10 seconds in the same file. It seems to come and go at random times.
Anyone else notice this?
Offline
Can you start it in a terminal and post here the input ? Sometimes it's because of badly interleaved avi file.
Offline
Nothing is printed, unless I turn on verbosity. Each line is when I seek in the file.
SEEK: idx=892 (a:892 v:930) v.skip=15 a.skip=0/0.000 1.0% 8 0
SEEK: idx=1696 (a:1696 v:1735) v.skip=16 a.skip=0/0.000 4% 0 0
SEEK: idx=2425 (a:2425 v:2464) v.skip=16 a.skip=0/0.000 ?% 1 0
SEEK: idx=3256 (a:3256 v:3294) v.skip=15 a.skip=0/0.000 ?,?% 0 0
SEEK: idx=3978 (a:3978 v:4015) v.skip=15 a.skip=0/0.000 ?,?% 0 0
SEEK: idx=4710 (a:4710 v:4749) v.skip=16 a.skip=0/0.000 ?,?% 1 0
SEEK: idx=5448 (a:5448 v:5486) v.skip=15 a.skip=0/0.000 ?,?% 0 0
SEEK: idx=6161 (a:6161 v:6200) v.skip=16 a.skip=0/0.000 ?,?% 1 0
It's also strange that CPU usage remains at 2%-5% all the time. Begins to look like a nasty Xorg/Nvidia kind of bug.
Offline
This output has nothing abnormal. But your mplayer is strange. Normally, without any switches, it prints a lot of info about the file it opens.
Anyway, try different output drivers (xv, gl, etc.) some of them can not to work, it's not critical. But if you find a driver which works better, it can by a Nvidia bug.
Last edited by artiom (2009-02-20 08:26:25)
Offline
Sorry, I skipped the first part of the output. This is the output when I play the file and seek through the end. Nothing abnormal it seems.
Changing the video driver doesn't help either and because it happens and dissapears randomly on all my videos I guess it's an obscure bug. Thanks for the help anyway!
MPlayer dev-SVN-rUNKNOWN-4.3.2 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (Family: 6, Model: 23, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
137 audio & 292 video codecs
Playing /mnt/data/Solitary/Solitary.S03E03.Rats.DSR.XviD-[NY2].avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 512x384 12bpp 29.970 fps 994.1 kbps (121.4 kbyte/s)
Clip info:
Software: MediaCoder 0.6
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 80.0 kbit/5.21% (ratio: 10000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 512 x 384 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 512x384 => 512x384 Planar YV12
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
[mpeg4 @ 0x89eb640]warning: first frame is no keyframe?% ??% ??,?% 0 0
A:2639.5 V:2639.4 A-V: 0.093 ct: 0.013 79104/79104 ??% ??% ??,?% 0 0
Exiting... (End of file)
Offline
[mpeg4 @ 0x89eb640]warning: first frame is no keyframe?% ??% ??,?% 0 0
I believe that this is telling you that the file is malformed; That it was encoded badly.
Offline
[mpeg4 @ 0x89eb640]warning: first frame is no keyframe?% ??% ??,?% 0 0
I believe that this is telling you that the file is malformed; That it was encoded badly.
Or that the AVI demuxer code has a seeking bug, but that's a lot less likely, given how well tested that code is. I'd bet on the bogus encode instead.
Offline
skottish wrote:[mpeg4 @ 0x89eb640]warning: first frame is no keyframe?% ??% ??,?% 0 0
I believe that this is telling you that the file is malformed; That it was encoded badly.
Or that the AVI demuxer code has a seeking bug, but that's a lot less likely, given how well tested that code is. I'd bet on the bogus encode instead.
I thought about that also. It's an extremely common error for different codecs in FFmpeg/Mplayer, and it seems to always end up being the encoding.
Offline
Do you get the same slowness sometimes when you press 'o'?
Offline
Do you get the same slowness sometimes when you press 'o'?
No 'o' doesn't seem to matter. Also tried with other files without the missing keyframes but that doesn't seem to matter. I tried playing the file right after boot (only X app running is icewm) and sometimes it seeks just fine and sometimes it's slow as hell. Playback is always good though.
Offline