Trying to connect Tapo c310 camera using opencv via rtsp protocol.

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Trying to connect Tapo c310 camera using opencv via rtsp protocol.

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Trying to connect Tapo c310 camera using opencv via rtsp protocol.
Trying to connect Tapo c310 camera using opencv via rtsp protocol.
2022-12-06 19:45:53
Model: Tapo C310  
Hardware Version: V1
Firmware Version: 1.3.1

I am developing a software using opencv. I am trying to connect Tapo c310 camera . I read this "https://www.tapo.com/en/faq/34/" guide .

 

I try this url "rtsp://*user*:*passw*@192.168.1.38:554/stream1/" on VLC player, it works. But if I try like this , it does not works on my app.

 

// c++ code here
cv::VideoCapture vid;
vid.open("rtsp://*user*:*passw*@192.168.1.38:554/stream1/");

 

and opencv gave this output from command line screen.

 

OpenCV(4.5.5-dev) D:\opencv-contrib\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtsp://*user*:*passw*@192.168.1.38:554/stream1/ in function 'cv::icvExtractPattern'

 

Could you help me please how to connect camera remotely with opencv.

  0      
  0      
#1
Options
1 Reply
Re:Trying to connect Tapo c310 camera using opencv via rtsp protocol.
2022-12-06 19:59:29 - last edited 2022-12-06 20:02:09

Quick self answer! I realize that opencv gave me some other error messages on the same command line screen.It said that some dlls were not loaded. when I move this dll near my executable "opencv_videoio_ffmpeg455_64.dll" it works.

  0  
  0  
#2
Options

Information

Helpful: 0

Views: 1146

Replies: 1

Related Articles