Live Processing
Live Processing runs extra jobs on your live stream in the cloud, while it is live. It records the stream, keeps it available for rewind and replay, and generates thumbnails and short motion clips, with no extra encoding on your side. You switch each job on per stream, in the nanoStream Dashboard or with the nanoStream REST API.
The processes
| Process | API id | What you get | Settings |
|---|---|---|---|
| Recording | rec | MP4 files of the live session, for download, VOD or compliance | duration: 1 s up to the entire stream (null) |
| Replay | replay | An HLS (.m3u8) buffer viewers can rewind, rewatch and clip | duration: 1 s up to the entire stream (null) |
| Thumbnail | thumbs | A still image (JPG), refreshed at an interval | interval: 10–3600 s |
| Motion clip | motionclip | A short animated preview (GIF) | duration: 1–60 s; interval: 10–3600 s |
Typical uses:
- Recording: an online casino archives every gaming session for audit and lets players review past rounds.
- Replay: a sports betting app lets users rewatch a goal or a disputed decision while the match goes on.
- Thumbnail: an auction site shows a live snapshot of the current lot on its homepage.
- Motion clip: an event listing shows a moving preview of each live stream.
Recording, On-Demand Recording and Live replay
nanoStream has three ways to keep what was streamed. They answer different questions:
| Continuous recording (this page) | On-Demand Recording | Live replay | |
|---|---|---|---|
| What it records | The whole session, automatically, from go-live to stream end | Only what you choose: you start and stop each recording | A rolling HLS buffer of the stream |
| How you control it | Switch rec on for the stream before going live | Start/stop calls from your app (nanoStream Real-Time API) | Switch replay on for the stream |
| Output | MP4 files | One MP4 file per recording | .m3u8 playlists; rewind, rewatch, clip & share |
| Use it for | Compliance archives, full-show VOD | Game Round Recording, highlights, single segments | Rewind during the live stream, instant replays |
The Builder Hub's On-Demand Recording tool shows both: the automatic full-session recording (this page) and the files you record on demand.
Before you start
- Live Processing must be on for your organisation. It is on for the free account. On a production account, check Enabled Packages at https://dashboard.nanostream.cloud/organisation; if Live Processing shows Upgrade needed, contact us.
- Your encoder must publish to the transcoding ingest
bintu-vtrans, even for a single stream. Live Processing runs there. Copy the ingest URL from the Dashboard; see Ingest overview. - Switch processes on before you go live. Changes take effect only after you stop and restart the stream.
Set up in the nanoStream Dashboard
When you create a stream: at https://dashboard.nanostream.cloud/stream/create, open the Live Processing section and switch on the processes you need. For a stream group, there is one tab per stream. Click Sync settings across profiles to apply the same settings to every quality, or configure each one separately.
On an existing stream: open the stream overview and go to the Live Processing tab. It shows each enabled process, whether it is active, its settings and its assets. Click Edit to change settings (depending on your role), then Confirm. Restart the stream for the changes to apply.
The tab shows:
| Section | Contents |
|---|---|
| Thumbnails and motion clips | A preview, plus a table: active, stream name, quality, URL, interval, duration |
| Live replay | Active, stream name, quality, duration; sessions with date (UTC), HLS file, Rewatch and Clip & Share |
| Recording | Active, stream name, quality, duration; sessions with date (UTC) and the recording file |
Use Refresh in a section to load new assets.

For ABR streams, give the passthrough and all transcodes the same replay duration. As soon as one transcode is in the group, replay is adaptive too: the viewer gets the quality their bandwidth carries.
Set up with the API
The nanoStream REST API is also called the bintu API; hostnames and headers keep the bintu name. Processes are set per stream.
Switch processes on for an existing stream. The list you send replaces the stream's processing and applies from the next time the stream goes live:
curl -X PUT https://bintu.nanostream.cloud/stream/STREAM_ID/processing \
-H 'x-bintu-apikey: YOUR_BINTU_API_KEY' \
-H 'content-type: application/json' \
-d '{
"processing": [
{ "id": "rec", "duration": null },
{ "id": "replay", "duration": 30 },
{ "id": "thumbs", "interval": 45 },
{ "id": "motionclip", "duration": 5, "interval": 30 }
]
}'
Or set them when you create the stream:
curl -X POST https://bintu.nanostream.cloud/stream \
-H 'x-bintu-apikey: YOUR_BINTU_API_KEY' \
-H 'content-type: application/json' \
-d '{
"tags": ["foo", "bar"],
"processing": [
{ "id": "replay", "duration": 30 },
{ "id": "thumbs", "interval": 45 },
{ "id": "rec", "duration": null },
{ "id": "motionclip", "duration": 5, "interval": 30 }
]
}'
processing is a flat array of objects, both here and in PUT /stream/{id}/processing.
For a stream group, you can set processing for every member in one POST /stream. The top-level processing applies to the passthrough; each transcode takes its own processing:
curl -X POST https://bintu.nanostream.cloud/stream \
-H 'x-bintu-apikey: YOUR_BINTU_API_KEY' \
-H 'content-type: application/json' \
-d '{
"processing": [{ "id": "rec", "duration": null }],
"transcodes": [
{ "profile": "vtrans2-852x480x800x25", "processing": [{ "id": "rec", "duration": null }] }
]
}'
After creation, change processing with one PUT /stream/{id}/processing per member (the passthrough and each transcode).
Get the assets
Fetch the stream info. asset_limit sets how many assets are returned:
curl "https://bintu.nanostream.cloud/stream/STREAM_ID?asset_limit=10" \
-H 'x-bintu-apikey: YOUR_BINTU_API_KEY'
nanoAdmin, nanoUser and nanoReadOnly can all read stream info. The assets are in the playout object:
| Field | Contents | Example URL |
|---|---|---|
playout.web[] | Recordings, "type": "vod" | https://bintu-vod.nanocosmos.de:443/vod/STREAM_NAME.mp4 |
playout.replay[] | Replay sessions | A replay player link per stream |
playout.thumbnails[] | Latest thumbnail per quality, "type": "image" | https://bintu-vod.nanocosmos.de:443/vod/thumbnails/STREAM_NAME.jpg |
playout.motionclip[] | Latest motion clip per quality, "type": "gif" | https://bintu-vod.nanocosmos.de:443/vod/thumbnails/STREAM_NAME.gif |
Each asset carries the streamId and streamname of the quality it belongs to. Each member's settings are in playout.h5live[].processing. Recordings and replays appear once the session has ended.
You can also open, preview and download every asset in the Dashboard's Live Processing tab.
Good to know
- Recordings are split into hourly files. Even with a longer duration, MP4 recordings are cut into segments of about one hour, each with a timestamp in the file name. This is by design.
- One stream can have many recordings. Every stop and restart creates a new file under the same stream name. Read all
"type": "vod"entries inplayout.web[], not just the first.playout.web[]also contains a"type": "live"entry, which is not a recording. - One stream per event keeps recordings easy to tell apart.
- Thumbnails and motion clips keep only the latest file per quality.
- Trimming (in and out points) works on replay (Clip & Share), not on MP4 recordings.
- ABR recordings come as one file per quality. There is no single master playlist that switches between them.
- Recording, replay and thumbnail URLs aren't protected by playback tokens. Anyone with the URL can open them, so share them only with trusted parties.
Overlay and delay streams
The Dashboard's Visual Enhancements tab creates derived streams from your stream without touching the original:
- Overlay puts a watermark image on the stream, optionally delayed by 0–60 seconds, with a profile that sets bitrate and frame rate.
- Delay outputs a copy delayed by 0–60 seconds.
Each creates a new stream group that receives its input from the original. Watermark images are managed in the Watermark Manager of nanoStudio at https://studio.nanostream.cloud (sign in with your Dashboard login). In the overlay settings, enter the file name without extension, exactly as uploaded; it is case-sensitive and not validated. If no file is given, the default watermark is used.
Legacy: VOD recording via the ingest URL
Older setups recorded by publishing to the rec application (rtmp://bintu-stream.nanocosmos.de/rec/STREAM-NAME) or by adding :record to the SRT stream ID. This classic VOD recording is deprecated: it starts and stops with the stream, has a 4 GB file limit, and stores files in regional VOD hosts (bintu-vod-eu, bintu-vod-us, bintu-vod-au). For new setups, use the Recording process above. If your organisation still has classic VOD, a rec ingest URL means the stream is recorded.
What can go wrong
| Symptom | Likely cause | Fix |
|---|---|---|
| No assets at all | Encoder publishes to bintu-stream | Use the bintu-vtrans ingest URL from the Dashboard |
| New settings ignored | Stream was live when you changed them | Stop and restart the stream |
| Recording stops after an hour | Hourly segmentation | Expected; read the next files in playout.web[] |
| Some recordings missing in your app | Only the first vod entry is read | Read all "type": "vod" entries |
| Only one quality is recorded | Processing enabled on one member only | Enable it on every member or use Sync settings across profiles |
| Recordings disappear after a while | A retention policy on your organisation | Ask support whether one is set |
Next steps
Try it in the Builder Hub: Instant Live Stream has replay switched on by default, and the On-Demand Recording tool shows recordings next to the live stream. Start for Free