[MPlayer-users] Error playing mpeg on Sun SPARC

pwilkins at lashwhip.com pwilkins at lashwhip.com
Wed Feb 20 21:56:01 CET 2002


Hi,

I tried to get mplayer running on my Sun SPARC machine, and got this error
when I tried to play an mpeg file:

SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
hmm, arpi said that isnt used, contact the developers, thats weird
FATAL: Cannot initialize video driver!

Here are some more details:

I hope this is of some help.

-Paul



uname -a
SunOS brutus 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-5_10

ls -l /lib/libc[.-]*
-rw-r--r--   1 root     bin       1759400 Jun  6  2001 /lib/libc.a
lrwxrwxrwx   1 root     root           11 Jan 31 07:39 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 root     bin       1136720 Jun  6  2001 /lib/libc.so.1

X -version
Hmm, this didn't print a version.  I must be running Sun's X server.  
I'm using:
/usr/openwin/bin/X

FYI, I start X with this command:
/usr/openwin/bin/openwin -dev "/dev/fb defclass TrueColor defdepth 24" -bs -su $*

gcc -v
Reading specs from /home/pwilkins/loc/gnu/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)

ld -v
GNU ld version 2.11.2 (with BFD 2.11.2)

CPU:  (read from the front of the box)
Sun SPARC Ultra 10

This may be of some use since the error was talking about display depths:
xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    Sun Microsystems, Inc.
vendor release number:    6410
maximum request size:  262140 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, MSBFirst, 32
image byte order:    MSBFirst
number of supported pixmap formats:    3
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 132
focus:  window 0x8c0000d, revert to Parent
number of extensions:    28
    AccessX
    Adobe-DPS-Extension
    DOUBLE-BUFFER
    DPMS
    DPSExtension
    Extended-Visual-Information
    FBPM
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    Multi-Buffering
    RECORD
    SECURITY
    SHAPE
    SUN_ALLPLANES
    SUN_DGA
    SUN_OVL
    SUN_SME
    SYNC
    SolarisIA
    TOG-CUP
    XC-APPGROUP
    XC-MISC
    XIE
    XInputDeviceEvents
    XInputExtension
    XTEST
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1280x1024 pixels (361x288 millimeters)
  resolution:    90x90 dots per inch
  depths (3):    1, 8, 24
  root window id:    0x37
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 5
  default colormap:    0x34
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xd83f3d
    KeyPressMask             ButtonPressMask          ButtonReleaseMask        
    EnterWindowMask          LeaveWindowMask          Button1MotionMask        
    Button2MotionMask        Button3MotionMask        Button4MotionMask        
    Button5MotionMask        ButtonMotionMask         SubstructureNotifyMask   
    SubstructureRedirectMask PropertyChangeMask       ColormapChangeMask       
  number of visuals:    16
  default visual id:  0x28
  visual:
    visual id:    0x28
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff, 0xff00, 0xff0000
    significant bits in color specification:    8 bits

... information from many more visuals cropped.



configure output (part of it):
Config files successfully generated by ./configure !

  Install prefix: /home/pwilkins/loc/multimedia/mplayer-cvs-020220
  Data directory: /home/pwilkins/loc/multimedia/mplayer-cvs-020220/share/mplayer
  Config direct.: /home/pwilkins/loc/multimedia/mplayer-cvs-020220/share/mplayer

  Enabled optional drivers:
    Input: network tv vcd 
    Codecs: opendivx libavcodec 
    Audio output: sun sdl 
    Video output: xvidix sdl mpegpes(file) x11 


ldd mplayer
        libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libmlib.so.2 =>  /tmp/SUNWmlibl.2.1/SUNWmlib/lib/libmlib.so.2
        libSDL-1.2.so.0 =>       /home/pwilkins/local-solaris/lib/libSDL-1.2.so.0
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libkstat.so.1 =>         /usr/lib/libkstat.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libcurses.so.1 =>        /usr/lib/libcurses.so.1
        libz.so =>       /home/pwilkins/local-solaris/lib/libz.so
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libesd.so.0 =>   /home/pwilkins/loc/gnome/lib/libesd.so.0
        libaudiofile.so.0 =>     /home/pwilkins/local-solaris/lib/libaudiofile.so.0
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1



./mplayer -v /home/pwilkins/personal/Dream_Job.mpg


MPlayer CVS-020220-15:18-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

Reading /home/pwilkins/.mplayer/codecs.conf: can't open '/home/pwilkins/.mplayer/codecs.conf': No such file or directory
Reading /home/pwilkins/loc/multimedia/mplayer-cvs-020220/share/mplayer/codecs.conf: 29 audio & 79 video codecs
CommandLine: '-v' '/home/pwilkins/personal/Dream_Job.mpg'
get_path('font/font.desc') -> '/home/pwilkins/.mplayer/font/font.desc'
font: can't open file: /home/pwilkins/.mplayer/font/font.desc
font: can't open file: /home/pwilkins/loc/multimedia/mplayer-cvs-020220/share/mplayer/font/font.desc
Using usleep() timing
Playing /home/pwilkins/personal/Dream_Job.mpg
Not an URL!
File size is 1767428 bytes
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for REAL
system stream synced at 0xB (11)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG1  320x256  (aspect 1)  25.00 fps  320.0 kbps (40.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:320x256  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/pwilkins/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
init layer2&3 finished, tables done
mp3lib: using generic decore!
MPEG 1.0, Layer II, 44100 Hz 96 kbit Stereo, BPF: 313
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x20  ratio: 12000->176400
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
vo: X11 color mask:  FFFFFF  (R:FF G:FF00 B:FF0000)
vo: X11 running at 1280x1024 with depth 24 and 32 bits/pixel (":0.0" => local display)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using mlib for IDCT transform
libmpeg2: Using mlib for motion compensation
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x256 => 320x256 Planar YV12 
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
video_out->init(320x256->320x256,flags=0,'MPlayer',0x32315659)
Sharing memory.
Using mlib for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
hmm, arpi said that isnt used, contact the developers, thats weird
FATAL: Cannot initialize video driver!

*** free_stream() called ***

Exiting... (End of file)




More information about the MPlayer-users mailing list