which always gives me a duration of 99:99:99.999999999.
The files I am using are the big buck bunny files which appear to be correctly formatted containers. When I use gst-discoverer-1.0 on these files its reports the correct duration of 0:09:56.461666666. So it appears that container files have the duration. I have tried to call the query on various elements in the pipeline but still I get the incorrect duration. In a similar way, I am querying the position during playback using: