<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div> Is the gst_element_query_duration() depend on some plugins? Today, I just install some more Gstreamer's base plugins and some ugly plugins , then the duration can be got successfully! plugins I install are:</div>
<div><div><span style="white-space: pre-wrap; ">        </span>alsa</div><div><span style="white-space: pre-wrap; ">        </span>ogg</div><div><span style="white-space: pre-wrap; ">        </span>pango</div><div><span style="white-space: pre-wrap; ">        </span>theora</div>
<div><span style="white-space: pre-wrap; ">        </span>vorbis</div><div> gconfelements</div></div><div>so which one will effect the gst_element_query_duration(). </div></span><br><div class="gmail_quote">On Sat, Nov 20, 2010 at 10:06 AM, michael young <span dir="ltr"><<a href="mailto:mcygogo@gmail.com">mcygogo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">When I run my app upon the gstreamer-0.10.25, I can get the right duration thought the gst_element_query_duration(), But I cannot get it<div>
upon the gstreamer-0.10.30. and I am sure the code is the some one. and the code you can get from <a href="https://wraithmedia.svn.sourceforge.net/svnroot/wraithmedia" target="_blank">https://wraithmedia.svn.sourceforge.net/svnroot/wraithmedia</a> . So anybody can help?<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Fri, Nov 19, 2010 at 6:29 PM, Stefan Kost <span dir="ltr"><<a href="mailto:ensonic@hora-obscura.de" target="_blank">ensonic@hora-obscura.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div>On 19.11.2010 11:23, michael young wrote:<br>
> Hi all:<br>
> I write a simple player, but I found that it's always return false<br>
> when I call the gst_element_duration(), so I cannot get the<br>
> right duration of the media file . and anybody know why ?<br>
<br>
</div></div>Maybe you could start providing more info. Is the source code for your<br>
project available somewhere. Are you using playbin2? Are you querying<br>
the duration from the pipeline? if not what element are you querying the<br>
duration from. When do you query (once it is playing?)<br>
<br>
Stefan<br>
<br>
><br>
> ------------------------------------------------------------------------------<br>
> Beautiful is writing same markup. Internet Explorer 9 supports<br>
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.<br>
> Spend less time writing and rewriting code and more time creating great<br>
> experiences on the web. Be a part of the beta today<br>
> <a href="http://p.sf.net/sfu/msIE9-sfdev2dev" target="_blank">http://p.sf.net/sfu/msIE9-sfdev2dev</a><br>
><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><br>
<br>
<br>
------------------------------------------------------------------------------<br>
Beautiful is writing same markup. Internet Explorer 9 supports<br>
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.<br>
Spend less time writing and rewriting code and more time creating great<br>
experiences on the web. Be a part of the beta today<br>
<a href="http://p.sf.net/sfu/msIE9-sfdev2dev" target="_blank">http://p.sf.net/sfu/msIE9-sfdev2dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br>