[MPlayer-users] Reading MPlayer in slave mode with C using libevent

Steve Ricketts velocedge at hotmail.com
Sun Apr 17 20:08:51 CEST 2011


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> 
> On Sun, Apr 17, 2011 at 05:21:45PM +0000, Steve Ricketts wrote:
> > videoPipe = popen(str, "w");
> 
> MPlayer writes some things to stderr, and popen will only capture stdout.
> Or rather would, since you open for writing it will actually 
> capture neither stdout nor stderr.
> 

Makes sense of course... but then what options to I have to read the output from
mplayer?  I'm too new to know what I'm really talking about but could I do
something like having mplayer direct it's output to a socket and I put the
callback on that socket?  



More information about the MPlayer-users mailing list