How to get duration information from pipeline?

Stefan Kost ensonic at
Thu Aug 11 01:18:24 PDT 2011

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.


More information about the gstreamer-devel mailing list