Parse pipeline to Python
Arjen Veenhuizen
arjen at moonlightmedia.nl
Wed Apr 5 06:28:01 UTC 2017
For simple pipelines you can resort to using Gst.parse_launch():
This way you don't have to go through the trouble of creating the pipeline
yourself. You can access individual elements by their name, e.g.
You can also get rid of your parser (which turn out to be missing in your
code in the first place!) and decoder elements after the demuxer and replace
mpegpsdemux by decodebin, The decodebin element also has a pad-added signal
which will be fired for each elementary stream (audio/video). Make sure to
check the pad names in you callback because they will likely have different
names compared to the demuxer.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Parse-pipeline-to-Python-tp4682430p4682523.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list