foreword
When obtaining the RTSP video stream of the EZVIZ camera, the video stream cannot be obtained successfully, and the screen is black and buffering is always displayed. The following is a summary of the information and solutions consulted during the acquisition process.
open RTSP
Open RTSP in EZVIZ Cloud Video APP , [My] - [Tools] - [LAN Device Preview] - [Start Scanning] - [Select Camera] - [Settings] - [More Settings] - [Local Service Switch] -【Enable RTSP】-【Save】
Play RTSP stream
Stream address format: rtsp://admin:[password]@[ip]:[port]/[codec]/[channel]/[subtype]/av_stream
Stream address example: rtsp://admin:[email protected]:554/h264/ch1/main/av_stream
Parameter Description
- username: username, the default is: admin.
- password: password, the default is the verification code on the sticker on the base of the camera.
- ip: It is the device IP, for example: 192.168.31.108.
- port: Port number, default: 554, if it is default, it can be left blank.
- codec: There are h264, MPEG-4, and mpeg4.
- channel: channel number, starting from 1. For example, channel 1 is ch1.
- subtype: stream type, the main stream is main, and the auxiliary stream is sub.
question
At this time, open PotPlayer to play the video stream, and the screen will be black and always display buffering, as shown in the figure:
deal with
solution
Install the PC-side application EZVIZ Studio , download address: EZVIZ Studio , open it after the installation is complete, and then click Device Management-find the corresponding camera in the LAN-Advanced Settings-Image-Video and Audio-Video Type, change composite stream to video stream , and save.
play stream
Can be played successfully.