[MPlayer-users] How to control Mplayer from within another application?

Carlos Lorenz carlos.lorenz at bol.com.br
Sat Aug 7 04:15:24 CEST 2004


Jason,

Thanks for your reply. I have tried hard but could not
understand completely how to use the bmovl filter.

Maybe you or someone else at this list could help me a little.

I made a FIFO and cat a PNG to it like this:

$ mkfifo /tmp/myfifo
$ cat mypng.png > /tmp/myfifo&

then I launched Mplayer to watch TV an see if the PNG image was on top
of video like this:

mplayer -tv driver=v4l:norm=ntsc:width=320:height=240 tv://4 -vf bmovl=0:0:/tmp/myfifo

Well Mplayer brings the TV image but no PNG overlay at all.

Thanks for any help

Carlos



On Fri, 06 Aug 2004 09:09:54 -0400
Jason Tackaberry <tack at sault.org> wrote:

> On Fri, 2004-08-06 at 08:20 -0300, Carlos Lorenz wrote:
> > I would like to write this
> > app that would have some
> > text (read from a database)
> > written on top of mplayer's
> > video window.
> 
> The simple way is to use the osd_show_text slave command.
> 
> The more flexible way is to use the bmovl filter.
> 
> The most flexible and fastest way is to use bmovl2 filter, which isn't
> part of MPlayer (yet), but can be found at http://sault.org/mebox/
> 
> Cheers,
> Jason.
> 




More information about the MPlayer-users mailing list