How to come back to first frame

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

How to come back to first frame

Nitin Mahajan-2

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to come back to first frame

Sudarshan Bisht
Hi  Nitin ,
        You can run the same pipeline again with using  "freeze" plugin  in your pipeline . Insert this plugin after your decoder plugin .  

On Tue, Mar 3, 2009 at 10:28 AM, Nitin Mahajan <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to come back to first frame

Nitin Mahajan-2
In reply to this post by Nitin Mahajan-2

Thank you Sudarshan,

--- On Tue, 3/3/09, sudarshan bisht <[hidden email]> wrote:

> From: sudarshan bisht <[hidden email]>
> Subject: Re: [gst-devel] How to come back to first frame
> To: [hidden email], "Discussion of the development of GStreamer" <[hidden email]>
> 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?

regards

-Nitin

>
> On Tue, Mar 3, 2009 at 10:28 AM,
> Nitin Mahajan <[hidden email]>
> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to come back to first frame

michael smith-6-3
In reply to this post by Nitin Mahajan-2
On Mon, Mar 2, 2009 at 8:58 PM, Nitin Mahajan <[hidden email]> 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?

You can just seek to the start and pause it there.

Mike

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to come back to first frame

Edward Hervey
Administrator
In reply to this post by Nitin Mahajan-2
On Mon, 2009-03-02 at 22:10 -0800, Nitin Mahajan wrote:

> Thank you Sudarshan,
>
> --- On Tue, 3/3/09, sudarshan bisht <[hidden email]> wrote:
>
> > From: sudarshan bisht <[hidden email]>
> > Subject: Re: [gst-devel] How to come back to first frame
> > To: [hidden email], "Discussion of the development of GStreamer" <[hidden email]>
> > 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.

     Edward

>
> regards
>
> -Nitin
> >
> > On Tue, Mar 3, 2009 at 10:28 AM,
> > Nitin Mahajan <[hidden email]>
> > 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
> > [hidden email]
> > 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to come back to first frame

Wim Taymans
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 <[hidden email]> wrote:
> >
> > > From: sudarshan bisht <[hidden email]>
> > > Subject: Re: [gst-devel] How to come back to first frame
> > > To: [hidden email], "Discussion of the development of GStreamer" <[hidden email]>
> > > 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 <[hidden email]>
> > > 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
> > > [hidden email]
> > > 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
> > [hidden email]
> > 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel