Using GstVideoOverlay on Mac

Sebastian Dröge sebastian at centricular.com
Mon Jan 11 13:07:11 PST 2016


On So, 2016-01-10 at 16:42 +0000, Andy Robinson wrote:
> Thanks for this - I'm still wrestling with it. I was using
> autovideosink but your question prompted me to use gst-inspect to see what else is 
> available and I found osxvideosink. This doesn't work too well - it 
> displays a green screen or a freeze frame of the first frame of the 
> video, and the pipeline doesn't want to go into a PAUSE state, but, the 
> green screen rectangle is in the right place in my parent window, which 
> encourages me to think that the NSView* I am giving to 
> gst_video_overlay_set_window_handle is indeed the right thing.

Try using glimagesink, it generally works better than osxvideosink and
also has more features. Does that work better?

> I agree that writing a plain OSX application would be good. I've only 
> ever programmed the Mac using wxWidgets so it would be very helpful for 
> me if there were any simple example programs using GStreamer on Mac for 
> me to use as a starting point. Are there any such samples? I think I've 
> seem samples mentioned in the GStreamer docs, but I've not found the 
> samples themselves.

Unfortunately I'm not aware of a plain OSX application that uses the
GstVideoOverlay interface, only GTK+ applications and plain OSX
applications using the CoreAnimation sink.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160111/95493dd9/attachment.sig>


More information about the gstreamer-devel mailing list