Pipeline manipulations

gotsring gotsring at live.com
Tue Jan 19 16:18:58 UTC 2021


Not quite sure what you're looking for. Did you check out the examples?
https://gstreamer.freedesktop.org/documentation/tutorials/basic/dynamic-pipelines.html?gi-language=c

You can probably modify this code to do what you need to. To change the
filesrc (I think):
 - Stop the pipeline (put it in GST_STATE_READY)
 - Change the location property for the filesrc
 - Start playing again

To find what time the user clicked stop, you can probably either create a
GstClock or use the pipeline's.
There will probably be a slight delay when loading the new file, so you
might want to pre-load the file in a different filesrc element and use
input-selector to change which video is showing.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list