RTSP 400 Bad Request
Use this page when the player or recovery flow returns 400 Bad Request and you need to decide whether the problem is the RTSP URL itself, the stream path, or the way the address was copied.
This error usually means the camera or recorder received your RTSP request, but rejected its format, path, or parameters. Start here before you debug network reachability or browser playback.
What to check first
- review the full RTSP or RTSPS URL format, including username, password, host, port, and path
- confirm that you copied the camera-specific stream path, not only the IP address
- compare the URL with the vendor or recorder pattern before you assume the network is the problem
Questions behind a 400 Bad Request error
Start with the URL itself, then confirm the camera-specific stream path and public fit.
此错误表示摄像机无法理解输入的地址。通常是地址中缺少部分或格式错误,尤其是指定视频通道的部分。
正确的地址格式:
rtsp://用户名:密码@摄像机地址:554/视频路径不同品牌的示例:
• Hikvision: rtsp://user:[email protected]:554/Streaming/Channels/101
• Dahua: rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=0
• Axis: rtsp://user:[email protected]:554/axis-media/media.amp
解决方法: 请在摄像机手册或制造商网站上查看正确的格式——每个型号的“路径”都不同。
RTSP 地址是您的摄像机用于通过互联网传输视频的 URL。您可以在摄像机说明书、摄像机设置或制造商网站上找到它。
常见格式:
rtsp://用户名:密码@IP地址:554/视频路径不确定?请搜索您的摄像机型号并添加关键词 RTSP URL,或联系制造商。
这通常是由于地址错误、摄像机无法访问或连接被阻止造成的。
- 确保摄像机已开启,并在设置中启用了 RTSP。
- 要从互联网访问,流必须是公开可访问的(私有 IP,如
192.168.x.x,无法从外部访问)。 - 如果摄像机位于路由器之后,请设置端口转发(通常为端口
554)。 - 检查防火墙或您的互联网服务提供商是否阻止了连接。