Critical Error reading RTSP stream from IP cameras

Jajoo, Malhar malhar.jajoo14 at imperial.ac.uk
Mon Jan 22 11:36:43 UTC 2018


Hi,


I am using sricam SP019 IP(Wireless) camera.
I have been able to find the RTSP URL for my camera: ("rtsp://IP_ADDRESS:554/onvif1").
However, I am unable to open the RTSP stream using openCV VideoCapture interface.

Already tried ( and didn't help much )-


  1.  I have posted in the openCV forum but have not received any reply yet.

  2.  Tried the BigBuckBunny RTSP URL from website (https://www.wowza.com/html/mobile.html)
and it works using openCV cv::VideoCapture().

  3.  I managed to play my IP cameras RTSP stream in VLC and the onvifer Android app provided.

The app also provided the following info -
 - Encoding: H264
 - Transport Protocol: RTP/RTSP/TCP
 - RTSP port: 554


  4.  I have also recompiled openCV from scratch enabling gstreamer and ffmpeg Cmake Flags (-D WITH_GSTREAMER=ON and -D WITH_FFMPEG=ON).


However, I still keep getting the error shown:  GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed


My question:
It would be extremely helpful if someone could give a hint as to what's causing the error.

Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180122/018a2e60/attachment.html>


More information about the gstreamer-devel mailing list