[MPlayer-users] Is -wid option supported on Mac OS X for any video output?

wm4 nfxjfg at googlemail.com
Mon Dec 8 16:30:44 CET 2014


On Mon, 8 Dec 2014 19:20:53 +0400
Anton Sviridenko <anton at corp.bluecherry.net> wrote:

> >
> > Hello Anton,
> >
> > mplayer doesn't support embedding NSView's with slave mode simply
> > because OS X doesn't allow to share a view with another process.
> > mplayer embedding on OS X generally uses --vo=corevideo and the
> > shared_buffer sub option, this will copy image data to some mmapped
> > memory that you can read from your GUI. You are then completely
> > responsible to present this data on screen (both MPlayer OSX Extended
> > and MPlayerX use corevideo for presenting the final image to screen).
> > It's a bit of a makeshift solution but software that's very popular
> > uses it and works well enough.
> 
> Stefano, thanks for useful hints. Is there some more detailed
> documentation (than man 1 mplayer) about shared memory interface with
> corevideo? How should I get frame size, pixel format, etc? From
> mplayer stdout?
> Or some code that can be looked at? Does MPlayer OSX Extended or
> MPlayerX use this way of presenting video?

I think his point was that this method is inefficient and dumb.


More information about the MPlayer-users mailing list