Detect EOS in several Gst.Bin

Jack jack at rybn.org
Tue Sep 17 17:10:35 UTC 2019


Here my Gst.Bin (command line presentation because I use Python) :

uridecodebin message-forward=true
uri=file:///home/myhome/Musique/mysound.mp3 ! audioconvert ! queue =>
ghost_pad

So my question was : how to detect EOS of one Gst.Bin when i have
several Gst.Bin like this one mix together with the adder element
(connected on alsa) ?
Best!
++

Jack



Le 17/09/2019 à 14:27, Jack a écrit :
> I forgot :
> - ubuntu 18.04
> - GStreamer 1.17.0 (GIT)
> Best!
> ++
> 
> Jack
> 
> 
> 
> Le 17/09/2019 à 14:16, Jack a écrit :
>> Hello,
>>
>> I have a pipeline with several Bin (most of them are using uridecodebin
>> element to play a song from URI file://...). Then Bin are mixed together
>> with the adder element.
>> Everything is working as expected but I can't detect EOS when one Bin
>> reach the end of a song.
>>
>> I bet on the do_handle_message() method in a class herited from Gst.Bin
>> (Python), I can receive messages but no one is of type
>> "Gst.MessageType.EOS".
>>
>> Any clue ?
>> Thanx.
>> ++
>>
>> Jack
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 



More information about the gstreamer-devel mailing list