
Opens a network video source through FFmpeg and emits a VideoFrame stream, applying scheme-aware protocol defaults for RTSP and RTMP and reconnecting after a failure with a bounded, doubling delay. Use it for FFmpeg-only network decode.
RTSP surveillance — detect, track, and stream the annotated feed to a browser.
Live segmentation reported as JSON from a network stream.
url ends that read after any already decoded frames, then follows the same bounded reconnect path as a dropped connection. It carries FFmpeg's reason, stream index, packet byte position and PTS. For receive or drain errors the last accepted packet is reported, which may differ from the corrupt one; position -1 means unknown. No invalid-data error is skipped. Reopening a finite network clip replays its prefix; if that prefix delivers a frame each time, it resets the failure count and repeated corruption can keep reconnecting. Persistent failures without a frame exhaust reconnect_attempts and fail with the last error unchanged.url must start with `http://`, `https://`, `rtsp://`, `rtsps://`, `rtmp://` or `rtmps://` (the scheme in any letter case), name something after the scheme, and contain only RFC 3986 URL characters. Whitespace is refused like any other character outside that set, never removed. The type refuses such a value before deployment, and the component checks it again at start and on every live update, stopping the worker with the error.retry_delay_ms, each further one in a row doubles the wait up to 60 s. After reconnect_attempts reconnects in a row without a frame the worker fails with the last error unchanged, including its type, message and nested causes. The reconnect count is logged before the error is raised. A delivered frame resets the count.url or out-of-range value in a live update, and any fault of the program itself. They are never retried.options. A key in options that FFmpeg does not know is not refused: FFmpeg logs that some settings were not found, without naming them, and the input opens without it.timeout_ms sets FFmpeg's network read timeout (`rw_timeout`, unless options sets it) and a watchdog for each packet read. Opening and stream probing rely on the protocol timeout, if supported; they can stall if it is ignored or disabled. The packet watchdog also depends on FFmpeg calling its interrupt callback. drop_frames discards frames under back-pressure rather than blocking the producer.width and height left at `Nothing` keep the source resolution; setting either rescales that axis only, without preserving the aspect ratio.url or options to a different value closes the current session and re-opens the source when the update is applied, starting the failure count over; a finite source starts again from its beginning. Updates are applied together at frame boundaries, before opening or deciding a reconnect, or during a reconnect wait. Each decision uses one snapshot, including whether the source changed. If drop_frames is false and output is blocked, an update waits for the consumer to accept a frame. timeout_ms applies from the next connect, retry_delay_ms and reconnect_attempts from the next failure, and width, height and drop_frames from a later frame.live-test prerelease
Automated release