[MPlayer-users] Seek command in slave mode is not precise

Dusan Halicky dusan.halicky at gmail.com
Wed Nov 5 19:31:30 CET 2008


> Does this happen with the same file ?
yes

> What kind of file is it, which container and which codec ?
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Atom(TM) CPU  230   @ 1.60GHz (Family: 6, Model: 28, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
VIDEO:  [XVID]  712x480  16bpp  23.976 fps
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
Forced audio codec: mad
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 712 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 712x480 => 852x480 Planar YV12

> What application created the file ?
I dont know

I try to reencoded it with mencoder and set key frames to 1s

>> MPlayer (and almost all other video players) can only jump to the
>> nearest I-frame/keyframe in a video.  You could reencode the video as
>> all-I-frames, or seek some distance before the time you want, and let it
>> play until it reaches the proper time.
>>> The problem is, when I use command "seek 4 2", it jump to 00:09:00.
>>> Also when I use "seek 60 2", it actually seek to 64 or so. But
>>> sometimes it jump on correct time (usually when I choose different
>>> time, e.g. "seek 300 2" jumps to 00:05:00).



More information about the MPlayer-users mailing list