I am new to GStreamer following is the issue I am facing
Pipeline 1
v4l2src device=/dev/video241 ! video/x-h264,height=720,width=1280,framerate=30/1 ! tvcameradmx name=demux demux.video_0 ! queue ! omx_h264dec ! xvimagesink
Pipeline 2
appsrc ! video/x-h264,height=720,width=1280,framerate=30/1 ! avimux ! filesink
I want to attach appsrc
to the queue of pipeline 1
For this I am using appsrc in push mode.
- I have created a callback for "need-data" signal
- This callback is triggered when pipeline 2 goes from paused to playing state
- Now to push queue buffer I have to use gst_app_src_push_buffer.
My question is how can I retrieve the buffers from the queue ????