I was wondering if it is possible to even get the multifilesrc to work. I am on the latest gstreamer version and cannot make a simple video loop. I've tried so many iterations of the above, to show a few:
gst-launch-1.0 multifilesrc location="./short.mp4" loop=TRUE index=0 ! decodebin ! autovideosink
gst-launch-1.0 multifilesrc location="./short.mp4" loop=TRUE ! decodebin ! autovideosink
gst-launch-1.0 multifilesrc location="./short.mp4" loop=true ! decodebin ! autovideosink
gst-launch-1.0 multifilesrc location="./short.mpg" loop=true ! decodebin ! autovideosink
Does anyone know what is missing to loop? I also added raw caps filtering to no avail. I can do it incredibly easily with an image on multifilesrc, but with video cannot get to work. I need the script to repeat the video file provided in a larger script, but cannot get it to work even at the most basic level.
According to https://gstreamer.freedesktop.org/documentation/multifile/multifilesrc.html?gi-language=c, it should be possible on all media.