[MPlayer-users] Is it possible to embed mplayer in anotherapplication?

farolfo at hotmail.com farolfo at hotmail.com
Tue May 6 15:43:55 CEST 2008


I've use it in on Windows in vb6. If you run MPlayer.exe with "-wid 
<Handle>" parametr in command line, MPlayer dispaly the video in the object 
with the passed handle. if you have problem with visualization try to assign 
a custom color to the object and pass this color to Mplayer by " -colorkey" 
option

Luca

--------------------------------------------------
From: "Tuvok" <tuvokhome at interia.pl>
Sent: Tuesday, May 06, 2008 9:52 AM
To: <mplayer-users at mplayerhq.hu>
Subject: [MPlayer-users] Is it possible to embed mplayer in 
anotherapplication?

> Hi,
>
> I'm writing an application that displays various media, and video is one
> of them. I wanted to do the video playing with gstreamer, but after
> comparing CPU usage (especially with video resizing on) with mplayer I'm
> no longer sure if that's a good idea.
>
> Mplayer is a lot faster, so I'm wondering, wheather it would be possible
> to use mplayer as my video playing engine.
>
> Two options come to mind:
>
> a) calling external mplayer and telling it to which window draw the
> video
> b) including the source and more directly using mplayer functions
>
> Would that be possible?
> Does the mplayer have some kind of interface for embedding it?
> Where to start?
>
> -- 
> Chris
>
>
> ----------------------------------------------------------------------
> Poprowadz swoj klub do zwyciestwa!
> Sprawdz >>> http://link.interia.pl/f1d76
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> 



More information about the MPlayer-users mailing list