Callback from gstreamer to application

Nitin Mahajan rise.era at gmail.com
Thu Jul 20 08:29:13 UTC 2017


You may prefer to read open source player implementation, such as totem
media player to start with (simple player).
That may answer many questions on user operations with multimedia playback.

Regards,
Nitin

On Wed, Jun 14, 2017 at 3:54 PM, jmz <jmzheng at gmail.com> wrote:

> Hi,
>
> I also want to develop a testplayer application linking with a playback.c
> library (GStreamer-based codes) to use functions such as play, stop, etc.
>
> My testplayer calls playback_create function to create a new thread which
> invokes playback_main function. Then, the playback_main sets up pipeline
> and
> finally calls g_main_loop_run(). The testplayer will receive user commands
> in a while loop to manipulate several playback pipelines.
>
> My first question is: is my design (creating a new thread which runs event
> loop) appropriate for this scenario?
>
> My second question is: how does the testplayer control the pipeline? For
> example, how to design a playback_stop function to be used by testplayer
> for
> stopping a pipeline?
>
> ps. I need to develop playback.c although gstplayer may be useful.
>
> Thanks
>
> Le mardi 31 janvier 2017 à 04:31 -0800, deepthips a écrit :
> > I have a gstreamer code (say playback.c) with basic functions such as
> > load,
> > play, stop, seek etc.
> > I have a testapp which will link the playback.c library and call those
> > functions.
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.
> n4.nabble.com/Callback-from-gstreamer-to-application-
> tp4681667p4683376.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170720/0c2645fe/attachment.html>


More information about the gstreamer-devel mailing list