How to create a playback pipeline
I need a help to create a pipeline using gstd (in C language) which can play a complete playlist of videos back to back without any gap. I am stuck in creating a pipeline. Do I need to create pipeline for every video file? or there is a way to create a single pipeline which can handle the multiple videos one by one.
Have you checked the examples at: https://github.com/RidgeRun/gstd-1.x/tree/master/examples/libgstc This might help with your application.
I have already checked, in gapless playback example it is just playing one video and seeking it at starting and playing it again. I just want to know whether there is way to create a single pipeline which can play different videos one by one "or" I have to create pipeline for every single every video.
Also I have tried with gstc_element_set() to set location with new video file path (when one file reached eos), but its not working.
Yes, you can change the file path to use a single pipe. However, videos could have different encodings, resolutions. And that info usually is set at the capabilities during the negotiation (at the beginning). You can force this to happen if you delete, and create the pipe with a new file path.