[MPlayer-users] [bugreport] -ss does not seek to the right time

M. van de Sanden M.vd.Sanden at ai.rug.nl
Wed Aug 28 01:39:01 CEST 2002


Hello,

I have found a bug. When I use the -ss switch, mplayer doesn't start 
playing a the right moment. For instance when I use the folowing command 
line: "mplayer -vo xv movie.avi -ss 0:10:00" osd tells me that it starts 
at 0:16:45. So far as I have tried, it only happens when playing files 
created by mplayer with the -dumpstream switch. I have tried various -vo * 
switches, but all show the exact behaviour.

Uploading a sample file named Serendepity-small.avi to the mplayer ftp 
server.

Mart

Sys info:
Red Hat 7.2 (modified)

Kerbel: Linux 2.4.19
libc version: 2.2.4
X version: 4.2.0
gcc version: 2.95.3
GNU ld version: 2.11.90.0.8 (with BFD 2.11.90.0.8)
binutils version: 2.11.80.0.8

CPU info:
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Pentium(R) 4 CPU 2.26GHz
stepping	: 4
cpu MHz		: 2271.848
cache size	: 512 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips	: 4535.09

Video cars:
nVidia GeForce4 Ti 4200 (Asus Vsomething)
Driver: Closed source nvidia drivers (1.0-2960)
Soundcard: SB Audigy Player with alsa-0.9.0rc3

Mplayer -v:

MPlayer CVS-020825-23:44-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel  (Family: 8, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading /home/mart/.mplayer/codecs.conf: can't open 
'/home/mart/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine:get_path('font/font.desc') -> 
'/home/mart/.mplayer/font/font.desc'
 '-vo' 'xv' '-ss' '2' '-v' 'Serendipity-small.avi'
font: can't open file: /home/mart/.mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 
chars)
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/mart/.mplayer/input.conf'
Can't open input config file /home/mart/.mplayer/input.conf : No such file 
or directory
Can't open input config file /usr/local/share/mplayer/input.conf : No such 
file or directory
Falling back on default (hardcoded) input config

Playing Serendipity-small.avi
Not an URL!
File size is 5242880 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82e6a90  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82e6a90  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82e6a90  
Checking for MOV
DEMUXER: freeing demuxer at 0x82e6a90  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82e6a90  
Checking for REAL
DEMUXER: freeing demuxer at 0x82e6a90  
DEMUXER: freeing demuxer at 0x82e6a90  
DEMUXER: freeing demuxer at 0x82e6a90  
DEMUXER: freeing demuxer at 0x82e6a90  
DEMUXER: freeing demuxer at 0x82e6a90  
DEMUXER: freeing demuxer at 0x82e6a90  
system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  10625.0 kbps (1328.1 
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/mart/.mplayer/sub/'
Detected audio codec: [a52] afm:14 (AC3-liba52)
Initializing audio codec...
Opening audio decoder: [liba52] AC3-liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 56000->192000 (448.0 
kbit)
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local 
display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
vo_debug: query(Planar YV12) returned 0x437 (i=0) 
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
video_out->init(720x576->1024x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 1024x576 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 119 for hw scaling
[xv] dx: 0 dy: 0 dw: 1024 dh: 614
Detected video codec: [mpeg12] vfm:1 (MPEG 1 or 2)
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: 
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   8/8  (16384 bytes/frag)  free: 131072
Start playing...
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xv] dx: 0 dy: 0 dw: 1024 dh: 576
A:   0.1 V:   0.1 A-V: -0.005 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
A:   9.5 V:   9.5 A-V:  0.028 ct:  0.003    2/  2   0%  0%  0.0% 0 0 0%
A:   9.5 V:   9.5 A-V:  0.020 ct:  0.005    3/  3   0%  0%  0.0% 0 0 0%
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
A:   9.5 V:   9.5 A-V:  0.010 ct:  0.006    4/  4   0%  0%  0.0% 0 0 0%
A:   9.6 V:   9.6 A-V:  0.038 ct:  0.009    5/  5   0%  0%  0.0% 0 0 0%
A:   9.7 V:   9.6 A-V:  0.038 ct:  0.013    6/  6   0%  0%  0.0% 0 0 0%
A:   9.7 V:   9.7 A-V:  0.026 ct:  0.016    7/  7   0%  0%  0.0% 0 0 0%
A:   9.7 V:   9.7 A-V:  0.016 ct:  0.017    8/  8   0%  0%  0.0% 0 0 0%
A:   9.7 V:   9.7 A-V:  0.004 ct:  0.018    9/  9   0%  0%  0.0% 0 0 0%
A:   9.8 V:   9.8 A-V:  0.004 ct:  0.018   10/ 10   0%  0%  0.0% 0 0 0%
A:   9.8 V:   9.8 A-V: -0.000 ct:  0.018   11/ 11   0%  0%  0.0% 0 0 0%
A:   9.9 V:   9.9 A-V: -0.000 ct:  0.018   12/ 12   0%  0%  0.0% 0 0 0%
A:   9.9 V:   9.9 A-V: -0.000 ct:  0.018   13/ 13   0%  0%  0.0% 0 0 0%
A:  10.0 V:  10.0 A-V: -0.020 ct:  0.016   14/ 14  14%  5%  2.3% 0 0 0%
A:  10.0 V:  10.0 A-V: -0.020 ct:  0.014   15/ 15  14%  5%  2.2% 0 0 0%
A:  10.0 V:  10.1 A-V: -0.032 ct:  0.011   16/ 16  14%  5%  2.2% 0 0 0%
A:  10.1 V:  10.1 A-V: -0.022 ct:  0.008   17/ 17  14%  5%  2.1% 0 0 0%
A:  10.1 V:  10.1 A-V: -0.030 ct:  0.005   18/ 18  14%  5%  2.0% 0 0 0%
A:  10.1 V:  10.2 A-V: -0.030 ct:  0.002   19/ 19  14%  5%  1.9% 0 0 0%
A:  10.2 V:  10.2 A-V:  0.004 ct:  0.003   20/ 20  14%  5%  2.0% 0 0 0%
A:  10.3 V:  10.3 A-V:  0.004 ct:  0.003   21/ 21  14%  5%  1.9% 0 0 0%
A:  10.3 V:  10.3 A-V: -0.008 ct:  0.002   22/ 22  14%  5%  1.9% 0 0 0%
A:  10.3 V:  10.3 A-V: -0.008 ct:  0.002   23/ 23  14%  5%  1.8% 0 0 0%
A:  10.4 V:  10.4 A-V: -0.016 ct: -0.000   24/ 24  14%  5%  1.8% 0 0 0%
A:  10.4 V:  10.4 A-V: -0.016 ct: -0.002   25/ 25  13%  5%  1.7% 0 0 0%
A:  10.5 V:  10.5 A-V:  0.008 ct: -0.001   26/ 26  13%  5%  1.8% 0 0 0%
A:  10.5 V:  10.5 A-V:  0.008 ct: -0.000   27/ 27  13%  5%  1.7% 0 0 0%
A:  10.5 V:  10.5 A-V: -0.004 ct: -0.001   28/ 28  14%  5%  1.7% 0 0 0%
A:  10.6 V:  10.6 A-V: -0.004 ct: -0.001   29/ 29  14%  5%  1.7% 0 0 0%
A:  10.6 V:  10.6 A-V: -0.012 ct: -0.002   30/ 30  14%  5%  1.7% 0 0 0%
A:  10.6 V:  10.7 A-V: -0.012 ct: -0.003   31/ 31  13%  5%  1.6% 0 0 0%
A:  10.7 V:  10.7 A-V: -0.020 ct: -0.005   32/ 32  13%  5%  1.7% 0 0 0%
A:  10.7 V:  10.7 A-V: -0.020 ct: -0.007   33/ 33  13%  5%  1.6% 0 0 0%
A:  10.8 V:  10.8 A-V:  0.010 ct: -0.007   34/ 34  13%  5%  1.6% 0 0 0%
A:  10.8 V:  10.8 A-V: -0.000 ct: -0.007   35/ 35  13%  5%  1.6% 0 0 0%
A:  10.9 V:  10.9 A-V: -0.000 ct: -0.007   36/ 36  13%  5%  1.5% 0 0 0%
A:  10.9 V:  10.9 A-V: -0.008 ct: -0.007   37/ 37  13%  5%  1.6% 0 0 0%
A:  10.9 V:  10.9 A-V:  0.002 ct: -0.007   38/ 38  13%  5%  1.5% 0 0 0%
A:  11.0 V:  11.0 A-V: -0.010 ct: -0.008   39/ 39  13%  5%  1.5% 0 0 0%
A:  11.0 V:  11.0 A-V: -0.010 ct: -0.009   40/ 40  13%  5%  1.5% 0 0 0%
A:  11.1 V:  11.1 A-V:  0.014 ct: -0.008   41/ 41  13%  5%  1.5% 0 0 0%
A:  11.1 V:  11.1 A-V:  0.014 ct: -0.006   42/ 42  13%  5%  1.5% 0 0 0%
A:  11.1 V:  11.1 A-V: -0.004 ct: -0.007   43/ 43  13%  5%  1.5% 0 0 0%
A:  11.2 V:  11.2 A-V:  0.006 ct: -0.006   44/ 44  13%  5%  1.5% 0 0 0%
A:  11.2 V:  11.2 A-V: -0.016 ct: -0.008   45/ 45  13%  5%  1.5% 0 0 0%
A:  11.3 V:  11.3 A-V: -0.006 ct: -0.009   46/ 46  13%  5%  1.5% 0 0 0%
A:  11.3 V:  11.3 A-V:  0.018 ct: -0.007   47/ 47  13%  5%  1.5% 0 0 0%
A:  11.3 V:  11.3 A-V:  0.008 ct: -0.006   48/ 48  13%  5%  1.4% 0 0 0%
A:  11.4 V:  11.4 A-V: -0.000 ct: -0.006   49/ 49  13%  5%  1.5% 0 0 0%
A:  11.4 V:  11.4 A-V: -0.000 ct: -0.006   50/ 50  13%  5%  1.4% 0 0 0%
A:  11.4 V:  11.5 A-V: -0.012 ct: -0.007   51/ 51  13%  5%  1.4% 0 0 0%
A:  11.5 V:  11.5 A-V: -0.002 ct: -0.007   52/ 52  13%  5%  1.4% 0 0 0%
A:  11.5 V:  11.5 A-V: -0.010 ct: -0.008   53/ 53  13%  5%  1.4% 0 0 0%
A:  11.6 V:  11.6 A-V: -0.010 ct: -0.010   54/ 54  13%  5%  1.4% 0 0 0%
A:  11.6 V:  11.6 A-V:  0.014 ct: -0.008   55/ 55  13%  5%  1.4% 0 0 0%
A:  11.7 V:  11.7 A-V:  0.014 ct: -0.007   56/ 56  13%  5%  1.4% 0 0 0%
A:  11.7 V:  11.7 A-V:  0.004 ct: -0.006   57/ 57  13%  5%  1.4% 0 0 0%
A:  11.7 V:  11.7 A-V: -0.008 ct: -0.007   58/ 58  13%  5%  1.4% 0 0 0%
A:  11.8 V:  11.8 A-V:  0.002 ct: -0.007   59/ 59  13%  5%  1.4% 0 0 0%
A:  11.8 V:  11.8 A-V: -0.010 ct: -0.008   60/ 60  13%  5%  1.4% 0 0 0%
A:  11.8 V:  11.9 A-V: -0.010 ct: -0.009   61/ 61  13%  5%  1.4% 0 0 0%
A:  11.9 V:  11.9 A-V:  0.018 ct: -0.007   62/ 62  13%  5%  1.4% 0 0 0%
A:  12.0 V:  11.9 A-V:  0.018 ct: -0.005   63/ 63  13%  5%  1.4% 0 0 0%
A:  12.0 V:  12.0 A-V: -0.004 ct: -0.006   64/ 64  13%  5%  1.4% 0 0 0%
A:  12.0 V:  12.0 A-V: -0.004 ct: -0.006   65/ 65  13%  5%  1.4% 0 0 0%
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)  
a52: CRC check failed!  
a52: error at resampling
A:  12.0 V:  12.1 A-V: -0.011 ct: -0.007   66/ 66  13%  5%  1.4% 0 0 0%
A:  12.1 V:  12.1 A-V: -0.011 ct: -0.008   67/ 67  13%  5%  1.3% 0 0 0%
A:  12.1 V:  12.1 A-V: -0.011 ct: -0.010   68/ 68  13%  5%  1.3% 0 0 0%
A:  12.2 V:  12.2 A-V: -0.011 ct: -0.011   69/ 69  13%  5%  1.3% 0 0 0%
A:  12.2 V:  12.2 A-V: -0.011 ct: -0.012   70/ 70  13%  5%  1.3% 0 0 0%
A:  12.2 V:  12.3 A-V: -0.011 ct: -0.013   71/ 71  13%  5%  1.3% 0 0 0%
A:  12.3 V:  12.3 A-V: -0.011 ct: -0.014   72/ 72  13%  5%  1.2% 0 0 0%
A:  12.3 V:  12.3 A-V: -0.011 ct: -0.015   73/ 73  13%  5%  1.2% 0 0 0%
A:  12.4 V:  12.4 A-V: -0.011 ct: -0.016   74/ 74  13%  5%  1.2% 0 0 0%
A:  12.4 V:  12.4 A-V: -0.011 ct: -0.017   75/ 75  13%  5%  1.2% 0 0 0%
A:  12.4 V:  12.5 A-V: -0.011 ct: -0.018   76/ 76  13%  5%  1.2% 0 0 0%
A:  12.5 V:  12.5 A-V: -0.010 ct: -0.019   77/ 77  13%  5%  1.2% 0 0 0%
A:  12.5 V:  12.5 A-V: -0.011 ct: -0.020   78/ 78  13%  5%  1.1% 0 0 0%
A:  12.6 V:  12.6 A-V: -0.011 ct: -0.021   79/ 79  13%  5%  1.1% 0 0 0%
A:  12.6 V:  12.6 A-V: -0.017 ct: -0.023   80/ 80  13%  5%  1.1% 0 0 0%
A:  12.6 V:  12.7 A-V: -0.057 ct: -0.027   81/ 81  13%  5%  1.1% 0 0 0%
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
A:  12.6 V:  12.7 A-V: -0.057 ct: -0.031   81/ 81  13%  5%  1.1% 0 0 0%
EOF code: 1  

DEMUXER: freeing demuxer at 0x82e6a90  
DEMUXER: freeing sh_video at 0x82e7870  
DEMUXER: freeing sh_audio at 0x82e9578  
vo: uninit ...

Exiting... (End of file)



-- 
Peace cannot be kept by force; it can only be achieved by understanding.
-- Albert Einstein




More information about the MPlayer-users mailing list