Is it possible to interrupt the gst_main_loop after it has started
running? Should I stop this loop first, in order to change my pipeline? Kindly reply Thanks and Regards, Bibin ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Fri, 2009-06-19 at 09:58 +0530, Bibin joseph wrote:
> Is it possible to interrupt the gst_main_loop after it has started > running? Should I stop this loop first, in order to change my pipeline? Could you provide some more context (or any context at all rather)? What do you mean by 'change your pipeline'? What problems have you encountered doing what? GStreamer pipelines run in their own threads and aren't really aware of any main loops or main contexts the application may or may not be running. Cheers -Tim ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Tim-Philipp Müller wrote:
> On Fri, 2009-06-19 at 09:58 +0530, Bibin joseph wrote: > > >> Is it possible to interrupt the gst_main_loop after it has started >> running? Should I stop this loop first, in order to change my pipeline? >> > > Could you provide some more context (or any context at all rather)? > > What do you mean by 'change your pipeline'? What problems have you > encountered doing what? > > GStreamer pipelines run in their own threads and aren't really aware of > any main loops or main contexts the application may or may not be > running. > > Cheers > -Tim > > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > imagine, I want to mix a video file to an already playing stream. How can it be made possible? ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Tue, 2009-06-23 at 09:57 +0530, Bibin joseph wrote:
> >> Is it possible to interrupt the gst_main_loop after it has started > >> running? Should I stop this loop first, in order to change my pipeline? > >> > > (...) > > I want to edit my pipeline after it has started playing. For example, > imagine, I want to mix a video file to an already playing stream. How > can it be made possible? Dynamic pipelines are still a bit tricky to do, but should be possible (depends a bit on the elements involved). You'll need a bit more knowledge of GStreamer internals than you would need for a non-dynamic application, to take care of pad blocking where required and inject newsegment events and somesuch if needed. I believe there is a document in our design document section about dynamic pipelines. However, with videomixer you should just be able to plug your new source element/stream into the pipeline and then request a new sink pad from videomixer and link that to your new source/stream, I think. In any case, you do not have to stop any main loops in your app for this. Cheers -Tim ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |