seek after pause not working in gst-auto-launch

vijay pvijaii at gmail.com
Tue Nov 8 08:37:47 PST 2011


Hi Luciana,
   I tried like as below and it worked,
    gst-auto-launch filesrc location=test.ogg ! oggdemux ! vorbisdec !
  audioconvert ! alsasink 0:play 1:stop 5:play

gst-auto-launch filesrc location=test.ogg ! oggdemux ! vorbisdec !
 audioconvert ! alsasink 0:play 1:pause 2:seek:0 3:play

thanks for the solution.

Regards,
Vijay P

On Tue, Nov 8, 2011 at 1:30 AM, Luciana Fujii <luciana at fujii.eti.br> wrote:

> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111108/0c9ac611/attachment.htm>


More information about the gstreamer-devel mailing list