http://root:pass@192.168.1.100/axis-cgi/mjpg/video.cgi
The client (browser, VLC, custom app) continuously renders each JPEG as it arrives. This is called HTTP streaming or server-push .
At the heart of this interaction lies the /axis-cgi/mjpg/video.cgi endpoint, a powerful tool that returns a motion JPEG stream. While modern cameras support H.264 and H.265, the MJPEG stream remains critical for legacy systems, custom dashboards, robotics vision, and low-latency applications.
to the URL allows the user to balance visual clarity against network bandwidth. Axis developer documentation Strategic Integration and Metadata Management axis cgi mjpg
http://192.168.0.90/axis-cgi/mjpg/video.cgi?camera=1&resolution=640x480&fps=10
OpenCV can read an MJPEG stream using cv2.VideoCapture with the HTTP URL.
?clock=0&text=
The is a specific API path used by Axis Communications cameras to deliver a live Motion JPEG (MJPEG) video stream. This feature allows developers and system integrators to pull live video into web browsers, third-party software, or custom applications without needing complex RTSP (Real Time Streaming Protocol) handshakes . 📽️ Key Technical Features An easy way to embed an AXIS camera's video into a web page
--myboundary Content-Type: image/jpeg Content-Length: 45123
In the world of network surveillance and embedded video systems, few combinations have proven as enduringly useful as and the MJPEG video format. For over two decades, Axis Communications—the market leader in network video—has provided a robust, well-documented Common Gateway Interface (CGI) API. This API allows developers, integrators, and power users to interact directly with the camera’s firmware via simple HTTP requests. http://root:pass@192
To handle hundreds or thousands of viewers, developers use a in the middle. The server makes a single connection to axis-cgi/mjpg/video.cgi , buffers the data, and rebroadcasts it to multiple clients.
| Feature | MJPEG | H.264/H.265 | |---------|-------|--------------| | Compression efficiency | Low | High | | Frame independence | Full (every frame keyframe) | Partial (P/B frames) | | Decoding complexity | Very low | Moderate to high | | Latency per frame | 1 frame | Multiple frames (GOP) | | Bandwidth | High | Low to moderate |
| Symptom | Likely Cause | Solution | |---------|--------------|----------| | 401 Unauthorized | Wrong auth method | Use digest auth | | 404 Not Found | Wrong URL path | Confirm /axis-cgi/mjpg/video.cgi | | Connection refused | HTTPS only | Use https:// | | Slow/stuttering | Network congestion | Reduce fps or resolution | | Corrupted frames | Packet loss | Use TCP (default) vs UDP | While modern cameras support H