[MPlayer-users] mplayer during system init

MAL mal at komcept.com
Wed Jun 4 16:16:32 CEST 2003


I'm trying to run mplayer -vo fbdev, during system startup.

It's actually on a Gentoo system during local.start, (same as rc.local 
on redhat systems), and mplayer is complaining that it can't open /dev/tty.

The Gentoo system uses devfs, but /dev/tty does exist when I call 
mplayer, (verified by trying to use mknod /dev/tty c 5 0 , which reports 
that /dev/tty already exists), so I guess it must be a permissions 
issue, or because the tty is somehow not attached to the running process.

I assumed that -vo fbdev would only need to use /dev/fb0, which also exists.

Basically I'm flummoxed as to what the problem is here, all I know is 
that mplayer spews out a nonsensical error, (see below).  Immediately 
after the failure to run, if I log in and issue the same command, 
playback works fine.

Cheers ppl,
MAL

--------------------------------running:

cat <mpeg2_file> | /usr/local/bin/mplayer -vo fbdev -nosound -nocache -

--------------------------------produces:

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, 
Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /etc/mplayer/mplayer.conf
Reading config file //.mplayer/config
Reading //.mplayer/codecs.conf: can't open '//.mplayer/codecs.conf': No 
such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: //.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file //.mplayer/input.conf : No such file or 
directory
Can't open input config file /etc/mplayer/input.conf : No such file or 
directory
Falling back on default (hardcoded) input config

Playing -
Reading from stdin...
MPEG-PS file format detected.
VIDEO:  MPEG2  352x288  (aspect 2)  25.00 fps  600.0 kbps (75.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (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: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 352 x 288 (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: [fbdev] 352x288 => 384x288 Planar YV12
FATAL: Cannot initialize video driver.
fbdev: Can't open /dev/tty: No such device or address
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg12] vfm:ffmpeg (FFmpeg MPEG 1/2)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 352 x 288 (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: [fbdev] 352x288 => 384x288 Planar YV12
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vop) or video output (-vo).
fbdev: Can't open /dev/tty: No such device or address
init_vo failed


Exiting... (End of file)



More information about the MPlayer-users mailing list