[gst-devel] GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom > 0' failed

sudarshan bisht bisht.sudarshan at gmail.com
Wed Dec 10 06:07:10 CET 2008


Hi ,
     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).

On Wed, Dec 10, 2008 at 8:44 AM, Noe Nieto <tzicatl at gmail.com> wrote:

> Nice mission.. I don't use that function nowhere in my code. I think is
> somewhere inside the elements I use for this pipeline.
>
> Got to learn how to debug gstreamer pipelines.
>
>
> 2008/12/9 Eric Zhang <nicolas.m.zhang at gmail.com>
>
> Hi, gstreamer-devel:
>>
>>     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.
>>
>>     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.
>>
>> Eric Zhang
>>
>> 2008/12/10 Noe Nieto <tzicatl at gmail.com>
>>
>>>  I am working with this pipeline:
>>> gnomevfssrc name="camsrc" do-timestamp=true location="%s" !
>>> multipartdemux ! jpegdec ! \
>>> timeoverlay valign="bottom" text="Frame Time" shaded-background=true ! \
>>> clockoverlay text="clock time:" shaded-background=true ! ffmpegcolorspace
>>> ! \
>>> ximagesink force-aspect-ratio="true"
>>>
>>> When I run it there is a lot of messages printed in the console and they
>>> look like this:
>>>
>>> GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom > 0'
>>> failed
>>>
>>> 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?
>>>
>>>
>>> I hope someone can give some advice.
>>> Noe.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>>> Nevada.
>>> The future of the web can't happen without you.  Join us at MIX09 to help
>>> pave the way to the Next Web now. Learn more and register at
>>>
>>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
>> Nevada.
>> The future of the web can't happen without you.  Join us at MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>>
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>


-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081210/61aab979/attachment.htm>


More information about the gstreamer-devel mailing list