ezviz: how to use the rtsp stream
Finally, the following things is to do:
1, download ezviz pc stadio, and modify config/AppConfig.ini to add the following:
[LocalOperation]
Show=1
Then restart ezviz. rstp port 554 is in the network section of advance setting as follows:
Was in contact with EZVIZ support and they gave me the following instruction: Download and install EZVIZ PC Studio (available for Windows PC only), here is the website link: Download Center - EZVIZ Support 472 ; Make sure your camera and PC are under the same LAN; Configure the advanced settings as follows: 3.1 Go to the root directory of Ezviz Studio in your PC and find the folder named “config” 3.2 Copy the file named “AppConfig.ini” in the folder of “config” to desktop. Open “AppConfig.ini” in desktop 3.3 Add the following command which highlighted in yellow in “AppConfig.ini” and save before exiting: [LocalOperation] Show=1 3.4 Copy the “AppConfig.ini” file in desktop to folder of “config” and overlay the old one. Refresh the device page in Ezviz Studio or reopen the Studio, then you will see the “Advanced”. Advanced setting should be visible now next to your device, under “All devices” Then click Advanced—Network—NAT and confirm UPnP is enabled, then Apply. Worked
by using nc to check whether port is open, it is open. But 群晖监控还是连接不上, rtsp://admin:xxxx@192.168.2.60:554/, 但用VLC能连接上. (
rtsp://admin:xxxx@192.168.2.60:554/Streaming/channels/201,这个也行)
最后发现是群晖监控网页版不支持H.265, 最后用摄像头的编码修改为H.264 通过高级配置里面的图像配置修改. 重新启动后就连接上了
remarks:
Useful links:
Ezviz Disables RTPS for its IP Cameras, Here is the fix! | Page 2 | IP Cam Talk
Manual for C8C camera
User manual EZVIZ C8C (English - 17 pages)
https://community.home-assistant.io/t/ezviz-cameras-rtsp-stream-not-working/523726/13
RTSP credentials for EZVIZ camera · Issue #86204 · home-assistant/core · GitHub
Complete Ezviz IP Camera Setup Guide - ONVIF, RTSP and Tutorial Included (ispyconnect.com)
https://open.ys7.com/help/1753?h=rtmp
OpenAPI接口:
according to https://open.ys7.com/help/1415:
curl -X POST https://open.ys7.com/api/lapp/v2/live/address/get \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "accessToken=at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo&deviceSerial=xxxxx&channelNo=1&protocol=3"
response:
{"msg":"操作成功","code":"200","data":
817 curl -X POST https://open.ys7.com/api/lapp/v2/live/address/get -H "Content-Type: application/x-www-form-urlencoded" -d "accessToken=at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo&deviceSerial=xxxxxx&channelNo=1" 818 curl -X POST https://open.ys7.com/api/lapp/v2/live/address/get -H "Content-Type: application/x-www-form-urlencoded" -d "accessToken=at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo&deviceSerial=xxxxxx&channelNo=1&protocol=3" 820 curl -X POST https://open.ys7.com/api/v3/das/device/video/encode -H "Content-Type: application/x-www-form-urlencoded" -H "accessToken: at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo" 821 curl -X POST https://open.ys7.com/api/v3/das/device/video/encode -H "Content-Type: application/x-www-form-urlencoded" -H "accessToken: at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo" -H "deviceSerial: xxxxxx" -H "channelNo:1" -d "streamType=1" 822 curl -X POST https://open.ys7.com/api/lapp/v2/live/address/get -H "Content-Type: application/x-www-form-urlencoded" -d "accessToken=at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo&deviceSerial=xxxxxx&channelNo=1&streamType=1" 823 curl -X POST https://open.ys7.com/api/v3/das/device/video/encode -H "Content-Type: application/x-www-form-urlencoded" -d "accessToken=at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo&deviceSerial=xxxxxx&channelNo=1&streamType=1" 824 curl -X POST https://open.ys7.com/api/lapp/device/info -H "Content-Type: application/x-www-form-urlencoded" -d "accessToken=at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo&deviceSerial=xxxxxx" 825 ping home.trippal.site 826 curl -X POST https://open.ys7.com/api/lapp/device/status/get -H "Content-Type: application/x-www-form-urlencoded" -d "accessToken=at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo&deviceSerial=xxxxxx" 827 curl --location 'https://open.ys7/api/v3/device/video/encode/get?streamType=1' --header 'deviceSerial: xxxxxx' --header 'localIndex: 1' --header 'accessToken: at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo' 828 curl --location 'https://open.ys7.com/api/v3/device/video/encode/get?streamType=1' --header 'deviceSerial: xxxxxx' --header 'localIndex: 1' --header 'accessToken: at.6uov1sjcbkufueuk3dotwno4bgn0fo2s-9rjdfzqdr4-0i71yq7-8cvgp1lxo'