[gst-devel] How to come back to first frame

Wim Taymans wim.taymans at gmail.com
Tue Mar 3 19:32:05 CET 2009


On Tue, 2009-03-03 at 11:30 +0100, Edward Hervey wrote:
> On Mon, 2009-03-02 at 22:10 -0800, Nitin Mahajan wrote:
> > Thank you Sudarshan,
> > 
> > --- On Tue, 3/3/09, sudarshan bisht <bisht.sudarshan at gmail.com> wrote:
> > 
> > > From: sudarshan bisht <bisht.sudarshan at gmail.com>
> > > Subject: Re: [gst-devel] How to come back to first frame
> > > To: nitinm76 at yahoo.com, "Discussion of the development of GStreamer" <gstreamer-devel at lists.sourceforge.net>
> > > Date: Tuesday, 3 March, 2009, 11:06 AM
> > > Hi  Nitin , 
> > >         You can run the same pipeline again
> > > with using  "freeze" plugin  in your pipeline .
> > > Insert this plugin after your decoder plugin .  
> > > 
> > 
> > Is there a way without using the additional plugin?
> > like chnaging the pipe line to a particular state in EOS handling?
> 
>   Do what Mike said. In EOS : do a flushing seek to 0, and set the
> pipeline to PAUSED. It will cause the pipeline to pause at ... the
> beginning.
> 

Or even better, set the pipeline to PAUSED when you get EOS, then do a
flushing seek to 0. This would avoid the pipeline running a little
before it pauses.

Wim

>      Edward
> 
> > 
> > regards
> > 
> > -Nitin 
> > > 
> > > On Tue, Mar 3, 2009 at 10:28 AM,
> > > Nitin Mahajan <nitinm76 at yahoo.com>
> > > wrote:
> > > 
> > > 
> > > HI!
> > > 
> > > I have written a mediaplayer for playing multimedia files
> > > through getreamer, using some custom plugins.
> > > 
> > > 
> > > After a video has played completely, how can I come back to
> > > first frame and wait there?
> > > 
> > > regards
> > > 
> > > -Nitin
> > > 
> > > 
> > >      New Email addresses available on Yahoo!
> > > Get the Email name you've always wanted on the new
> > > @ymail and @rocketmail.
> > > 
> > > Hurry before someone else does!
> > > http://mail.promotions.yahoo.com/newdomains/aa/
> > > 
> > > ------------------------------------------------------------------------------
> > > 
> > > Open Source Business Conference (OSBC), March 24-25, 2009,
> > > San Francisco, CA
> > > -OSBC tackles the biggest issue in open source: Open
> > > Sourcing the Enterprise
> > > -Strategies to boost innovation and cut costs with open
> > > source participation
> > > 
> > > -Receive a $600 discount off the registration fee with the
> > > source code: SFAD
> > > http://p.sf.net/sfu/XcvMzF8H
> > > _______________________________________________
> > > 
> > > gstreamer-devel mailing list
> > > gstreamer-devel at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> > > 
> > > 
> > > 
> > > 
> > > -- 
> > > Regards,
> > > 
> > > Sudarshan Bisht
> > > 
> > > 
> > 
> > 
> >       Get your new Email address!
> > Grab the Email name you&#39;ve always wanted before someone else does!
> > http://mail.promotions.yahoo.com/newdomains/aa/
> > 
> > ------------------------------------------------------------------------------
> > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> > -Strategies to boost innovation and cut costs with open source participation
> > -Receive a $600 discount off the registration fee with the source code: SFAD
> > http://p.sf.net/sfu/XcvMzF8H
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list