<div>Hi ,</div>
<div> As far as my understand about your aim is that you want to print time on a jpeg image and want to display the same . </div>
<div>I tried the same thing by just replacing gnomevfssrc with filesrc , and i also got the same problem . </div>
<div> This is happening because of "received non-Time new segment event on video input" in both timeoverlay and clockoverlay elements. And i guess why this is happening because of the data processing is very fast compare to event propagation since only one frame of data is there . </div>
<div> If you try same thing for a video file , you will not get this problem. </div>
<div> </div>
<div> </div>
<div> <br><br></div>
<div class="gmail_quote">On Wed, Dec 10, 2008 at 11:02 AM, Noe Nieto <span dir="ltr"><<a href="mailto:tzicatl@gmail.com" target="_blank">tzicatl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Sorry If I don't understand but:<br><br>This error appears constantly if I launch the pipeline with gst-launch on this way:<br>
gst-launch gnomevfssrc name="camsrc" do-timestamp=true location="<a href="http://server/" target="_blank">http://server/</a>" ! multipartdemux ! jpegdec ! \
<div><br>timeoverlay valign="bottom" text="Frame Time" shaded-background=true ! \<br>clockoverlay text="clock time:" shaded-background=true ! ffmpegcolorspace ! \<br>ximagesink force-aspect-ratio=true<br>
<br></div>The error also appears with the python app that uses the same pipeline. I use gst.parse_launch() to construct the pipeline. I also re-read the manpage for gst-launch and gst_parse_launch() and I did not notice any special way to give string parameters to elements other than the one it's being used. Besides that I am not passing any kind of number parameter to the elements of the pipeline, I am just passing string parameters. <br>
<br>That's why I am confused. The app runs very well, but the messages can be annoying.<br><br>Any clues?<br><br><br><br>
<div class="gmail_quote">2008/12/9 sudarshan bisht <span dir="ltr"><<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>></span>
<div>
<div></div>
<div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hi ,</div>
<div> 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 etc). <br><br></div>
<div>
<div></div>
<div>
<div class="gmail_quote">On Wed, Dec 10, 2008 at 8:44 AM, Noe Nieto <span dir="ltr"><<a href="mailto:tzicatl@gmail.com" target="_blank">tzicatl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Nice mission.. I don'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"><<a href="mailto:nicolas.m.zhang@gmail.com" target="_blank">nicolas.m.zhang@gmail.com</a>></span>
<div>
<div></div>
<div><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> 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't be negative, that's why you got these warning messages.<br>
<br> 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 "if" 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"><<a href="mailto:tzicatl@gmail.com" target="_blank">tzicatl@gmail.com</a>></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="camsrc" do-timestamp=true location="%s" ! multipartdemux ! jpegdec ! \<br>timeoverlay valign="bottom" text="Frame Time" shaded-background=true ! \<br>
clockoverlay text="clock time:" shaded-background=true ! ffmpegcolorspace ! \<br>ximagesink force-aspect-ratio="true"<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 > 0' 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't happen without you. 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't happen without you. 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't happen without you. 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 clear="all"><br>-- <br></div></div>Regards,<br><font color="#888888"><br>Sudarshan Bisht<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't happen without you. 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't happen without you. 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 clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>