I’ve written a program modified from gst-play in gst-base repository that can play multiple video gaplessly using playbin. However, the program can only ran on my pc(amd64), the video stuck when running on my tx2 board. I’m sure that the code I wrote is right on implementing the about-to-finish signal in playbin since it’s copied from the official gst-play and has been tested on a pc. The code I wrote can be found here:
https://gist.github.com/chichunchen/220e2bcac05ba866241c7e301340aa44#file-simple-gst-play-c-L294. The compilation and usage is in the gist comment.
Update: The current gst-play installed via
sudo apt-get install gstreamer1.0-plugins-base-apps
has the same problem when specifing the gapless flag:
gst-play-1.0 rhino-2k/ --gapless
Thank you!