--- Begin Message ---
Package: mplayer
Version: 1.0~rc1-12
Severity: normal
When using the right arrow to skip forward in the below video on an
Itanium2 based system, I'm getting multiple "unaligned access" messages
which results in a hefty performance hit.
http://media.armadilloaerospace.com/2005_10_10/XPCFlight.mpg
------ begin ------
[EMAIL PROTECTED]:~$ mplayer -vo xv -ao null XPCFlight.mpg
MPlayer 1.0rc1-4.1.2-DFSG-free (C) 2000-2006 MPlayer Team
CPU: Intel Itanium
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.
Playing XPCFlight.mpg.
MPEG-PS file format detected.
VIDEO: MPEG1 352x272 (aspect 12) 29.970 fps 1000.0 kbps (125.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 272 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
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))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 352 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.15:1 - prescaling to correct movie aspect.
VO: [xv] 352x272 => 352x306 Planar YV12
mplayer(7455): unaligned access to 0x60000ffffff18644, ip=0x4000000000b7d400
mplayer(7455): unaligned access to 0x60000ffffff18644, ip=0x4000000000b7d420
mplayer(7455): unaligned access to 0x60000ffffff18644, ip=0x4000000000b7d400
mplayer(7455): unaligned access to 0x60000ffffff18644, ip=0x4000000000b7d420
mplayer(7455): unaligned access to 0x60000ffffff18644, ip=0x4000000000b7d400
A: 0.0 V: 0.0 A-V: 0.000 ct: -0.000 146/146 ??% ??% ??,?% 0 0
Exiting... (End of file)
------ end ------
I recompiled the debian source without --omit-frame-pointer, and with
debug, and was able to determine the line of code causing the problem:
------ begin ------
(gdb) r -vo xv -ao null ~/XPCFlight.mpg
Starting program: /home/bryan/src/mplayer/mplayer-1.0~rc1/mplayer -vo xv
-ao null ~/XPCFlight.mpg
[Thread debugging using libthread_db enabled]
[New Thread 2305843009233482112 (LWP 7458)]
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel Itanium
Playing /home/bryan/XPCFlight.mpg.
MPEG-PS file format detected.
VIDEO: MPEG1 352x272 (aspect 12) 29.970 fps 1000.0 kbps (125.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 272 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
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))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 352 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.15:1 - prescaling to correct movie aspect.
VO: [xv] 352x272 => 352x306 Planar YV12
New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 1 0
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
mplayer(7458): unaligned access to 0x60000ffffe319604, ip=0x4000000000879d80
mplayer(7458): unaligned access to 0x60000ffffe319604, ip=0x4000000000879da0
mplayer(7458): unaligned access to 0x60000ffffe319604, ip=0x4000000000879d80
mplayer(7458): unaligned access to 0x60000ffffe319604, ip=0x4000000000879da0
mplayer(7458): unaligned access to 0x60000ffffe319604, ip=0x4000000000879d80
A: 0.0 V: 0.0 A-V: 0.000 ct: -0.000 73/ 73 ??% ??% ??,?% 0 0
Exiting... (End of file)
Program exited normally.
(gdb) list *0x4000000000879d80
0x4000000000879d80 is in MP3_DecodeFrame (sr1.c:199).
194 #endif
195 return TRUE;
196 }
197
198 LOCAL int stream_head_shift(unsigned char *hbuf,unsigned long
*head){
199 *((unsigned long *)hbuf) >>= 8;
200 if(mp3_read(hbuf+3,1) != 1) return 0;
201 *head <<= 8;
202 *head |= hbuf[3];
203 return 1;
(gdb) list *0x4000000000879da0
0x4000000000879da0 is in MP3_DecodeFrame (sr1.c:199).
194 #endif
195 return TRUE;
196 }
197
198 LOCAL int stream_head_shift(unsigned char *hbuf,unsigned long
*head){
199 *((unsigned long *)hbuf) >>= 8;
200 if(mp3_read(hbuf+3,1) != 1) return 0;
201 *head <<= 8;
202 *head |= hbuf[3];
203 return 1;
------ end ------
So it looks like both of the unaligned access messages were caused by
line 199:
199 *((unsigned long *)hbuf) >>= 8;
Let me know if you need any more information.
Thanks,
Bryan
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ia64
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-mckinley
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages mplayer depends on:
ii debconf [debconf-2. 1.5.11 Debian configuration
management sy
ii libasound2 1.0.13-1 ALSA library
ii libatk1.0-0 1.12.4-1 The ATK accessibility toolkit
ii libaudiofile0 0.2.6-6 Open-source version of
SGI's audio
ii libc6.1 2.3.6.ds1-10 GNU C Library: Shared libraries
ii libcaca0 0.99.beta11.debian-2 colour ASCII art library
ii libcairo2 1.2.4-4 The Cairo 2D vector
graphics libra
ii libcdparanoia0 3.10+debian~pre0-4 audio extraction tool for
sampling
ii libconfhelper-perl 0.12.5 Library for editing
configuration
ii libcucul0 0.99.beta11.debian-2 low-level Unicode character
drawin
ii libdirectfb-0.9-25 0.9.25.1-5 direct frame buffer
graphics - sha
ii libdvdread3 0.9.7-2 library for reading DVDs
ii libesd0 0.2.36-3 Enlightened Sound Daemon -
Shared
ii libfontconfig1 2.4.2-1 generic font configuration
library
ii libfreetype6 2.2.1-5 FreeType 2 font engine,
shared lib
ii libgl1-mesa-glx [li 6.5.1-0.5 A free implementation of
the OpenG
ii libglib2.0-0 2.12.6-2 The GLib library of C routines
ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user
interface
ii libjpeg62 6b-13 The Independent JPEG
Group's JPEG
ii liblircclient0 0.8.0-9 LIRC client library
ii liblzo1 1.08-3 data compression library
(old vers
ii libmad0 0.15.1b-2.1 MPEG audio decoder library
ii libncurses5 5.5-5 Shared libraries for
terminal hand
ii libogg0 1.1.3-2 Ogg Bitstream Library
ii libpango1.0-0 1.14.8-5 Layout and rendering of
internatio
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libsdl1.2debian 1.2.11-7 Simple DirectMedia Layer
ii libspeex1 1.1.12-3 The Speex Speech Codec
ii libtheora0 0.0.0.alpha7.dfsg-2 The Theora Video
Compression Codec
ii libungif4g 4.1.4-4 shared library for GIF images
ii libx11-6 2:1.0.3-5 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension
librar
ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes'
extensio
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension
client libra
ii libxv1 1:1.0.2-1 X11 Video extension library
ii libxvmc1 1:1.0.2-2 X11 Video extension library
ii libxxf86dga1 2:1.0.1-2 X11 Direct Graphics Access
extensi
ii libxxf86vm1 1:1.0.1-2 X11 XFree86 video mode
extension l
ii mplayer-skin-blue [ 1.6-1 blue skin for mplayer
ii zlib1g 1:1.2.3-13 compression library - runtime
mplayer recommends no packages.
-- debconf information:
mplayer/voutput: autodetect
mplayer/rtc: false
mplayer/ttfont: Sans
mplayer/cfgnote:
mplayer/replace-existing-files-bail:
mplayer/install_codecs:
mplayer/replace-existing-files: false
mplayer/no-ttfont:
mplayer/dvd_device: /dev/cdrom
--- End Message ---