Discussion:
Performance issue
David Mulcahy
2006-03-04 22:49:28 UTC
Permalink
Hello all matrox users.

I am having a performance issue with mplayer using mga_vid in debian stable.  
Looking at all the advice online seems to indicate that -vo xmga will give
the best performace.  However I have been seeing a slight jerky picture when
the camera starts panning across a room or scenery.  I started adjusting lots
of thinks to rectify this (hdparm upgrading kernel and debian to unstable,
tweaking things) but what seems to work best is the following command.

mplayer -ao alsa -channels 2 -vo xv -dr -double -dvd-device /dev/cdrom dvd://1

I guess the question is why this works better because direct rendering is (as
far as i know) is more likely to work with xmga than xv, but in my case it
works with xv and again as far as i can tell doesnt work with xmga.

Now i thought I best check with the experts to see if I am in fact using the
best settings because I have a feeling that -vo xmga -dr should work and give
me better performance.  Am I right or do am I using the best way with -vo xv
-dr.

Any help appreciated

Dave

ps system Debian stable kernel 2.4.27
mga_vid working
P111 700 512MB RAM
Matrox g400
Attila Kinali
2006-03-04 23:49:33 UTC
Permalink
On Sat, 4 Mar 2006 22:49:28 +0000
Post by David Mulcahy
I am having a performance issue with mplayer using mga_vid in debian stable.  
Looking at all the advice online seems to indicate that -vo xmga will give
the best performace.  However I have been seeing a slight jerky picture when
the camera starts panning across a room or scenery.
It's actualy a problem of the codec eating more cpu time. When
you have a lot of movement, then the codec needs to access more of
the picture in a way that will most probably destroy all advantage
you get from L2 cache.
Post by David Mulcahy
 I started adjusting lots
of thinks to rectify this (hdparm upgrading kernel and debian to unstable,
tweaking things) but what seems to work best is the following command.
mplayer -ao alsa -channels 2 -vo xv -dr -double -dvd-device /dev/cdrom dvd://1
For me, using -cache 10000 mostly solves these issues.
If it's not related to cpu usage (have a look at the "suposedly droped frames"
counter), then -mc & co might be of use.
Post by David Mulcahy
I guess the question is why this works better because direct rendering is (as
far as i know) is more likely to work with xmga than xv, but in my case it
works with xv and again as far as i can tell doesnt work with xmga.
Hm.. dr is some kind of black magic. It only works in very special
cases and is silently disabled in all other. I haven't checked
the code myself so i cannot say whether mga should perform better or
not.

Just BTW: If you have a dual cpu machine, Xv will actualy give you better
performance than mga (around 20% or so) as it splits the load onto two
programs which are then able to use both cpus
Post by David Mulcahy
Now i thought I best check with the experts to see if I am in fact using the
best settings because I have a feeling that -vo xmga -dr should work and give
me better performance.  Am I right or do am I using the best way with -vo xv
-dr.
I'd need a -v log at least be able to say anything.

Attila Kinali
--
心をこめて聞け心をこめて話せ
David Mulcahy
2006-03-06 17:33:05 UTC
Permalink
Hello Attila
Post by Attila Kinali
On Sat, 4 Mar 2006 22:49:28 +0000
Post by David Mulcahy
I am having a performance issue with mplayer using mga_vid in debian
stable.   Looking at all the advice online seems to indicate that -vo
xmga will give the best performace.  However I have been seeing a slight
jerky picture when the camera starts panning across a room or scenery.
It's actualy a problem of the codec eating more cpu time. When
you have a lot of movement, then the codec needs to access more of
the picture in a way that will most probably destroy all advantage
you get from L2 cache.
Post by David Mulcahy
 I started adjusting lots
of thinks to rectify this (hdparm upgrading kernel and debian to
unstable, tweaking things) but what seems to work best is the following
command.
mplayer -ao alsa -channels 2 -vo xv -dr -double -dvd-device /dev/cdrom dvd://1
For me, using -cache 10000 mostly solves these issues.
This makes it slightly better for the .1% of the times that this blur is
happening. Again 99.9% of the time it is great.
Post by Attila Kinali
If it's not related to cpu usage (have a look at the "suposedly droped
frames" counter), then -mc & co might be of use.
Post by David Mulcahy
I guess the question is why this works better because direct rendering is
(as far as i know) is more likely to work with xmga than xv, but in my
case it works with xv and again as far as i can tell doesnt work with
xmga.
Hm.. dr is some kind of black magic. It only works in very special
cases and is silently disabled in all other. I haven't checked
the code myself so i cannot say whether mga should perform better or
not.
Just BTW: If you have a dual cpu machine, Xv will actualy give you better
performance than mga (around 20% or so) as it splits the load onto two
programs which are then able to use both cpus
I wish I had a dual cpu.
Post by Attila Kinali
Post by David Mulcahy
Now i thought I best check with the experts to see if I am in fact using
the best settings because I have a feeling that -vo xmga -dr should work
and give me better performance.  Am I right or do am I using the best way
with -vo xv -dr.
I'd need a -v log at least be able to say anything.
Attila Kinali
log -v is as follows

***@brookdale:~$ mplayer -v -ao alsa -channels 2 -vo xv -dr -double
-dvd-device /dev/cdrom dvd://1 -cache 10000
MPlayer dev-CVS--3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping:
3)
Detected cache-line size is 32 bytes
MMX2 supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE



CommandLine: '-v' '-ao' 'alsa' '-channels' '2' '-vo' 'xv' '-dr' '-double'
'-dvd-device' '/dev/cdrom' 'dvd://1' '-cache' '10000'
init_freetype
get_path('font/font.desc') -> '/home/davmul/.mplayer/font/font.desc'
font: can't open file: /home/davmul/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/davmul/.mplayer/input.conf'
Can't open input config file /home/davmul/.mplayer/input.conf: No such file or
directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 59 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Permission denied
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('1.conf') -> '/home/davmul/.mplayer/1.conf'
Playing dvd://1.
URL: dvd://1
libdvdread: Using libdvdcss version 1.2.9 for DVD access
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 23 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000132
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000192
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000002ec
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003860cf
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0038629d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003862b3
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (stereo) language: hu aid: 129
[open] audio stream: 2 audio format: ac3 (stereo) language: pl aid: 130
[open] number of audio channels on disk: 3.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: en
[open] subtitle ( sid ): 2 language: en
[open] subtitle ( sid ): 3 language: da
[open] subtitle ( sid ): 4 language: fi
[open] subtitle ( sid ): 5 language: hu
[open] subtitle ( sid ): 6 language: no
[open] subtitle ( sid ): 7 language: sv
[open] number of subtitles on disk: 8
DVD start cell: 0 pack: 0x0-0x30602
DVD start=0 end=3693993
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 14.72% (1507328 bytes)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://1 ext: (null)
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file dvd://1
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 69786, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
DVD Seek! lba=0x1C2E5A cell=13 packs: 0x1BDF38-0x1C583D
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 128
==> Found audio stream: 129
==> Found audio stream: 130
==> Found subtitle: 4
==> Found subtitle: 1
==> Found subtitle: 5
==> Found subtitle: 6
==> Found subtitle: 7
==> Found subtitle: 3
DVD Seek! lba=0x385CB4 cell=24 packs: 0x33D3C9-0x385DA9
Angle-seek synced by cell/vob IDN search!
--- END OF CELL !!! ---
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x30602
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/davmul/.mplayer/sub/'
get_path('default.sub') -> '/home/davmul/.mplayer/default.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, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 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] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X
atoms
Disabling DPMS
DPMSDisable stat: 1
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: compiled for ALSA-1.0.8
alsa-init: setup for 1/2 channel(s)
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <***@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
alsa-space: free space = 65536, prepared --
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 1024x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <***@goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 70 for hw scaling
[xv] dx: 0 dy: 0 dw: 1024 dh: 576
*** [vo] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xv] dx: 0 dy: 0 dw: 1016 dh: 572
*** [vo] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
get_path('subfont.ttf') -> '/home/davmul/.mplayer/subfont.ttf' 1 0 28%
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
*** [vo] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Uninit audio filters...-0.012 ct: 0.056 3998/3998 34% 11% 2.8% 2 0 49%
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: libmpeg2
Successfully enabled DPMS
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (Quit)
***@brookdale:~$ mplayer -v -ao alsa -channels 2 -vo xmga -dr
-dvd-device /dev/cdrom dvd://1 -cache 10000
MPlayer dev-CVS--3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping:
3)
Detected cache-line size is 32 bytes
MMX2 supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE



CommandLine: '-v' '-ao' 'alsa' '-channels' '2' '-vo' 'xmga' '-dr'
'-dvd-device''/dev/cdrom' 'dvd://1' '-cache' '10000'
init_freetype
get_path('font/font.desc') -> '/home/davmul/.mplayer/font/font.desc'
font: can't open file: /home/davmul/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/davmul/.mplayer/input.conf'
Can't open input config file /home/davmul/.mplayer/input.conf: No such file or
directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 59 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Permission denied
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('1.conf') -> '/home/davmul/.mplayer/1.conf'
Playing dvd://1.
URL: dvd://1
libdvdread: Using libdvdcss version 1.2.9 for DVD access
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 23 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000132
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000192
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000002ec
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003860cf
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0038629d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003862b3
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (stereo) language: hu aid: 129
[open] audio stream: 2 audio format: ac3 (stereo) language: pl aid: 130
[open] number of audio channels on disk: 3.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: en
[open] subtitle ( sid ): 2 language: en
[open] subtitle ( sid ): 3 language: da
[open] subtitle ( sid ): 4 language: fi
[open] subtitle ( sid ): 5 language: hu
[open] subtitle ( sid ): 6 language: no
[open] subtitle ( sid ): 7 language: sv
[open] number of subtitles on disk: 8
DVD start cell: 0 pack: 0x0-0x30602
DVD start=0 end=3693993
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 17.28% (1769472 bytes)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://1 ext: (null)
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file dvd://1
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 69786, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
DVD Seek! lba=0x1C2E5A cell=13 packs: 0x1BDF38-0x1C583D
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 128
==> Found audio stream: 129
==> Found audio stream: 130
==> Found subtitle: 4
==> Found subtitle: 1
==> Found subtitle: 5
==> Found subtitle: 6
==> Found subtitle: 7
==> Found subtitle: 3
DVD Seek! lba=0x385CB4 cell=24 packs: 0x33D3C9-0x385DA9
Angle-seek synced by cell/vob IDN search!
--- END OF CELL !!! ---
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x30602
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/davmul/.mplayer/sub/'
get_path('default.sub') -> '/home/davmul/.mplayer/default.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, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 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] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X
atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: compiled for ALSA-1.0.8
alsa-init: setup for 1/2 channel(s)
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <***@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
alsa-space: free space = 65536, prepared --
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
VO: [xmga] 720x576 => 1024x576 Planar YV12
VO: Description: Matrox G200/G4x0/G550 overlay in X11 window
(using /dev/mga_vid)
VO: Author: Zoltan Ponekker <***@makacs.poliod.hu>
[mga] Using 3 buffers.
Using colorkey: ff00
[xmga] x: 0 y: 96 w: 1024 h: 576
[xmga] dcx: 4 dcy: 96 dx: 0 dy: 0 dw: 1024 dh: 576
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xmga] x: 0 y: 0 w: 1016 h: 572
[xmga] dcx: 4 dcy: 96 dx: 0 dy: 0 dw: 1016 dh: 572
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
get_path('subfont.ttf') -> '/home/davmul/.mplayer/subfont.ttf' 1 0 19%
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
==> Found subtitle: 0: -0.009 ct: 0.053 4126/4126 33% 10% 2.8% 3 0 49%
==> Found subtitle: 2
Uninit audio filters...-0.001 ct: 0.053 4276/4276 34% 10% 2.8% 3 0 49%
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: libmpeg2
vo: uninit!
Successfully enabled DPMS
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (Quit)
***@brookdale:~$

Thanks Dave
Attila Kinali
2006-04-29 07:45:41 UTC
Permalink
Moin,

On Mon, 6 Mar 2006 17:33:05 +0000
Post by Attila Kinali
Post by David Mulcahy
Now i thought I best check with the experts to see if I am in fact using
the best settings because I have a feeling that -vo xmga -dr should work
and give me better performance.  Am I right or do am I using the best way
with -vo xv -dr.
I'd need a -v log at least be able to say anything.
I didn't see anything suspicious. I can only guess that the
I/O path is somewhere conguested and mplayer doesn't get
it's input data fast enough of isn't able to get out
the video fast enough.

Sorry, can't be of more help

Attila Kinali
--
心をこめて聞け心をこめて話せ
Loading...