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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 >> [hidden email] >> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >> > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
OK, I got it with a probe on Gst.Bin ghostpad.
++ Jack Le 17/09/2019 à 19:10, Jack a écrit : > 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 >>> [hidden email] >>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >>> >> >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >> > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |