Hello all, First of all a big thank you for developing such a great tool ! That being said ... I have a problem with the following. On a remote machine I have an audio source with a udpsink on my local machine using port 8001 using : gst-launch-1.0 -ev udpsrc port=8001 caps=application/x-rtp,media=audio,clock-rate=90000,encoding-name=MPA,payload=14,ssrc=2608690421,timestamp-offset=3965000461,seqnum-offset=25383 ! decodebin ! autoaudiosink works perfectly and sound flows out of the speakers. Using the following python code yields nothing, no errors but no
sound either import gi self.pipeline = Gst.Pipeline("audioPipeline")
Thanks in advance for your help Jouke --
Jouke Hijlkema - Ingénieur de
recherche
Laboratoire de Propulsion Département Modèles pour l'Aérodynamique et l'Energétique Tél : + 33 5 61 56 63 93 - Fax : + 33 5 61 56 63 87 ONERA - The
French Aerospace Lab - Centre du Fauga-Mauzac Avertissement/disclaimer http://www.onera.fr/onera-en/emails-terms _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I think you know it, but just to be sure... Do you wait after calling self.pipeline.set_state(Gst.State.PLAYING)? This is not a blocking call and the program will exit immediately.
|
Couple of things:
1. decodebin has 'sometimes' src pads so you should not hard link decodebin to any element a-priori. 2. You have to connect to the 'pad-added' signal on decodebin and in its callback connect the remainder of your pipeline elements. (e.g. self.dec.connect("pad-added", self.cbDecPadAdded)) 3. You need an event loop (e.g. GObject.Mainloop.run()) after you set the pipeline to PLAYING. |
Free forum by Nabble | Edit this page |