[MPlayer-users] --enable-altivec problems

Magnus Damm damm at opensource.se
Sun Mar 2 19:27:23 CET 2003


Hi,

First of all: Thank you for a very nice media player!

However, my PowerPC box gets corrupted video output with some files 
if I pass --enable-altivec to configure. Some files work ok, some not. 
Probably due to some fourcc combination or something.
You can probably figure out why with the output below.
I've tested 0.90rc4 and CVS today. Both have the same problem.

I've also tried x11/xv/xvidix output - doesn't seem to matter either.

Feel free to contact me for further information / testing.

thanks.

/ magnus

------------------------------------------------------------------------
Example 1: Playing a mpeg file with altivec enabled. 
This works great with and without altivec.
------------------------------------------------------------------------
bash-2.05a# ./mplayer -vo xvidix fry.mpg 
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /home/damm/build/mplayer/install/enable-altivec//share/locale


MPlayer 0.90rc4-3.2.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

AltiVec found
Reading config file /home/damm/build/mplayer/install/enable-altivec//etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /home/damm/build/mplayer/install/enable-altivec//etc/mplayer/codecs.conf: 50 audio & 135 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /home/damm/build/mplayer/install/enable-altivec//share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /home/damm/build/mplayer/install/enable-altivec//etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing fry.mpg
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29.97 fps  1437.5 kbps (179.7 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x20), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
No vidix driver name provided, probing available ones!
vo: X11 running at 1600x1200 with depth 16 and 16 bpp (":0.0" => local display)
[mga] No supported cards found
[mga] No supported cards found
[rage128] Found chip: Rage 128 PF/PRO AGP 4x TMDS
[rage128] Video memory = 16Mb
[rage128] Saved overlay colorkey settings
VIDIX: Description: BES driver for Rage128 cards
VIDIX: Author: Nick Kurshev
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: No accelerated IDCT transform found
libmpeg2: No accelerated motion compensation found
VDec: vo config request - 352 x 240 (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: [xvidix] 352x240 => 352x264 Planar YV12 
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, big endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Big-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
New_Face failed. Maybe the font path is wrong.  1   0%  0%  0.0% 0 0 0%
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[rage128] Restored overlay colorkey settings7/167  25%  3%  2.7% 0 0 0%

Exiting... (Quit)
------------------------------------------------------------------------
Example 2: Playing a avi file with altivec enabled. 
Without altivec the file looks like it should, 
but with altivec the video output is wierd.
------------------------------------------------------------------------
bash-2.05a# ./mplayer -vo xvidix jerry.avi 
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /home/damm/build/mplayer/install/enable-altivec//share/locale


MPlayer 0.90rc4-3.2.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

AltiVec found
Reading config file /home/damm/build/mplayer/install/enable-altivec//etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /home/damm/build/mplayer/install/enable-altivec//etc/mplayer/codecs.conf: 50 audio & 135 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /home/damm/build/mplayer/install/enable-altivec//share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Can't open input config file /home/damm/build/mplayer/install/enable-altivec//etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing jerry.avi
AVI file format detected.
VIDEO:  [3VID]  320x240  24bpp  15.00 fps  130.7 kbps (16.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 24000 Hz, 2 ch, 16 bit (0x20), ratio: 4000->96000 (32.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
No vidix driver name provided, probing available ones!
vo: X11 running at 1600x1200 with depth 16 and 16 bpp (":0.0" => local display)
[mga] No supported cards found
[mga] No supported cards found
[rage128] Found chip: Rage 128 PF/PRO AGP 4x TMDS
[rage128] Video memory = 16Mb
[rage128] Saved overlay colorkey settings
VIDIX: Description: BES driver for Rage128 cards
VIDIX: Author: Nick Kurshev
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 24000Hz/2ch/16bit -> 24000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 24000 hz, big endian signed int 
AF_pre: 24000Hz 2ch Signed 16-bit (Big-Endian)
AO: [oss] 24000Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 24000Hz/2ch/16bit -> 24000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xvidix] 320x240 => 320x240 Planar YV12 
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[rage128] Restored overlay colorkey settings2/ 62   7%  1%  1.3% 1 0 0%

Exiting... (Quit)



More information about the MPlayer-users mailing list