<div>Hi ,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; You are doing something wrong while setting properties of elements , check them again and see what is the correct format of setting them (check for int, float, boolean&nbsp;etc). &nbsp;<br><br></div>
<div class="gmail_quote">On Wed, Dec 10, 2008 at 8:44 AM, Noe Nieto <span dir="ltr">&lt;<a href="mailto:tzicatl@gmail.com">tzicatl@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Nice mission.. I don&#39;t use that function nowhere in my code. I think is somewhere inside the elements I use for this pipeline.<br>
<br>Got to learn how to debug gstreamer pipelines.<br><br><br>
<div class="gmail_quote">2008/12/9 Eric Zhang <span dir="ltr">&lt;<a href="mailto:nicolas.m.zhang@gmail.com" target="_blank">nicolas.m.zhang@gmail.com</a>&gt;</span> 
<div>
<div></div>
<div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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" target="_blank">tzicatl@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div></div>
<div>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></div></div>------------------------------------------------------------------------------<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" 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></blockquote></div><br><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" 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></blockquote></div></div></div><br><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><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>