Hello,
I need to test preview+capture use case using omx_camera. I am able to run preview with omx_camera->fillter->v4l2sink pipeline, For img capturing, I need to use 'imgsrc' pad of omx_camera with queue->filesink. How to add queue & filesink to already running preview pipeline.? Please help.. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi,
You need to set the pipeline to READY state before adding elements into it, and then reset the state to playing.
-Ashwini
On Tue, Jun 14, 2011 at 3:32 PM, Avinash Magdum <[hidden email]> wrote: Hello, _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
This post was updated on .
Now I am able to add elements to running gstreamer preview pipeline. I just paused the pipeline before adding elements to it.
Now I am facing with another problem in putting EOS on this branched pipeline. My pipeline is like this: Pipeline: CapturePipeline ------------------------------------------------------------------ omx_camera(src pad) ->flter->v4l2sink omx_camera(imgsrc pad)->queue->filesink (Image bin) ------------------------------------------------------------------ I am tring to put EOS on this CapturePipeline, but the message callback doesn't receive any eos message. [ gst_element_send_event(CapturePipeline, gst_event_new_eos());] I tried couple of approaches like putting eos on a mux,filesink,etc but didn't get through it. Help!! |
In reply to this post by Avinash
Now I am able to add elements to running gstreamer preview pipeline. I just
paused the pipeline before adding elements to it. Now I am facing with another problem in putting EOS on this branched pipeline. My pipeline is like this: Pipeline: CapturePipeline ------------------------------------------------------------------ omx_camera(src pad) ->flter->v4l2sink omx_camera(imgsrc pad)->queue->filesink (Image bin) ------------------------------------------------------------------ I am tring to put EOS on this CapturePipeline, but the message callback doesn't receive any eos message. [ gst_element_send_event(CapturePipeline, gst_event_new_eos());] Help!! _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Avinash
Absolutely right. Changing to READY STATE did the trick.
Thank you. |
You can just block the two pads between which you want to add new elements, create new element, link, change state and unblock the previously blocked pads.
On Thu, Sep 8, 2011 at 6:40 PM, nidhi <[hidden email]> wrote: Absolutely right. Changing to READY STATE did the trick. -- www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming) twitter handle: @gst_kaps http://www.linkedin.com/in/kapilagrawal _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |