gst_player_video_overlay_video_renderer_new_with_sink on iOS

Sebastian Dröge sebastian at centricular.com
Mon Aug 27 07:29:12 UTC 2018


On Tue, 2018-08-21 at 10:29 -0700, David Manpearl wrote:
> Does anyone have an example for using
> "gst_player_video_overlay_video_renderer_new_with_sink()"?
> 
> I have a pipeline ending with "videoconvert" that can be piped
> into autovideosink as in "videoconvert ! autovideosink". The pipeline
> is created with: "gst_parse_launch"
> 
> I also have a video player running in iOS instantiated as follows:
> GstPlayerVideoRenderer *renderer =
> gst_player_video_overlay_video_renderer_new_with_sink ((__bridge
> gpointer)(video_view), mySink);
> player = gst_player_new (renderer, NULL);
> 
> My question is: How to setup "mySink" to connect the GstElement
> *pipeline with the renderer?

You can't use GstPlayer to run arbitrary pipelines. In your case,
directly place the "mySink" into your custom pipeline.

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180827/b4911d3e/attachment-0001.sig>


More information about the gstreamer-devel mailing list