seek after pause not working in gst-auto-launch

Luciana Fujii luciana at fujii.eti.br
Mon Nov 7 12:00:37 PST 2011


On Sat, 2011-11-05 at 19:26 +0530, vijay wrote:
> Hi,
> 
> 1)   I tried seek after a pause command in gst-auto-launch for ogg,
> 
> gst-auto-launch filesrc location=test.ogg ! oggdemux ! vorbisdec !
> audioconvert ! alsasink 0:play 3:pause 1:seek:0 1:play
> 
> But after reaching paused stated it didnt play.

The number before ':' defines the time the command will be called.
You're asking it to play at 0, seek at 1, play at 1 and then pause at 3,
so it's expected it won't play after pause.

> 2) gst-auto-launch filesrc location=test.ogg ! oggdemux ! vorbisdec !
> audioconvert ! alsasink 0:play 5:stop 1:play
> 
> in this case after reaching ready state ,plugin stayed in ready it
> didnt play the file for 'play' command.

Are you sure it didn't start playing at 1 and then stopped at 5?

Best Regards,

Luciana Fujii



More information about the gstreamer-devel mailing list