Nunzio03 / MotionDetectorTelegram

A simple script that sends a telegram message with photo when detects motion.
GNU General Public License v3.0
1 stars 0 forks source link

RTSP #1

Open vladios13 opened 4 years ago

vladios13 commented 4 years ago

Prescribed the RTSP port to connect to the camera, and at startup I get this error:

: cannot connect to X server 
pure virtual method called
without an active exception
Aborted

That's how RTSP was recorded Снимок экрана от 2020-02-25 16-24-07 How do you fix it?

Nunzio03 commented 4 years ago

Hello there, honestly i didn't get errors like that, are you sure that you used the right address ? Which camera are you using ?

If it can help i can tell you how i got my camera address, which is "rtsp://192.168.1.1": Unluckly i have an action camera which i can control through an android application ( iSmartDV). So no direct connection with my pc. luckly i found an app which allows me to capture packet traffic in my mobile phone (like Wireshark for computes does).

I monitored all the packets and i got the address 192.168.1.1, then i tried it using VLC media player, VLC has a feature which allows to open media from a data stream. Once i knew the right address, i used it on python.

Tell me if you solve your problem, i'm here to help you :)