<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Jerry<div><br></div><div>Take a look at gst_element_query_duration:</div><div><br></div><div><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;"><a href="https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-query-duration">https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-query-duration</a></span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;"><br></span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">if you need to do it programmatically. For inspection purposes you may use gst-discoverer-1.0</span></p><br><div id="AppleMailSignature">Michael</div><div id="AppleMailSignature">RidgeRun</div><div><br>On Aug 2, 2018, at 18:17, Jerry Geis <<a href="mailto:jerry.geis@gmail.com">jerry.geis@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Is there a way with gstreamer to get the duration in minutes of the movie ?<div>In this case I don't want to play the file - just get the length of the movie.</div><div><br></div><div>Thanks,</div><div><br></div><div>Jerry</div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>gstreamer-devel mailing list</span><br><span><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a></span><br><span><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></span><br></div></blockquote></div></body></html>