gst_player_video_overlay_video_renderer_new_with_sink on iOS

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gst_player_video_overlay_video_renderer_new_with_sink on iOS

David Manpearl
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?


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst_player_video_overlay_video_renderer_new_with_sink on iOS

Sebastian Dröge-3
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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment