Hi, gstreamer-devel:<br><br>&nbsp;&nbsp;&nbsp; gst_util_uint64_scale_int has 3 parameters: val, num, denom and this function perform val*num/denom and return the result. The last parameter denom can&#39;t be negative, that&#39;s why you got these warning messages.<br>
<br>&nbsp;&nbsp;&nbsp; So your mission is to find out where these messages come from. After that, you can tell why these messages occur. I also got these warnings several times and finally I find out the denom which I passed to gst_util_uint64_scale_int will be -1 when the playing is reaching EOS. So I add a &quot;if&quot; logic in the code and solved this problem.<br>
<br>Eric Zhang<br><br><div class="gmail_quote">2008/12/10 Noe Nieto <span dir="ltr">&lt;<a href="mailto:tzicatl@gmail.com">tzicatl@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am working with this pipeline:<br>gnomevfssrc name=&quot;camsrc&quot; do-timestamp=true location=&quot;%s&quot; ! multipartdemux ! jpegdec ! \<br>
timeoverlay valign=&quot;bottom&quot; text=&quot;Frame Time&quot; shaded-background=true ! \<br>
clockoverlay text=&quot;clock time:&quot; shaded-background=true ! ffmpegcolorspace ! \<br>
ximagesink force-aspect-ratio=&quot;true&quot;<br><br>When I run it there is a lot of messages printed in the console and they look like this:<br><br>GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom &gt; 0&#39; failed<br>

<br>This happens when I run the pipeline either with gst-launch or a specifically designed python app. The question is: Why do I keep getting this messages on the console?<br><br><br>I hope someone can give some advice.<br>
<font color="#888888">
Noe.<br>
</font><br>------------------------------------------------------------------------------<br>
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.<br>
The future of the web can&#39;t happen without you. &nbsp;Join us at MIX09 to help<br>
pave the way to the Next Web now. Learn more and register at<br>
<a href="http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/" target="_blank">http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/</a><br>_______________________________________________<br>

gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">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></blockquote></div><br>