[gst-devel] How to find out the time a pipeline has been run for?

David Liu davel at itee.uq.edu.au
Fri Nov 19 16:15:19 CET 2010


On 19/11/2010, at 12:23 AM, Yogesh Marwaha wrote:

> Thanks for your reply, but this is not what I was asking. I want the
> time/period for which the pipeline has run, not the time/duration
> which it has processed.

It sounds like you're looking for the "current running time":

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-clocks.html


Cheers,

- Dave L

> 
> Regards
> 
> On 18 November 2010 17:35, sudarshan bisht <bisht.sudarshan at gmail.com> wrote:
>> Hi,
>> 
>> You can query current position from the pipeline. For more information visit
>> the link;
>> 
>> 
>> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-queryevents.html#section-querying
>> 
>> 
>> On Thu, Nov 18, 2010 at 12:45 PM, Yogesh Marwaha <yogeshm.007 at gmail.com>
>> wrote:
>>> 
>>> Hi,
>>> 
>>> I have a simple pipeline for ripping audiocd track.
>>> 
>>> It is something like this: -
>>> cdparanoiasrc > audioconvert > lamemp3enc > filesink
>>> 
>>> I want to be able to show its progress in a gui and, hence, want to
>>> know the time the pipeline has run any given point.
>>> 
>>> Thanks in advance,
>>> 
>>> --
>>> Yogesh M
>>> http://sparklemedia.sourceforge.net/
>>> http://mazedaar.wordpress.com/
>>> http://snakeeyes.wordpress.com/
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Beautiful is writing same markup. Internet Explorer 9 supports
>>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>>> Spend less time writing and  rewriting code and more time creating great
>>> experiences on the web. Be a part of the beta today
>>> http://p.sf.net/sfu/msIE9-sfdev2dev
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> 
>> 
>> 
>> --
>> Regards,
>> 
>> Sudarshan Bisht
>> 
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> 
>> 
> 
> 
> 
> -- 
> Yogesh M
> http://sparklemedia.sourceforge.net/
> http://mazedaar.wordpress.com/
> http://snakeeyes.wordpress.com/
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> 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