IP camera stream using RTSP and openCV python

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 พ.ค. 2020
  • Home security camera's AKA surveillance cameras are most commonly used nowadays. With the help of Internet protocol or IP camera's, we can have access to the video feed from any part of the world.
    Amazing, isn't it?
    IP cameras provide decent features such as:
    --- Night vision
    --- Motion detection
    --- Remote monitoring etc
    but if you are an enthusiast or maybe a developer and would like to add some additional features or modify your system you basically need to have access to the video feed inside a developing tool or platform such as OpenCV python.
    How? Lets find out...
    This video is sponsored by Ajwasys.com
    A name where you will get a complete solution for security cameras and communication systems. They provide Weatherproof, anti-corrosion, and explosion-proof standard materials with international certification for oil and gas industries all over the kingdom of Saudi Arabia.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 75

  • @sysadmin9396
    @sysadmin9396 3 ปีที่แล้ว +7

    I've been searching for this for so long.. THANK YOU!

  • @fauzy65
    @fauzy65 3 ปีที่แล้ว

    Awesome.. simple but easy to understand..
    Thanks for your video

  • @grigoryyashin6939
    @grigoryyashin6939 ปีที่แล้ว +1

    Hello! Thanks for nice lesson! Could you kindly tell the version of OpenCV you use in this video? I have some issues with gstreamer on my version, so I want to make environment with your versions of Python and OpenCV.

  • @jasonamosco318
    @jasonamosco318 2 ปีที่แล้ว +2

    Hi, Thanks for the tutorial, can you make a video on detection of object on realtime cctv (hikvision) video. Just for improvement of this project

  • @AIFusion
    @AIFusion 3 ปีที่แล้ว +2

    hello ,
    I am using cp plus IP camera but not able to access it through python (opencv) is there any restrictions from cp plus or is there any way to access this cp plus IP camera , if there is please let me know

  • @beyondhelloworld8024
    @beyondhelloworld8024 4 ปีที่แล้ว +1

    Great work man....

  • @qzorn4440
    @qzorn4440 3 ปีที่แล้ว

    this looks like a fun raspberry-pi, opencv, rtsp camera robot project ? thanks a lot...) oh, any camera kits?

  • @bhramantiaanibarechkahi173
    @bhramantiaanibarechkahi173 2 ปีที่แล้ว

    hello Sir,
    I am using WiFi CCtv camera I have given Static ip also but its not responding to rtsp

  • @jvraviteja18
    @jvraviteja18 2 ปีที่แล้ว

    excellent bro!
    Really thanks a lot bro!

  • @Zaid-lk2sy
    @Zaid-lk2sy ปีที่แล้ว +5

    Good job, the music is super distracting though, please consider removing it in future videos.

  • @asadakhtar6541
    @asadakhtar6541 ปีที่แล้ว

    What about the cctv camera system if it's not connected to internet?

  • @jeevankota3992
    @jeevankota3992 9 หลายเดือนก่อน

    If I want to run my Python code in the cloud, is it run in the cloud?

  • @echtertill
    @echtertill 2 ปีที่แล้ว +1

    How can I display two cams in the window?

  • @dennisasamoah2213
    @dennisasamoah2213 2 ปีที่แล้ว +1

    Thank you

  • @ssgoh4968
    @ssgoh4968 3 ปีที่แล้ว +1

    Thanks. Salute

  • @joseantoniotorreslima3068
    @joseantoniotorreslima3068 2 ปีที่แล้ว

    Thank you for your video, Excuse me When I connect my camera hikvision by python, the image es whit a delay of 5 second , This happens to you ?

  • @avidangc2008
    @avidangc2008 หลายเดือนก่อน

    Great, where can I get the API documentation?

  • @ankitrawat2824
    @ankitrawat2824 ปีที่แล้ว

    I have dahua cctv but able to find out the stream name for rtsp url. Can anyone help me with this??

  • @mujahidmirji8336
    @mujahidmirji8336 4 ปีที่แล้ว +2

    Ek number

  • @doganguler3629
    @doganguler3629 3 ปีที่แล้ว

    Can I do that with built-in laptop camera?

  • @derlemelife5126
    @derlemelife5126 3 ปีที่แล้ว

    thank you for the video. I have 2 questions:
    1- I just access the camera in the same network. Can we do with remote camera over internet?
    2- if yes, is there any rtsp camera links on the internet that i can access and do opencv things?

    • @YahiyaMulla
      @YahiyaMulla  3 ปีที่แล้ว

      Hey,
      You can access the camera over the internet if you have the RTSP LINK. I'm from India and the camera which I have accessed is of Saudi.
      I'm not sure about the camera links though.

    • @dennisasamoah2213
      @dennisasamoah2213 2 ปีที่แล้ว

      Configure port forwarding on your router

  • @mhamidjamil
    @mhamidjamil 2 ปีที่แล้ว

    nice work ❤🔥

  • @fazilhabeeth
    @fazilhabeeth 10 หลายเดือนก่อน

    Hello brother! suggest a affordable IP camera model with (open URL), where the url can be called using python for openCV purpose. Kindly suggest me brother

  • @adipurnama_workshop
    @adipurnama_workshop 7 หลายเดือนก่อน +1

    this video is awesome

  • @abcdoliveira
    @abcdoliveira 2 ปีที่แล้ว +1

    Hi.Thanks for the video. I can see my IP CAM in VLC, but not in Python. In python I can only see my PC CAM. What could be wrong?

    • @electrocat9
      @electrocat9 ปีที่แล้ว

      The same here but not 554 in url for public access and needs port forwarding. You?

  • @iszzulgan
    @iszzulgan 3 ปีที่แล้ว

    In order to access the RSTP do i need a decoder or CCTV only is enough?

    • @YahiyaMulla
      @YahiyaMulla  3 ปีที่แล้ว

      If you have a DVR set up you enable/disable the RTSP Stream. There is no need of a decoder.

  • @jeremyuzan1169
    @jeremyuzan1169 ปีที่แล้ว +1

    great thank you

  • @ganeshsharma24894
    @ganeshsharma24894 4 ปีที่แล้ว +2

    Sir, can we use an analog camera instead of a IP webcam to work with Open CV?
    BTW nice project...

    • @YahiyaMulla
      @YahiyaMulla  4 ปีที่แล้ว

      If your DVR supports online streaming then I believe you can. I'm not sure about that, but I'll let you know...

    • @leontiimaksimov2812
      @leontiimaksimov2812 3 ปีที่แล้ว

      Yes, I'm not sure if it tensorflow or opencv, but I think (99% sure) that with OpenCV you just put the camera port into the videocapture line. Tbh, it is even easier.

  • @seyedmohsen2306
    @seyedmohsen2306 ปีที่แล้ว

    Hi
    How about audio
    How read video and audio together

  • @RushikeshGirase
    @RushikeshGirase ปีที่แล้ว

    what is my public ip for rtsp

  • @superpanter4902
    @superpanter4902 ปีที่แล้ว +1

    really good video just what i needed, but the camera is too big for my screen i tried changing the scale and watched many tutuorials on how to but it doesnt work. do someone know how to change the scale of the window?

    • @thepub2644
      @thepub2644 ปีที่แล้ว

      Me the same, did you solve that issue?

    • @superpanter4902
      @superpanter4902 ปีที่แล้ว

      @@thepub2644 yep i just learned how to resize the frame

  • @user-vw3ti8ln8v
    @user-vw3ti8ln8v ปีที่แล้ว

    Thx sir

  • @Manishsingh-dl6ho
    @Manishsingh-dl6ho 3 ปีที่แล้ว

    Hi I m also trying the same but the camera is of my phone I installed an app name rtsp camera server which basically provide an ip to my phone camera I tried that link on vlc and it's working perfectly but when I'm providing this link to opencv it's not capturing anything . Not able to debug, can you help?

    • @anshumanbisht6241
      @anshumanbisht6241 2 หลายเดือนก่อน

      its not working for me could you guide pls

  • @ManirajanKalidas
    @ManirajanKalidas ปีที่แล้ว

    super bro ,

  • @praveenmg9285
    @praveenmg9285 2 ปีที่แล้ว

    hi, i am able to run the live stream video and am facing this error h264 @ 000002f658ff6000] error while decoding MB 45 5, bytestream -9

    • @hamzabodla546
      @hamzabodla546 3 หลายเดือนก่อน

      were you able to fix this? how?

  • @cattnation6257
    @cattnation6257 5 หลายเดือนก่อน

    MY IP DONST WORK HOW TO GET MY CAMERA IP AND API POITS

  • @sheikhabdulmunammateen779
    @sheikhabdulmunammateen779 3 หลายเดือนก่อน

    I can access it in vlc but with too much distortion and can access it with opencv also but it gives too many messages and 1 message says no frame. Is there any setting to be configured

    • @hamzabodla546
      @hamzabodla546 3 หลายเดือนก่อน

      Hi, i am getting same issue? were you able to fix it?

    • @sheikhabdulmunammateen779
      @sheikhabdulmunammateen779 3 หลายเดือนก่อน

      @@hamzabodla546 what is it?

  • @picslotechnologiesprivatel3653
    @picslotechnologiesprivatel3653 3 ปีที่แล้ว

    hey I am trying to access the same but getting grey screen while calling rtsp even in vlc. Can you please help?

    • @YahiyaMulla
      @YahiyaMulla  3 ปีที่แล้ว

      Hi.
      It may be due to network issue but I’m not sure about that. If that is not an issue then try to access different camera if you have one. I would highly recommend you to check your RTSP settings once.

    • @hamzabodla546
      @hamzabodla546 3 หลายเดือนก่อน

      Hi, were you able to fix grey screen? i am getting the same issue

  • @TejuChai
    @TejuChai ปีที่แล้ว

    This will not work well with mtcnn and opencv for face recognition

  • @KingsleyOkeze
    @KingsleyOkeze 11 หลายเดือนก่อน

    My question is, how do we detect when the IP address for the standalone wireless camera changes?
    Do we have to always hardcode the IP address in our RTSP everytime or there's an automatic way in Python to detect address change for a device and store the new IP address in an array?

    • @user-pd3sj6jn3d
      @user-pd3sj6jn3d 9 หลายเดือนก่อน

      Did you know the answer?

    • @KingsleyOkeze
      @KingsleyOkeze 9 หลายเดือนก่อน

      @@user-pd3sj6jn3d I've done alot of research about this and haven't seen a better answer to it.

  • @Yonglee7015
    @Yonglee7015 7 หลายเดือนก่อน

    opencv read RSTP is very latency, if you have any ways to improve it.

    • @YahiyaMulla
      @YahiyaMulla  7 หลายเดือนก่อน +1

      Have a look at gstreammer. It will help you to play around with latency. It’s based on C++.

  • @DiyintheGhetto
    @DiyintheGhetto 3 ปีที่แล้ว

    Hello is it possible to have multiple cameras and how can i add hem?

    • @YahiyaMulla
      @YahiyaMulla  3 ปีที่แล้ว

      Yes, you can. At the end of your RTSP link provide the valid channel number. for example 101 for channel1 201 for channel2 etc...

    • @DiyintheGhetto
      @DiyintheGhetto 3 ปีที่แล้ว

      Yahiya Mulla hello yes but they are on different up addresses. What should I do there?

  • @sujoykumardas3489
    @sujoykumardas3489 3 ปีที่แล้ว

    Can I have some name of such IP Camera available at market?

    • @YahiyaMulla
      @YahiyaMulla  3 ปีที่แล้ว

      Camera used in the video is Hike-vision. You can purchase the ip camera’s from Amazon or Flipcart.

  • @jodikurniawan3732
    @jodikurniawan3732 5 หลายเดือนก่อน

    Nice tutorial how to pass video to web page?

  • @sibujacob977
    @sibujacob977 2 ปีที่แล้ว

    It doesn't work for a Dlink IP camera

    • @YahiyaMulla
      @YahiyaMulla  2 ปีที่แล้ว

      Different company have their own Rtsp link. For dlink it will be different.

    • @sibujacob977
      @sibujacob977 2 ปีที่แล้ว

      @@YahiyaMulla Hi again ! Can you please provide the syntax for cv2.capture () to access a URL using user name and password for the camera
      thank you

  • @DKs_youniverse
    @DKs_youniverse ปีที่แล้ว

    this is not working

  • @zianart1664
    @zianart1664 ปีที่แล้ว

    don't hide your board