ffplayout
Rust and FFmpeg based playout for 24/7 broadcasting. ffplayout plays out a folder of video clips, or a day-based JSON playlist that stays editable while it is on air — no restart needed to change the schedule. It is mostly designed to run as a system service on Linux, and in general it should run on any platform supported by Rust and FFmpeg.
Overview · Features · How it works · Get started
Overview
ffplayout is a broadcasting playout application. You can start it with its web based frontend, or run the playout in foreground mode without a frontend. A single instance can run multiple channels, each following its own playlist and output configuration.
Playlists are JSON files with one entry per clip, image, or remote source. While the playlist is on air it remains editable, so schedule changes do not require a restart. Moving backwards or forwards in time saves the time shift so the playlist stays in sync; if the shift is not reset, it resets automatically the next day.
Processing is CPU-based — a GPU is not required — and the only tools needed beyond the FFmpeg libraries are a normal system. Live HLS subtitles, MoQ preview, NDI and DeckLink SDI are all part of the same playout pipeline, configured per channel in Settings → Outputs.
Features
- Live-editable playlist — replace and edit the day's JSON playlist while on air, and loop the playlist infinitely if needed.
- Filler handling — a missing playlist or clip is covered by a single filler or multiple fillers from a folder; if no filler exists, a dummy clip is generated.
- Full-day control — trim the last clip to get exactly 24 hours, loop fillers until time is full, and set a custom day start such as 06:00 to 06:00 instead of midnight to midnight.
- Multiple outputs per channel — HLS, RTMP, SRT, UDP, MoQ, desktop, NDI and DeckLink SDI can run simultaneously with individual resolutions and a shared program frame rate, including exact 23.976, 29.97 and 59.94 fps.
- Conforming built in — letterbox or pillarbox to fit aspect changes, change fps, fit the target resolution, add silence when audio is too short, and hold the last frame when video is too short.
- Output resilience — independent output reconnection retries every 15 seconds for up to three minutes, followed by a manual retry; other outputs keep running while one reconnects.
- Watched folder mode — play clips directly from a folder instead of a playlist.
- Live ingest and remote sources — RTMP/SRT live ingest with optional direct forwarding (experimental), remote source support, and an image source that loops until its out duration is reached.
- Playlist tooling — import playlists from text or m3u files with the CLI or frontend, and generate playlists based on a template. During import, video clips are validated and, if desired, checked to ensure the audio track is not completely muted.
- Graphics and overlays — static or animated logo overlay, overlay text controllable through the web frontend, manual graphics on the Graphics page (experimental), and scheduled image/video graphics and lower thirds per playlist clip with fades and repetitions (experimental).
- Subtitles — WebVTT subtitles in HLS mode, with native HLS packaging supporting custom subtitle display names.
- Audio and encoding control — mono, stereo or 5.1 program audio with configurable output tracks and independent recording; explicit encoding sharing between compatible outputs, including selecting an HLS rendition as the encoding source.
- Monitoring — built-in program preview over MoQ on the Player page, which starts on demand and stays available for three minutes after the last viewer leaves; an optional public preview publishes continuously and is disabled by default.
- Notifications and logs — email and HTTP push notifications for log alerts, with logs written to channel log files, mail queues, or color console output.
- Automation — run an external task when a clip starts.
How it works
- Describe the day. A playlist is a JSON file per day with entries for clips, images and remote sources, each carrying in/out points, duration and a source path or URL.
- Keep it live. While the playlist is on air it stays editable; replacements and edits are picked up without stopping playout.
- Fill the gaps. Anything missing is covered by fillers from a folder, or by a generated dummy clip if no filler exists, so the channel keeps running.
- Conform the media. ffplayout letterboxes or pillarboxes, adjusts fps and resolution, pads short audio with silence and holds the last frame when a clip runs short.
- Deliver everywhere. Each channel can drive several simultaneous outputs with their own resolutions, sharing a program frame rate and encoding where compatible. Output instances are configured under Settings → Outputs, where HLS, Stream, MoQ, NDI and DeckLink outputs support live destination and activation changes while the program format stays compatible — program format, desktop and recording changes require a channel restart.
Requirements: RAM and CPU usage depends on video resolution; at least 4 dedicated threads and 2 GB RAM for 720p are recommended. FFmpeg v7.0+ development libraries are required with either HLS packager; the maximum supported version follows ffmpeg-next and is currently FFmpeg 9.1. NDI requires the NDI 6 runtime, and physical DeckLink SDI requires Blackmagic Desktop Video. The macOS and Windows releases do not include FFmpeg shared libraries and need them installed separately. Official Linux glibc builds use mimalloc.
Get started
Install a package from the latest release, then start ffplayout and open the web based frontend — or run it in foreground mode without a frontend. Settings can be exported and restored as complete JSON configuration exports using --dump-config and --import-config.
Full installation and configuration details live on the official site: github.com/ffplayout/ffplayout
ffplayout — Rust and FFmpeg based playout · github.com/ffplayout/ffplayout