<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>I am using<b> sricam SP019</b> IP(Wireless) camera.</div>
<div>I have been able to find the RTSP URL for my camera: ("rtsp://IP_ADDRESS:554/onvif1").</div>
<div></div>
<div>However, I am unable to open the RTSP stream using openCV VideoCapture interface.</div>
<div><br>
</div>
<div><b>Already tried ( and didn't help much )-</b></div>
<div><br>
</div>
<div>
<ol style="margin-bottom: 0px; margin-top: 0px;">
<li>I have posted in the openCV forum<span style="font-size: 12pt;"> but have not received any reply yet.<br>
 </span><br>
</li><li>Tried the BigBuckBunny RTSP URL from website (<a href="https://www.wowza.com/html/mobile.html" class="OWAAutoLink" id="LPlnk348167" previewremoved="true">https://www.wowza.com/html/mobile.html</a>)
<br>
<b>and it works using openCV cv::VideoCapture().<br>
<br>
</b></li><li><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">I managed to play my IP cameras RTSP stream in VLC and the onvifer
 Android app provided.<br>
<br>
</span><b></b>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
The app also provided the following info - </div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
 - Encoding: H264</div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
 - Transport Protocol: RTP/RTSP/TCP</div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
</div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
 - RTSP port: 554</div>
<br>
<br>
</li><li><span style="font-size: 12pt;">I have also recompiled openCV from scratch enabling gstreamer and ffmpeg Cmake Flags (-D WITH_GSTREAMER=ON and -D WITH_FFMPEG=ON).</span></li></ol>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
However, I still keep getting the<b> error</b> shown:  <span><b>GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed</b></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
<br>
</div>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
<br>
</div>
<div><b>My question</b>: </div>
<div>I<span style="font-size: 12pt;">t would be extremely helpful if someone could give a hint as to what's causing the error.</span></div>
<div><br>
</div>
<div>Thanks!</div>
<div></div>
<br>
<p></p>
</div>
</body>
</html>