gst_element_query_duration

Florin Curelaru patronixys at yahoo.com
Fri Jun 28 08:38:57 PDT 2013


  Hi,

 From what I have seen in your code, I'm afraid I didn't understand what
exactly worked in 0.10.28 (/and now it doesn't work in 10.36).

 You inject a stream in appsrc, but nobody in the pipeline knows the
length/size of the stream.

 As long as the size of the stream is not known, the duration of the stream
can't be estimated correctly. In order to estimate properly the duration, a
conversion from total bytes to duration is usually needed somewhere in the
pipeline.

 There appsrc has a "size" property you can use it.

 Did I understand correctly the issue you had encountered?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-element-query-duration-tp4660766p4660805.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list