Network Camera
Connect to IP cameras and RTSP video streams.
What it does
Network Camera connects to a live video stream over the network, an MJPEG feed over HTTP or an RTSP stream, and outputs it as a live image. Protocol can be left on Auto to detect from the URL, or forced to MJPEG or RTSP. For a camera that requires HTTP Basic auth, fill in the username and password; leave both empty for open streams.
Alongside the image it reports the stream's actual width and height, its measured frame rate, whether it is connected, and an error message.
When to use it
An IP camera or security camera feed brought into the graph
An RTSP stream pulled in from a video server or encoder
A network video source composited or processed like any other image, with optional horizontal or vertical mirroring and a position offset
A dropped connection detected and reacted to, using the Connected and Error outputs
| Parameter | Type | Default |
|---|---|---|
url | String | "" |
protocol | String | "auto" |
auth_user | String | "" |
auth_pass | String | "" |
enabled | Boolean | true |
timeout_s | Number | 5 |
flip_h | Boolean | false |
flip_v | Boolean | false |
position | Vec3 | (0, 0, 0) |
opacity | Number | 1 |
Gotchas
Auth User and Auth Pass only support HTTP Basic authentication. Streams needing a different login scheme do not authenticate through these fields.
When Connected reads false or Error is non-empty, check the URL and Protocol first. Auto is the safest Protocol setting unless the stream is known to need MJPEG or RTSP forced.
Toggling Enabled off pauses the stream rather than disconnecting cleanly on every camera. Expect a brief reconnect delay, bounded by Timeout, when it is switched back on.
Worked example
Add a Network Camera node and paste your stream URL:
http://for MJPEG,rtsp://for RTSP.Leave Protocol on Auto, or force it if the stream isn't detected correctly.
If the camera needs a login, fill in Auth User and Auth Pass.
Wire Image into your graph like any other live image. Check Connected and Error if the feed doesn't appear.
See also
Camera Input · NDI Input · Screen Capture · Rasters (images)