How to get duration information from pipeline?

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

How to get duration information from pipeline?

ShivaKumar
Hello all,

I want to get duration information from gstreamer piptline. I have written a gstreamer application where in I am dumping outputs to file(pcm) using filesink. If I use gst_element_query_duration, am not able to get duration information. The same works if I use alsasink. Can anyone help me out?

Regsrds,
Shiva Kumar

Reply | Threaded
Open this post in threaded view
|

Re: How to get duration information from pipeline?

Stefan Sauer
On 08/01/11 08:44, ShivaKumar wrote:
> Hello all,
>
> I want to get duration information from gstreamer piptline. I have written a
> gstreamer application where in I am dumping outputs to file(pcm) using
> filesink. If I use gst_element_query_duration, am not able to get duration
> information. The same works if I use alsasink. Can anyone help me out?
>
> Regsrds,
> Shiva Kumar
please share a snippet of the relevant code.

Stefan

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel