Use playbin for seeking on Gstreamer

signifer_fata signifer_fata at protonmail.com
Thu Jul 13 17:39:26 UTC 2017


Hello all,

This is my first time posting so I hope my question conveys everything
clearly and to the standards of the board.
I have created a Gstreamer pipeline for streaming from a remote camera
attached to a node to my computer which then opens the video stream while
simultaneously recording it using two sinks.

STREAM

gst-launch-1.0 -v -e v4l2src device=/dev/video0 !
video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! rtph264pay
pt=127 config-interval=4 ! udpsink host=xxx.xxx.x.xxx port=xxxx

VIEW AND SAVE

gst-launch-1.0 -e udpsrc port=xxxx ! application/x-rtp, payload=127 !
rtph264depay ! tee name=t ! queue ! avdec_h264 ! xvimagesink sync=false t. !
queue ! video/x-h264 ! h264parse ! mp4mux ! filesink
location=filelocation.mp4

The pipeline works exactly as I would like it.

However, now I am trying to adjust my pipeline to use plugins that would
allow me to seek and navigate through the stream, accessing the recording
video while the stream continues.

I've read that Playbin might allow me to do this so I was hoping someone
could give a beginner a hand in describing its implementation. Thanks in
advance.

Regards,

Seth



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Use-playbin-for-seeking-on-Gstreamer-tp4683809.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list