Current Duration of 3GP File

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

Current Duration of 3GP File

qwerty-1
Hi All,

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?

Thanks,
Uma

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Current Duration of 3GP File

Tim-Philipp Müller-2
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Current Duration of 3GP File

qwerty-1
Oops ..sorry for wrong query -:(..please Ignore this..

On Fri, Oct 21, 2011 at 2:38 PM, Tim-Philipp Müller <[hidden email]> wrote:
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

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


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