Opencv filter error

61 views
Skip to first unread message

xrgu...@gmail.com

unread,
Apr 13, 2018, 6:02:20 AM4/13/18
to kurento
Hello, All:

I am trying to load an opencv filter and got some error like this:

_media_element_impl_bus_message()  MediaElement error: error message: 0x7fb16400a880, time 99:99:99.999999999, seq-num 747, element 'kmsopencvfilter0', GstMessageError, gerror=(GError)NULL, debug=(string)"Undefined\ filter\ error";

At this time, the remote stream could be sent back, but without the effects of filter. That might be caused by trying to read from a csv file. I checked kurento-media-server log and got that error mentioned above. Inside the log, it shows filter module loaded successfully.

Any suggestion will be appreciated!


David Robison

unread,
Apr 19, 2018, 8:50:17 AM4/19/18
to kurento
I had a similar problem with an opencv filter I wrote. It turns out that the problem was my filter was throwing a C++ exception that was not caught in the filter. The "undefined filter error" was really an error internal to the opencv filter. Try using try/catch blocks in your filter to see if there is an uncaught exception. Mine was related to an incompatibility in the number of channels of two frames I was comparing in the filter. David

Rebecca Guo

unread,
Apr 19, 2018, 4:11:48 PM4/19/18
to kur...@googlegroups.com
Hi, David:

Thank you for those suggestions. Yes, it seems like the problem is about opencv code. Will try some try/catch to find the uncaught exception. And thank you for sharing with me the problem you encountered! Reb



--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/4ccc3d45-2f37-4fee-b944-a900e41b509c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages