Current Duration of 3GP File

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Oct 21 02:08:06 PDT 2011


On Fri, 2011-10-21 at 13:47 +0530, Umakant Goyal wrote:

> I am trying to get the current duration of 3gp file when my pipeline
> is in playing state.
> But whenever i try to get the current duration using API
> gst_element_query_duration then it always returns same value even
> though API call is successful.
> Please suggest me what to do to get the current duration of file when
> pipeline is in playing state?

Why do you expect the duration to change between calls?

Did you mean to do a position query instead?

Cheers
 -Tim



More information about the gstreamer-devel mailing list