[MPlayer-users] Embeded mplayer using GtkPlayer and -wid option
Russell Simpkins
russellsimpkins at hotmail.com
Thu Dec 5 16:57:02 CET 2002
Help,
I am trying to embed mplayer in an already open x window. I have tried to
do this with GTK and with QT. Currently, I am trying to run an example by
Colin Leroy in his GtkPlayer code. Basically, the code executes mplayer in
a seperate process passing in the window id. The command line looks lie so:
mplayer -vo x11 -vop scale=310:-3 -wid 31457371 /home/simpkins/Earth.mpg &
The resulting dump is at the end.
Does -vo x11 support the -wid option? Do I have to install XVideo and the
re-compile with --enable-xv? Any help would be appreciated.
Russ
----------------
DUMP
----------------
MPlayer CVS-021201-12:20-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon
(Family: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
Reading /home/simpkins/.mplayer/codecs.conf: can't open
'/home/simpkins/.mplayer/codecs.conf': No such file or directory
Reading /usr/etc/mplayer/codecs.conf: 49 audio & 123 video codecs
font: can't open file: /home/simpkins/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
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 /home/simpkins/.mplayer/input.conf : No such
file or directory
Can't open input config file /usr/etc/mplayer/input.conf : No such file or
directory
Falling back on default (hardcoded) input config
Playing /home/simpkins/Earth.mpg
Detected MPEG-PS file format!
VIDEO: MPEG1 352x240 (aspect 12) 29.97 fps 1437.5 kbps (179.7 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local
display)
Opening video filter: [scale=310:-3]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
Sorry, 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 MMX for IDCT transform
libmpeg2: Using MMX for motion compensation
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.
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 5
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: BICUBIC scaler, from Planar YV12 to dithered BGR 16-bit using MMX
VO: [x11] 310x211 => 310x232 BGR 16-bit
X11 error: BadMatch (invalid parameter attributes)
MPlayer interrupted by signal 6 in module: init_video_codec
- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer
code _or_ in your drivers _or_ in your gcc version. If you think it's
MPlayer's fault, please read DOCS/bugreports.html and follow instructions
there. We can't and won't help unless you provide these informations when
reporting a possible bug.
----------------------
ENV
----------------------
KDE_MULTIHEAD=false
SSH_AGENT_PID=1577
HOSTNAME=localhost.localdomain
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
GTK_RC_FILES=/etc/gtk/gtkrc:/home/simpkins/.gtkrc:/home/simpkins/.gtkrc-kde
GS_LIB=/home/simpkins/.kde/share/fonts
QTDIR=/usr/lib/qt3-gcc3.2
ANT_HOME=/usr/java/jakarta-ant-1.5
USER=simpkins
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
SSH_AUTH_SOCK=/tmp/ssh-XXhrXtBe/agent.1566
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/1653
KONSOLE_DCOP=DCOPRef(konsole-2139,konsole)
MAIL=/var/spool/mail/simpkins
PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/java/j2sdk1.4.1_01/bin:/usr/java/jakarta-ant-1.5/bin:/home/simpkins/bin:/usr/sbin:/sbin:/usr/java/j2sdk1.4.1_01/bin:/usr/java/jakarta-ant-1.5/bin
KONSOLE_DCOP_SESSION=DCOPRef(konsole-2139,session-1)
INPUTRC=/etc/inputrc
PWD=/home/simpkins
XMODIFIERS=@im=none
JAVA_HOME=/usr/java/j2sdk1.4.1_01
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=4
HOME=/home/simpkins
LOGNAME=simpkins
CLASSPATH=./:/usr/java/j2sdk1.4.1_01/src.zip
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
COLORTERM=
XAUTHORITY=/home/simpkins/.Xauthority
_=/bin/env
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
More information about the MPlayer-users
mailing list