Unable to acquire the live (streaming) video h264 over rtsp of my ip camera using the “IP camera acquisition” package on Matlab2020b
I am unable to acquire the live (streaming) video of my ip camera using the “IP camera acquisition” package.
Premise:
(1) Operating System: MacOS Big Sur (11.0.1)
(2) Matlab version: 2020b
(3) Installed package: IP camera acquisition packages
(4) Camera type: Dahua DH-IPC-HFW2431TP-ZAS
(5) Camera datasheet: https://www.dahuasecurity.com/asset/upload/uploads/soft/20191015/DH-IPC-HFW2431T-ZAS-S2-datasheet-1910111.pdf
(6) Protocol communication: https://dahuasg.s3-ap-southeast-1.amazonaws.com/DOR/PUM0001827/Dahua%20Network%20Camera%20Web%203.0_Operation%20Manual_V2.0.7.pdf
(7) Link for rtsp streaming: https://dahuawiki.com/Remote_Access/RTSP_via_VLC
I would like to capture live video from my camera using the rtsp link with H264 codec. I did a lot of testing, but never managed to capture the video stream. The rtsp links I used are (7):
rtsp://admin:admin1993@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0
rtsp: //192.168.0.108: 554/live
Both of these links placed on any browser open VLC correctly and the video stream is regularly captured.
Camera data:
IP address: 192.168.0.108
admin: admin
password: admin1993
RTSP port: 554
Resolution: 1080p (I also tried 720p and other formats)
Bit rate: 4096 kbit / s (I did different tests with different rate)
Below I have reported some of the tests carried out:
cam = ipcam(‘rtsp://admin:admin1993@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0’)
cam = ipcam(‘rtsp://admin:admin1993@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0′,’admin’,’admin1993′)
cam = ipcam(‘rtsp://192.168.0.108:554/live’,’admin’,’admin1993′)
cam = ipcam(‘rtsp://192.168.0.108:554/live’)
I also tried to do some tests by changing the ‘Timeout’ time but to no avail:
cam = ipcam(‘rtsp://192.168.0.108:554/live’,’admin’,’admin1993′,’Timeout’,30)
The error generated is always the same:
Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed.
I have read the PDF guide on the MATLAB website several times and I believe I have made all the correct configurations: https://it.mathworks.com/help/pdf_doc/supportpkg/ipcamera/ipcamera_ug.pdf
Can anyone help me to solve this problem?
I thought it was a codec problem or camera settings everything seems fine. I also leave attached a photo of the characteristics of the video stream.
Many thanks in advanceI am unable to acquire the live (streaming) video of my ip camera using the “IP camera acquisition” package.
Premise:
(1) Operating System: MacOS Big Sur (11.0.1)
(2) Matlab version: 2020b
(3) Installed package: IP camera acquisition packages
(4) Camera type: Dahua DH-IPC-HFW2431TP-ZAS
(5) Camera datasheet: https://www.dahuasecurity.com/asset/upload/uploads/soft/20191015/DH-IPC-HFW2431T-ZAS-S2-datasheet-1910111.pdf
(6) Protocol communication: https://dahuasg.s3-ap-southeast-1.amazonaws.com/DOR/PUM0001827/Dahua%20Network%20Camera%20Web%203.0_Operation%20Manual_V2.0.7.pdf
(7) Link for rtsp streaming: https://dahuawiki.com/Remote_Access/RTSP_via_VLC
I would like to capture live video from my camera using the rtsp link with H264 codec. I did a lot of testing, but never managed to capture the video stream. The rtsp links I used are (7):
rtsp://admin:admin1993@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0
rtsp: //192.168.0.108: 554/live
Both of these links placed on any browser open VLC correctly and the video stream is regularly captured.
Camera data:
IP address: 192.168.0.108
admin: admin
password: admin1993
RTSP port: 554
Resolution: 1080p (I also tried 720p and other formats)
Bit rate: 4096 kbit / s (I did different tests with different rate)
Below I have reported some of the tests carried out:
cam = ipcam(‘rtsp://admin:admin1993@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0’)
cam = ipcam(‘rtsp://admin:admin1993@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0′,’admin’,’admin1993′)
cam = ipcam(‘rtsp://192.168.0.108:554/live’,’admin’,’admin1993′)
cam = ipcam(‘rtsp://192.168.0.108:554/live’)
I also tried to do some tests by changing the ‘Timeout’ time but to no avail:
cam = ipcam(‘rtsp://192.168.0.108:554/live’,’admin’,’admin1993′,’Timeout’,30)
The error generated is always the same:
Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed.
I have read the PDF guide on the MATLAB website several times and I believe I have made all the correct configurations: https://it.mathworks.com/help/pdf_doc/supportpkg/ipcamera/ipcamera_ug.pdf
Can anyone help me to solve this problem?
I thought it was a codec problem or camera settings everything seems fine. I also leave attached a photo of the characteristics of the video stream.
Many thanks in advance I am unable to acquire the live (streaming) video of my ip camera using the “IP camera acquisition” package.
Premise:
(1) Operating System: MacOS Big Sur (11.0.1)
(2) Matlab version: 2020b
(3) Installed package: IP camera acquisition packages
(4) Camera type: Dahua DH-IPC-HFW2431TP-ZAS
(5) Camera datasheet: https://www.dahuasecurity.com/asset/upload/uploads/soft/20191015/DH-IPC-HFW2431T-ZAS-S2-datasheet-1910111.pdf
(6) Protocol communication: https://dahuasg.s3-ap-southeast-1.amazonaws.com/DOR/PUM0001827/Dahua%20Network%20Camera%20Web%203.0_Operation%20Manual_V2.0.7.pdf
(7) Link for rtsp streaming: https://dahuawiki.com/Remote_Access/RTSP_via_VLC
I would like to capture live video from my camera using the rtsp link with H264 codec. I did a lot of testing, but never managed to capture the video stream. The rtsp links I used are (7):
rtsp://admin:admin1993@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0
rtsp: //192.168.0.108: 554/live
Both of these links placed on any browser open VLC correctly and the video stream is regularly captured.
Camera data:
IP address: 192.168.0.108
admin: admin
password: admin1993
RTSP port: 554
Resolution: 1080p (I also tried 720p and other formats)
Bit rate: 4096 kbit / s (I did different tests with different rate)
Below I have reported some of the tests carried out:
cam = ipcam(‘rtsp://admin:admin1993@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0’)
cam = ipcam(‘rtsp://admin:admin1993@192.168.0.108:554/cam/realmonitor?channel=1&subtype=0′,’admin’,’admin1993′)
cam = ipcam(‘rtsp://192.168.0.108:554/live’,’admin’,’admin1993′)
cam = ipcam(‘rtsp://192.168.0.108:554/live’)
I also tried to do some tests by changing the ‘Timeout’ time but to no avail:
cam = ipcam(‘rtsp://192.168.0.108:554/live’,’admin’,’admin1993′,’Timeout’,30)
The error generated is always the same:
Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed.
I have read the PDF guide on the MATLAB website several times and I believe I have made all the correct configurations: https://it.mathworks.com/help/pdf_doc/supportpkg/ipcamera/ipcamera_ug.pdf
Can anyone help me to solve this problem?
I thought it was a codec problem or camera settings everything seems fine. I also leave attached a photo of the characteristics of the video stream.
Many thanks in advance image acquisition MATLAB Answers — New Questions