Wrong file duration

Mikl michael.yarochkin at timetronics.be
Fri Feb 3 13:51:31 UTC 2017


Hello,

I have mkv file (recorded my gstreamer) of 125Mb, 60 sec long and about 1200
frames. 
It is played well in VLC, but in my app i am doing this:

gst_element_query_duration(_pipeline, GST_FORMAT_TIME,
(gint64*)&fileDuration); 

and fileDuration is only 1 sec (1 100 000 000). It is 22 frames.

What i am doing wrong?
How i can see the rest of the file?

Mikl



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Wrong-file-duration-tp4681702.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list