IP camera stream using RTSP and openCV python

  Рет қаралды 83,402

Yahiya Mulla

Yahiya Mulla

4 жыл бұрын

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 жыл бұрын
I've been searching for this for so long.. THANK YOU!
@oscarrobledogtz8571
@oscarrobledogtz8571 3 ай бұрын
3 years after, i think the same
@fauzy65
@fauzy65 3 жыл бұрын
Awesome.. simple but easy to understand.. Thanks for your video
@grigoryyashin6939
@grigoryyashin6939 Жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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?
@jvraviteja18
@jvraviteja18 2 жыл бұрын
excellent bro! Really thanks a lot bro!
@bhramantiaanibarechkahi173
@bhramantiaanibarechkahi173 2 жыл бұрын
hello Sir, I am using WiFi CCtv camera I have given Static ip also but its not responding to rtsp
@Zaid-lk2sy
@Zaid-lk2sy Жыл бұрын
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 жыл бұрын
How can I display two cams in the window?
@dennisasamoah2213
@dennisasamoah2213 2 жыл бұрын
Thank you
@ssgoh4968
@ssgoh4968 3 жыл бұрын
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 27 күн бұрын
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 жыл бұрын
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 6 ай бұрын
this video is awesome
@abcdoliveira
@abcdoliveira 2 жыл бұрын
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.
@ganeshsharma24894
@ganeshsharma24894 4 жыл бұрын
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.
@jeremyuzan1169
@jeremyuzan1169 Жыл бұрын
great thank you
@seyedmohsen2306
@seyedmohsen2306 Жыл бұрын
Hi How about audio How read video and audio together
@RushikeshGirase
@RushikeshGirase Жыл бұрын
what is my public ip for rtsp
@user-vw3ti8ln8v
@user-vw3ti8ln8v Жыл бұрын
Thx sir
@superpanter4902
@superpanter4902 Жыл бұрын
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
@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
@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 2 ай бұрын
@@hamzabodla546 what is it?
@ManirajanKalidas
@ManirajanKalidas Жыл бұрын
super bro ,
@cattnation6257
@cattnation6257 5 ай бұрын
MY IP DONST WORK HOW TO GET MY CAMERA IP AND API POITS
@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?
@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 ай бұрын
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
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 12 МЛН
Каха инструкция по шашлыку
01:00
К-Media
Рет қаралды 7 МЛН
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 58 МЛН
2000000❤️⚽️#shorts #thankyou
00:20
あしざるFC
Рет қаралды 12 МЛН
Введение в OpenCV: Работа с камерой в Python
12:41
BeTry | Программирование
Рет қаралды 51 М.
TRENDnet: Viewing IP Cameras Over The Internet
8:00
TRENDnet
Рет қаралды 224 М.
How Hackers Hack CCTV Cameras
15:00
zSecurity
Рет қаралды 714 М.
Make A Security Camera With Python
35:58
Tech With Tim
Рет қаралды 230 М.
Monitoring an IP Camera using a Raspberry Pi (no internet)
14:41
Almost EVERYONE is Wasting Money on Dash Cams.
17:32
Linus Tech Tips
Рет қаралды 9 МЛН
Building A Security System In Python...🚨
17:56
Tech With Tim
Рет қаралды 49 М.
Самый топовый ПК без RGB подсветки
1:00
CompShop Shorts
Рет қаралды 106 М.
ПРОБЛЕМА МЕХАНИЧЕСКИХ КЛАВИАТУР!🤬
0:59
Корнеич
Рет қаралды 3,8 МЛН