<div dir="ltr"><div>I can tell you it is pain - different formats store it in different places. <br><br></div>Lucky for me I have a limited number of formats to deal with, here is what I currently use:<br><div><div><div><br>discoverer <span class="gmail-pl-k">=</span> GstPbutils.Discoverer()
<br>d <span class="gmail-pl-k">=</span> discoverer.discover_uri(<span class="gmail-pl-s"><span class="gmail-pl-pds">'</span>file://<span class="gmail-pl-c1">{}</span><span class="gmail-pl-pds">'</span></span>.format(pathname))
<br>tags<span class="gmail-pl-k">=</span> d.get_tags()
<br>dt<span class="gmail-pl-k">=</span>tags.get_date_time(<span class="gmail-pl-s"><span class="gmail-pl-pds">"</span>datetime<span class="gmail-pl-pds">"</span></span>)[<span class="gmail-pl-c1">1</span>]<br><br><a href="https://github.com/CarlFK/veyepar/blob/master/dj/lib/tsraw.py#L126-L129">https://github.com/CarlFK/veyepar/blob/master/dj/lib/tsraw.py#L126-L129</a><br><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 16, 2016 at 2:38 PM, jack <span dir="ltr"><<a href="mailto:jackstuff3@gmail.com" target="_blank">jackstuff3@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>Hi Mikl,</div><div>Yes, I was able to get that to work for me, but including all the necessary libraries makes my program grow from 50k to 79Mb. So my problem is solved, I just want to figure out how to simply open the file and read the data.</div><div><br></div><div>Jack</div><div><br></div><div><br></div><div id="m_-7725475418547953531composer_signature"><div style="font-size:88%;color:#364f67" dir="auto">Sent from my Verizon 4G LTE smartphone</div></div><div><div class="h5"><br><br>-------- Original message --------<br>From: Michael Yarochkin <<a href="mailto:michael.yarochkin@timetronics.be" target="_blank">michael.yarochkin@<wbr>timetronics.be</a>> <br>Date: 12/16/16 2:16 AM (GMT-07:00) <br>To: Discussion of the development of and with GStreamer <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<wbr>freedesktop.org</a>> <br>Subject: Re: Creation_time extracted from video container <br><br>
<div id="m_-7725475418547953531divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<div id="m_-7725475418547953531divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hello, Jack</p>
<p><br>
</p>
<p>This data is extracted by <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
ffmpeg </span>from metadata.</p>
<p>Did you tried to use </p>
<p><a href="https://gstreamer.freedesktop.org/documentation/application-development/advanced/metadata.html" class="m_-7725475418547953531OWAAutoLink" id="m_-7725475418547953531LPlnk688745" target="_blank">https://gstreamer.freedesktop.<wbr>org/documentation/application-<wbr>development/advanced/metadata.<wbr>html</a></p>
<div id="m_-7725475418547953531LPBorder_GT_14818797145380.7940495982272862" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px">
<table id="m_-7725475418547953531LPContainer_14818797145360.8637566779754562" style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td id="m_-7725475418547953531TextCell_14818797145360.10562240418647995" colspan="2" style="vertical-align:top;padding:0px;display:table-cell">
<div id="m_-7725475418547953531LPRemovePreviewContainer_14818797145370.9932304319134035"></div>
<div id="m_-7725475418547953531LPTitle_14818797145370.8762851980988458" style="color:rgb(0,120,215);font-weight:normal;font-size:21px;font-family:wf_segoe-ui_light,"Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;line-height:21px">
<a id="m_-7725475418547953531LPUrlAnchor_14818797145370.8187406159662416" href="https://gstreamer.freedesktop.org/documentation/application-development/advanced/metadata.html" style="text-decoration:none" target="_blank">Metadata - gstreamer.freedesktop.org</a></div>
<div id="m_-7725475418547953531LPMetadata_14818797145370.43856293198128693" style="margin:10px 0px 16px;color:rgb(102,102,102);font-weight:normal;font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:14px">
<a href="http://gstreamer.freedesktop.org" target="_blank">gstreamer.freedesktop.org</a></div>
<div id="m_-7725475418547953531LPDescription_14818797145370.034668277678737924" style="display:block;color:rgb(102,102,102);font-weight:normal;font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:20px;max-height:100px;overflow:hidden">
Metadata. GStreamer makes a clear distinction between two types of metadata, and has support for both types. The first is stream tags, which describe the content of a ...</div>
</td>
</tr>
</tbody>
</table>
</div>
Mikl</div>
<div>
<div dir="ltr">
<div></div>
</div>
</div>
</div>
</div></div></div><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>