[MPlayer-users] Using -wid option embed mplayer into Java Window
Kevin DeKorte
kdekorte at yahoo.com
Sat Mar 25 17:15:01 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Swarna Gowri wrote:
> I am trying to embed mplayer into my java application window. This way I
> will be able
> to view video stream in my application window.
> In order to make sure it works, I launched a window, got its window handle.
> In the dos window passed window handle id in the command line as:
>
> mplayer -wid 328222 rtp://239.192.1.1:16400
>
I use this option in mplayerplug-in... might want to try a couple of
things..
1. set the vo to xv, x11 or gl those are the only VO's that -wid works
properly with.
2. Try passing it the window id in hex... I don't know that it makes a
big difference, but I have always used it that way.
Here is an example commandline from mplayerplug-in
mplayer -wid 0x363c76f -vf scale=500:-3 -vo x11 -zoom -ao esd -osdlevel
0 -nojoystick -noconsolecontrols -cookies -slave -user-agent NSPlayer
- -nomouseinput -nocache /tmp/mplayLEWDqK
Kevin
- --
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=7574690260641978351
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFEJWyEaR60qN0tF+8RAslLAJoDmSAE9jerYwBi52/mj2L8y98ZgACgnLwW
JhdwB6v11JtRT63OrVxjVRw=
=RYYA
-----END PGP SIGNATURE-----
More information about the MPlayer-users
mailing list