[MPlayer-users] BUG: sstep is broken

Pavlos Mavridis stud1313 at di.uoa.gr
Sat Aug 13 09:56:13 CEST 2005


Just tried with the cvs and I get the same problem, the EOF is not 
recognized and I repeatedly get the last frame. pre7 and pre6 also have 
the same issue.

I get the same error irrespectively of video driver and sound driver. If 
I change the codec, for example if I use xvid instead of ffmpeg, the 
behavior changes a bit, but the EOF is still not recognized.

As I said, the bug can be replicated easily with any avi file but not 
mpg files.

Here is the verbose output (with --enable-debug=3)

  ./mplayer -v -nosound -sstep 100 /mnt/ultrafat/new_folder/foo.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-050813-10:06-3.4.3-20050110 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, 
Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


This codecs.conf is too old and incompatible with this MPlayer release! 
at line 6
CommandLine: '-v' '-nosound' '-sstep' '100' 
'/mnt/ultrafat/new_folder/foo.avi'
init_freetype
get_path('font/font.desc') -> '/home/filter/.mplayer/font/font.desc'
font: can't open file: /home/filter/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (200 
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/filter/.mplayer/input.conf'
Can't open input config file /home/filter/.mplayer/input.conf: No such 
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such 
file or directory
Falling back on default (hardcoded) input config
get_path('foo.avi.conf') -> '/home/filter/.mplayer/foo.avi.conf'
Playing /mnt/ultrafat/new_folder/foo.avi.
[file] File size is 733665280 bytes
STREAM: [file] /mnt/ultrafat/new_folder/foo.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:2039808
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 154872   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  544 x 304
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 12570329/524288 = 23.976
Start: 0   Len: 154872
Suggested BufferSize: 49338
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
   biSize 40
   biWidth 544
   biHeight 304
   biPlanes 1
   biBitCount 24
   biCompression 1145656920='XVID'
   biSizeImage 992256
===========================
Regenerating keyframe table for MPEG4 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0   Len: 269144
Suggested BufferSize: 768
Quality -1
Sample size: 0
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16014
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x0
mp3.nBlockSize=385
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=154872)
list_end=0x22D2
hdr=Software  size=44
Software  : VirtualDubMod 1.5.10.1 (build 2439/release)
list_end=0x2B534EFA
Found movie at 0x280C - 0x2B534EFA
Reading INDEX block, 424016 chunks for 154872 frames (fpos=0x2b534f02)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x18C)
Auto-selected AVI video ID = 0
AVI_NI: No audio stream found -> no sound.
AVI video size=619956299 (154872) audio size=0 (0)
VIDEO:  [XVID]  544x304  24bpp  23.976 fps  767.8 kbps (93.7 kbyte/s)
VIDEO:  [XVID]  544x304  24bpp  23.976 fps  767.8 kbps (93.7 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:544x304  fps:23.98  ftime:=0.0417
Clip info:
  Software: VirtualDubMod 1.5.10.1 (build 2439/release)
get_path('sub/') -> '/home/filter/.mplayer/sub/'
get_path('default.sub') -> '/home/filter/.mplayer/default.sub'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
xscreensaver_disable: xscreensaver wid=12582913.
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 1.789474
VDec: vo config request - 544 x 304 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.79:1 - prescaling to correct movie aspect.
VO Config (544x304->544x304,flags=0,'MPlayer',0x32315659)
VO: [xv] 544x304 => 544x304 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 177 for hw scaling
[xv] dx: 0 dy: 0 dw: 544 dh: 324
*** [vo] Allocating (slices) mp_image_t, 544x304x12bpp YUV planar, 
248064 bytes
[xv] dx: 0 dy: 0 dw: 544 dh: 324
*** [vo] Allocating (slices) mp_image_t, 544x304x12bpp YUV planar, 
248064 bytes
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe
[mpeg4 @ 0x8524e60]warning: first frame is no keyframe

.......And so on, until I exit

uninit video: ffmpeg72 ??% ??% ??,?% 0 0 35%
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)

I'm using gentoo with :

  $ uname -a
Linux KRONOS 2.6.10 #5 Sat Mar 19 14:05:09 EET 2005 i686 AMD Athlon(tm) 
  AuthenticAMD GNU/Linux
  $ ls -l /lib/libc[.-]*
-rwxr-xr-x  1 root root 1389040 Mar 24 21:09 /lib/libc-2.3.4.so
lrwxrwxrwx  1 root root      13 Mar 24 21:09 /lib/libc.so.6 -> libc-2.3.4.so
  $ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/specs
Configured with: ...
Thread model: posix
gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110, 
ssp-3.4.3.20050110-0, pie-8.7.7)
  $ ld -v
GNU ld version 2.15.92.0.2 20040927
  $ as --version
GNU assembler 2.15.92.0.2 20040927
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-linux-gnu'.

Hope it's useful




More information about the MPlayer-users mailing list