IP camera stream using RTSP and openCV python

  Рет қаралды 87,396

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 4 ай бұрын
3 years after, i think the same
@fauzy65
@fauzy65 3 жыл бұрын
Awesome.. simple but easy to understand.. Thanks for your video
@jasonamosco318
@jasonamosco318 3 жыл бұрын
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
@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.
@beyondhelloworld8024
@beyondhelloworld8024 4 жыл бұрын
Great work man....
@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
@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!
@echtertill
@echtertill 2 жыл бұрын
How can I display two cams in the window?
@asadakhtar6541
@asadakhtar6541 Жыл бұрын
What about the cctv camera system if it's not connected to internet?
@ssgoh4968
@ssgoh4968 3 жыл бұрын
Thanks. Salute
@ankitrawat2824
@ankitrawat2824 Жыл бұрын
I have dahua cctv but able to find out the stream name for rtsp url. Can anyone help me with this??
@doganguler3629
@doganguler3629 3 жыл бұрын
Can I do that with built-in laptop camera?
@dennisasamoah2213
@dennisasamoah2213 3 жыл бұрын
Thank you
@qzorn4440
@qzorn4440 3 жыл бұрын
this looks like a fun raspberry-pi, opencv, rtsp camera robot project ? thanks a lot...) oh, any camera kits?
@jeevankota3992
@jeevankota3992 10 ай бұрын
If I want to run my Python code in the cloud, is it run in the cloud?
@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 ?
@adipurnama_workshop
@adipurnama_workshop 8 ай бұрын
this video is awesome
@mhamidjamil
@mhamidjamil 2 жыл бұрын
nice work ❤🔥
@seyedmohsen2306
@seyedmohsen2306 Жыл бұрын
Hi How about audio How read video and audio together
@mujahidmirji8336
@mujahidmirji8336 4 жыл бұрын
Ek number
@jeremyuzan1169
@jeremyuzan1169 Жыл бұрын
great thank you
@fazilhabeeth
@fazilhabeeth Жыл бұрын
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
@RushikeshGirase
@RushikeshGirase Жыл бұрын
what is my public ip for rtsp
@avidangc2008
@avidangc2008 2 ай бұрын
Great, where can I get the API documentation?
@Zaid-lk2sy
@Zaid-lk2sy Жыл бұрын
Good job, the music is super distracting though, please consider removing it in future videos.
@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 3 ай бұрын
its not working for me could you guide pls
@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 3 жыл бұрын
Configure port forwarding on your router
@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.
@cattnation6257
@cattnation6257 7 ай бұрын
MY IP DONST WORK HOW TO GET MY CAMERA IP AND API POITS
@ManirajanKalidas
@ManirajanKalidas Жыл бұрын
super bro ,
@user-vw3ti8ln8v
@user-vw3ti8ln8v Жыл бұрын
Thx sir
@TejuChai
@TejuChai Жыл бұрын
This will not work well with mtcnn and opencv for face recognition
@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
@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 4 ай бұрын
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 4 ай бұрын
Hi, were you able to fix grey screen? i am getting the same issue
@Yonglee7015
@Yonglee7015 9 ай бұрын
opencv read RSTP is very latency, if you have any ways to improve it.
@YahiyaMulla
@YahiyaMulla 9 ай бұрын
Have a look at gstreammer. It will help you to play around with latency. It’s based on C++.
@sheikhabdulmunammateen779
@sheikhabdulmunammateen779 5 ай бұрын
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 4 ай бұрын
Hi, i am getting same issue? were you able to fix it?
@sheikhabdulmunammateen779
@sheikhabdulmunammateen779 4 ай бұрын
@@hamzabodla546 what is it?
@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.
@DiyintheGhetto
@DiyintheGhetto 4 жыл бұрын
Hello is it possible to have multiple cameras and how can i add hem?
@YahiyaMulla
@YahiyaMulla 4 жыл бұрын
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 4 жыл бұрын
Yahiya Mulla hello yes but they are on different up addresses. What should I do there?
@jodikurniawan3732
@jodikurniawan3732 7 ай бұрын
Nice tutorial how to pass video to web page?
@KingsleyOkeze
@KingsleyOkeze Жыл бұрын
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 10 ай бұрын
Did you know the answer?
@KingsleyOkeze
@KingsleyOkeze 10 ай бұрын
@@user-pd3sj6jn3d I've done alot of research about this and haven't seen a better answer to it.
@sujoykumardas3489
@sujoykumardas3489 4 жыл бұрын
Can I have some name of such IP Camera available at market?
@YahiyaMulla
@YahiyaMulla 4 жыл бұрын
Camera used in the video is Hike-vision. You can purchase the ip camera’s from Amazon or Flipcart.
@DKs_youniverse
@DKs_youniverse Жыл бұрын
this is not working
@sibujacob977
@sibujacob977 3 жыл бұрын
It doesn't work for a Dlink IP camera
@YahiyaMulla
@YahiyaMulla 3 жыл бұрын
Different company have their own Rtsp link. For dlink it will be different.
@sibujacob977
@sibujacob977 3 жыл бұрын
@@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
@zianart1664
@zianart1664 Жыл бұрын
don't hide your board
TRENDnet: Viewing IP Cameras Over The Internet
8:00
TRENDnet
Рет қаралды 226 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 62 МЛН
Accessing USB Devices and Webcams with OpenCV and Python
21:40
Nicholas Renotte
Рет қаралды 93 М.
Building A Security System In Python...🚨
17:56
Tech With Tim
Рет қаралды 50 М.
Введение в OpenCV: Работа с камерой в Python
12:41
BeTry | Программирование
Рет қаралды 53 М.
How Hackers Hack CCTV Cameras
15:00
zSecurity
Рет қаралды 762 М.
RTSP Webcam to HLS Live Streaming using FFMPEG and XAMPP | PART 1
29:36
Stream CCTV Video from DVR to Raspberry Pi using Python and OpenCV
5:27
Самые крутые школьные гаджеты
0:49
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 4 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 6 МЛН
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 1,3 МЛН