[MPlayer-users] dropped frames/jerky playback

Fred Perloff fperloff at mind.net
Sat Oct 19 00:44:02 CEST 2002


OK, in previous post, mplayer couldn't open/init audio device when I
started her with -ao arts, even though artsd was running. Today I
rebooted the computer, and mplayer does open audio device. I don't know
what has changed, but that's OK. She is working.

However, the playback is jerky. Benchmark says mplayer with -ao arts and
-vo gl2 is using ~55% of the system. (I tried xv, and x11 and they
10-15% more of system). Is it reasonable to expect smooth playback and
no dropped frames? Where should I be looking to improve playback?

TIA,
Fred

*************************************************************************
bug report - system description
*************************************************************************
RedHat 7.3 

[root:~]# uname -a 
Linux localhost.localdomain 2.4.18-10.7w #2 Thu Oct 3 20:40:01 PDT 2002
i686 unknown 

[root:~]# ls -l /lib/libc[.-]* 
-rwxr-xr-x  1 root  root 1164948 Aug 25 15:37 /lib/libc-2.2.90.so 
lrwxrwxrwx  1 root  root 14 Sep  4 23:33 /lib/libc.so.6 ->    
libc-2.2.90.so 

XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / X Window System
(protocol Version 11, revision 0, vendor release 6600) 
Release Date: 23 January 2002 

gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) 
GNU ld version 2.13.90.0.2 20020802 
GNU assembler 2.13.90.0.2 20020802 

[root:~]# cat /proc/cpuinfo 
processor       : 0 
vendor_id       : AuthenticAMD 
cpu family      : 6 
model           : 6 
model name      : AMD Athlon(tm) XP 1700+ 
stepping        : 2 
cpu MHz         : 1470.030 
cache size      : 256 KB 
fdiv_bug        : no 
hlt_bug         : no 
f00f_bug        : no 
coma_bug        : no 
fpu             : yes 
fpu_exception   : yes 
cpuid level     : 1 
wp              : yes 
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow 
bogomips        : 2929.45 

Video Card Abit Silurio T200 
nVidia GeForce2 MX 32MB SDRAM 

video driver: NVIDIA_GLX-1.0-3123 

sound card: on board VIA VT8233 AC97 

****************************************************************
Contents of mplayer.log
****************************************************************
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-021012-21:53-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
Multiprocessor/Athlon XP eXtreme Performance (Famil
y: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /home/baba/.mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine: '-dvd' '1' '-chapter' '12' '-ao' 'arts' '-vo' 'gl2'
'-benchmark' '-frames' '2000' '-autosync' '30
' '-v'
get_path('font/font.desc') -> '/home/baba/.mplayer/font/font.desc'
Font /home/baba/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz)
get_path('input.conf') -> '/home/baba/.mplayer/input.conf'
Can't open input config file /home/baba/.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

Playing DVD title 1
get_path('') -> '/home/baba/.mplayer/'
get_path('DVDKeys') -> '/home/baba/.mplayer/DVDKeys'
Using CSS Key-cache dir: /home/baba/.mplayer/DVDKeys/STING_V1
Reading disc structure, please wait...
There are 2 titles on this DVD.
There are 19 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
[open] audio stream: 0 audio format: ac3 (5.1) language: unknown aid:
128
[open] audio stream: 1 audio format: ac3 (stereo) language: unknown aid:
129
[open] number of audio channels on disk: 2.
[open] number of subtitles on disk: 0
DVD start cell: 11  pack: 0x165530-0x184247
DVD start=1463600 end=2228076
DVD Seek! lba=0x165530  cell=11  packs: 0x165530-0x184247
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x83a4e78
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x83a4e78
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x83a4e78
Checking for MOV
DEMUXER: freeing demuxer at 0x83a4e78
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x83a4e78
Checking for REAL
DEMUXER: freeing demuxer at 0x83a4e78
DVD Seek! lba=0x36FBB  cell=0  packs: 0x36FBB-0x54C80
Angle-seek synced by cell/vob IDN search!
DEMUXER: freeing demuxer at 0x83a4e78
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x0
dvd_next_cell: next3=0x1
dvd_next_cell: next1=0x1
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
dvd_next_cell: next1=0x2
dvd_next_cell: next2=0x2
dvd_next_cell: next3=0x3
dvd_next_cell: next1=0x3
dvd_next_cell: next2=0x3
dvd_next_cell: next3=0x4
dvd_next_cell: next1=0x4
dvd_next_cell: next2=0x4
dvd_next_cell: next3=0x5
dvd_next_cell: next1=0x5
dvd_next_cell: next2=0x5
dvd_next_cell: next3=0x6
dvd_next_cell: next1=0x6
dvd_next_cell: next2=0x6
dvd_next_cell: next3=0x7
dvd_next_cell: next1=0x7
dvd_next_cell: next2=0x7
dvd_next_cell: next3=0x8
dvd_next_cell: next1=0x8
dvd_next_cell: next2=0x8
dvd_next_cell: next3=0x9
dvd_next_cell: next1=0x9
dvd_next_cell: next2=0x9
dvd_next_cell: next3=0xA
dvd_next_cell: next1=0xA
dvd_next_cell: next2=0xA
dvd_next_cell: next3=0xB
DVD Seek! lba=0x165530  cell=11  packs: 0x165530-0x184247
Angle-seek synced by cell/vob IDN search!
DEMUXER: freeing demuxer at 0x83a4e78
DVD Seek! lba=0x36FBB  cell=0  packs: 0x36FBB-0x54C80
Angle-seek synced by cell/vob IDN search!
DEMUXER: freeing demuxer at 0x83a4e78
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x0
dvd_next_cell: next3=0x1
dvd_next_cell: next1=0x1
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
dvd_next_cell: next1=0x2
dvd_next_cell: next2=0x2
dvd_next_cell: next3=0x3
dvd_next_cell: next1=0x3
dvd_next_cell: next2=0x3
dvd_next_cell: next3=0x4
dvd_next_cell: next1=0x4
dvd_next_cell: next2=0x4
dvd_next_cell: next3=0x5
dvd_next_cell: next1=0x5
dvd_next_cell: next2=0x5
dvd_next_cell: next3=0x6
dvd_next_cell: next1=0x6
dvd_next_cell: next2=0x6
dvd_next_cell: next3=0x7
dvd_next_cell: next1=0x7
dvd_next_cell: next2=0x7
dvd_next_cell: next3=0x8
dvd_next_cell: next1=0x8
dvd_next_cell: next2=0x8
dvd_next_cell: next3=0x9
dvd_next_cell: next1=0x9
dvd_next_cell: next2=0x9
dvd_next_cell: next3=0xA
dvd_next_cell: next1=0xA
dvd_next_cell: next2=0xA
dvd_next_cell: next3=0xB
DVD Seek! lba=0x165530  cell=11  packs: 0x165530-0x184247
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x36FBB  cell=0  packs: 0x36FBB-0x54C80
Angle-seek synced by cell/vob IDN search!
DEMUXER: freeing demuxer at 0x83a4e78

Checking for PVA
DEMUXER: freeing demuxer at 0x83a5c60
system stream synced at 0xB2A9800D (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  8750.0 kbps (1093.8
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/baba/.mplayer/sub/'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with 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, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
VO: [gl2] 720x480 => 720x540 Planar YV12
VO: Description: X11 (OpenGL) - multiple textures version
VO: Author: Arpad Gereoffy & Sven Goethel
X11 opening display: :0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0" => local
display)
[gl2] OpenGL Driver Information:
        vendor: NVIDIA Corporation,
        renderer GeForce2 MX/AGP/3DNOW!,
        version 1.3.1 NVIDIA 31.23
[gl2] You have an OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is
ok !)
Using MMX2 for colorspace transform
[gl2] YUV init OK!
[gl2] Creating 1x1 textures of size 1024x512 ...
[gl2] antialiasing off
[gl2] bilinear linear
[gl2] Using image_bpp=16, image_bytes=2, isBGR=0,
        gl_bitmap_format=GL_RGB, gl_bitmap_type=GL_UNSIGNED_SHORT_5_6_5,
        gl_alignment=8, rgb_size=0 (0,0,0), a_sz=0,
        gl_internal_format=GL_RGB5, tweaks=mmx_bpp
[gl2] Resize: 720x540
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
AO: [arts] Connected to sound server
AO: [arts] Stream opened
AO: [arts] buffer size: 45056
AO: [arts] packet size: 2048
AO: [arts] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: aRts audio output
AO: Author: Michele Balistreri <brain87 at gmx.net>
Building audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000010
and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000010
and bps = 2
Start playing...
==> Found audio stream: 129
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
A:3316.1 V:3316.5 A-V: -0.383 ct:  0.000    1/  1   0%  0%  0.0% 0 0
0%^M*** [vo] Allocating mp_image_t, 720x4
80x12bpp YUV planar, 518400 bytes
[gl2] using slice method yuv
A:3316.2 V:3316.5 A-V: -0.383 ct: -0.003    2/  2   0%  0%  0.0% 0 0 0%
[snip]
A:3383.3 V:3383.3 A-V: -0.011 ct: -0.406  2001/2001  15% 23%  5.0% 7 0
0%^M
EOF code: 1


BENCHMARKs: VC:  10.323s VO:  15.960s A:   3.345s Sys:37.621s =67.249s
BENCHMARK%: VC: 15.3511% VO: 23.7323% A:  4.9739% Sys:55.9427%=100.0000%
Uninit audio filters...
uninit audio: liba52
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x83a5c60
DEMUXER: freeing sh_video at 0x83a6660
DEMUXER: freeing sh_audio at 0x83a6f00
DEMUXER: freeing sh_audio at 0x840dc58
vo: uninit ...

Exiting... (End of file)




More information about the MPlayer-users mailing list