[MPlayer-users] Is -wid option supported on Mac OS X for any video output?
anton at corp.bluecherry.net
Mon Dec 8 16:20:53 CET 2014
> 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
Or some code that can be looked at? Does MPlayer OSX Extended or
MPlayerX use this way of presenting video?
More information about the MPlayer-users