Rewind in filesrc

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Jan 24 01:21:11 PST 2013


On Thu, 2013-01-24 at 00:22 -0800, Baby Octopus wrote:

> Is there any way to rewind(seek a file to the beginning) in filesrc? I want
> only this element to be seeked and not the complete pipeline. 
> 
> Ideally I would expect it to be a property of filesrc element, which if set,
> will rewind once if EOF is reached. 
> 
> Since I would need this feature for continuous playback, I will add this
> feature if no such thing exists as of now. Anybody with any info on this?

What are you trying to do exactly? For looping you can use segment seeks
and seek back to time 0 when you get the segment-done message.

Cheers
 -Tim



More information about the gstreamer-devel mailing list