Hi All, How to use 'seek' with gst-launch?

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

Hi All, How to use 'seek' with gst-launch?

xiupeng xie
Hi All:
If I want to start one streaming for 29 seconds, how do i input to gst-launch?
 
How do i convert from BYTE-based stream to Time-based stream?
 
Thanks.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Hi All, How to use 'seek' with gst-launch?

Felipe Contreras
On Tue, Feb 10, 2009 at 5:25 PM, xiupeng xie <[hidden email]> wrote:
> Hi All:
> If I want to start one streaming for 29 seconds, how do i input to
> gst-launch?

You need to write an application to do that.

> How do i convert from BYTE-based stream to Time-based stream?

I guess a demuxer/parser does that for you.

--
Felipe Contreras

------------------------------------------------------------------------------
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: Hi All, How to use 'seek' with gst-launch?

Stefan Sauer
In reply to this post by xiupeng xie
xiupeng xie schrieb:
> Hi All:
> If I want to start one streaming for 29 seconds, how do i input to
> gst-launch?


according to bildboed on irc:
gst-launch-0.10 -v gnlfilesource location=song.mp3" duration=10000000000
media-duration=10000000000 media-start=20000000000 ! alsasink

Stefan

>  
> How do i convert from BYTE-based stream to Time-based stream?
>  
> Thanks.
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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: Hi All, How to use 'seek' with gst-launch?

Edward Hervey
Administrator
On Mon, 2009-02-16 at 11:17 +0200, Stefan Kost wrote:
> xiupeng xie schrieb:
> > Hi All:
> > If I want to start one streaming for 29 seconds, how do i input to
> > gst-launch?
>
>
> according to bildboed on irc:
> gst-launch-0.10 -v gnlfilesource location=song.mp3" duration=10000000000
> media-duration=10000000000 media-start=20000000000 ! alsasink

  That would be an example of playing 10s of a file starting from 20s in
that file.

    Edward

>
> Stefan
> >  
> > How do i convert from BYTE-based stream to Time-based stream?
> >  
> > Thanks.
> >
> >
> > ------------------------------------------------------------------------
> >
> > ------------------------------------------------------------------------------
> > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> > software. With Adobe AIR, Ajax developers can use existing skills and code to
> > build responsive, highly engaging applications that combine the power of local
> > resources and data with the reach of the web. Download the Adobe AIR SDK and
> > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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