Adaptive Bitrate Streaming & live transcoding
Adaptive Bitrate Streaming (ABR) delivers your stream in several qualities, so every viewer gets the best picture their connection can carry. You send one high-quality stream; live transcoding makes the lower qualities in the cloud; the nanoStream Player moves between them by itself. This keeps viewers on phones, weak Wi-Fi or far-away networks playing instead of buffering.
How it works
- Your encoder sends one stream, the original (also called the passthrough).
- Live transcoding turns it into up to three lower qualities. Each one is a transcoding profile with its own resolution, bitrate and frame rate.
- The original and its transcodes form a stream group with one shared group ID.
- The nanoStream Player loads the group, starts on a suitable quality and switches up or down as the viewer's bandwidth changes. Viewers don't see a reload; the switch happens in the background.
The list of qualities is called the ladder. A stream carries at most three extra qualities on top of the original.
ABR improves reach on variable networks. A single-bitrate stream without transcoding has the lowest latency but needs a stable viewer connection. Choose per use case; see Latency & latency control modes.
The recommended ladder
For a 1080p source, the Builder Hub suggests this ladder by default:
| Quality | Resolution | Video bitrate | Role |
|---|---|---|---|
| Original (passthrough) | 1920×1080 | 4,500 kbps | Sent by your encoder; best quality for good connections |
| Top transcode | 1280×720 | 2,500 kbps | Good connections, a little lighter than the original |
| Middle | 854×480 | 1,000 kbps | Average Wi-Fi and 4G |
| Lowest | 640×360 | 400 kbps | Poor connections keep playing |
Adapt it to your content and audience:
| Your situation | Change |
|---|---|
| Phones on mobile data | Lighter lowest quality, around 300 kbps |
| Weak or far-away networks | Lowest quality at 240p, around 200 kbps |
| Sport or fast motion | About 25% more bitrate on every quality, 30 fps |
| Talking heads or slides | About 30% less bitrate |
| Large screens | Richer top transcode, e.g. 720p at 3,000 kbps |
| 720p source | 480p at 1,200 kbps, 360p at 600 kbps, 240p at 200 kbps |
Two rules always apply:
- Each profile's bitrate must be lower than the original and lower than the profile above it.
- A profile can't be larger than the original. Transcoding never upscales.
A profile that breaks these rules is not produced: the original plays, that quality stays missing.
Encoder settings for ABR
Clean switching needs an encoder that sends RTMP (OBS, vMix, Wirecast, ffmpeg or hardware) or SRT, with:
- At least the size and bitrate of your top quality, for example 1080p at 4,500 kbps.
- H.264 video, AAC audio.
- A keyframe every 2 seconds, B-frames off, constant bitrate.
The full list is on RTMP ingest & encoder settings.

Send ABR streams to the transcoding ingest bintu-vtrans (rtmp://bintu-vtrans.nanocosmos.de/live, or the stream-specific host the Dashboard shows). On bintu-stream, the original still plays but no transcodes are made. SRT ingest feeds the transcoder without extra settings.
Set it up
ABR works on the free account. On a production account it must be enabled for your organisation; if it isn't, the Builder Hub reads Adaptive Bitrate Streaming is not on your account yet. and the Dashboard shows Upgrade needed under Enabled Packages. Ask your account team or get support.
- Builder Hub
- Dashboard
- API
Who can use it: guest, free account, or production account with ABR enabled.
| Account | What happens |
|---|---|
| Guest | Works. The stream is a test stream on our demo account, with the qualities you pick. |
| Free account | Works. The stream is a new stream on your account. |
| Production account | Works when ABR is on for your organisation. If it isn't, the page reads Adaptive Bitrate Streaming is not on your account yet. |
Open https://builder.nanocosmos.net and go to Build › Stream › Set up Adaptive Bitrate.
- Who watches, and on what? Describe your viewers in the box, for example a live casino watched mostly on phones, in Europe and Latin America. Click the needs that fit: Phones on mobile data, Weak or far-away networks, Sport or fast motion, Talking heads or slides, Large screens, best quality. Words you type switch matching needs on when you leave the box.
- Under Your encoder sends, choose 1080p, 720p or 480p.
- Suggested qualities. Check the qualities on top of your original; each shows its size, bitrate and frame rate. Swap one from its list, Remove one, Add a quality (up to three), or Suggest again. Only qualities no bigger than your source are offered.

- Your stream. Choose Create a stream and click Create stream with 3 extra qualities (the number follows your choice). The new stream is tagged
abr. Or choose Select existing stream and click Use this stream next to a stream that already has ABR. - Go live from your encoder. Copy the RTMP server and Stream name/key into your encoder (OBS: Settings › Stream › Service: Custom) and start streaming. The badge changes from Not live yet to Live; the page checks every 5 seconds.
- Watch it adapt. One adaptive player plays your stream, with every quality listed beside it: Your original, then each extra quality with its size, bitrate and frame rate.
What you get: a stream with up to three extra qualities plus your original. Viewers start on the best quality their connection carries, and the player moves up or down on its own. Embed it like any other stream; see Embed the player on your website.
To see the API calls behind each step (read the qualities, create the stream with them, read the group, play it), switch on Developer mode at the top right of the page.
To try other qualities, click Start over with other qualities. The next stream you create is a new one. The page remembers your stream, so if you leave and come back it opens on the go-live step again.
The Builder Hub sets extra qualities only when it creates a stream: an existing stream without them shows No Adaptive Bitrate. Create a new stream in the hub, or add profiles to the existing stream in the Dashboard.
Who can use it: free account or existing customer with ABR enabled, signed in at https://dashboard.nanostream.cloud.
When you create a stream: open https://dashboard.nanostream.cloud/stream/create. Live transcoding is on by default, with transcoding profiles pre-filled. Change or add profiles, then create the stream.
On an existing stream:
- A single stream shows the chip Single Stream under the stream overview header. Click the add-profile button at the bottom of the stream details to add a profile; the stream becomes a stream group.
- A stream group shows Streamgroup (n Playouts). In the Adaptive Bitrate (ABR) Stream Overview, switch between the passthrough and the profiles in tabs, click Add Profile to add one, or edit and remove profiles. Editing shows the current and new profile side by side and asks you to confirm.
Profile changes need a stop and start of the broadcast: you can't add or remove renditions while the stream is live. Stop the encoder, change the profiles, then start it again. (This may become smoother in the future.)
What you get: a stream group with the original and its transcodes. Point your encoder at the bintu-vtrans ingest URL the Dashboard shows.
Who can use it: anyone with an API key of an organisation that has ABR enabled. The nanoStream REST API is also called the bintu API; hostnames and headers keep the bintu name.
-
List the qualities your account offers. The
nameis what you pass as a profile:curl https://bintu.nanostream.cloud/transcoding_profiles \-H 'x-bintu-apikey: YOUR_BINTU_API_KEY'Each entry has a
namesuch asvtrans2-1280x720x2000x30and avtransobject withbitrate,fps,widthandheight. -
Create the stream with up to three transcodes:
curl -X POST https://bintu.nanostream.cloud/stream \-H 'x-bintu-apikey: YOUR_BINTU_API_KEY' \-H 'content-type: application/json' \-d '{"tags": ["abr"],"transcodes": [{ "profile": "vtrans2-1280x720x2000x30" },{ "profile": "vtrans2-640x360x400x25" }]}'The response contains the group ID (
streamgroup) and the ingest details (ingest.rtmp.url,ingest.rtmp.streamname) for your encoder. -
After going live, list every quality of the group:
curl https://bintu.nanostream.cloud/stream/STREAM_ID/group \-H 'x-bintu-apikey: YOUR_BINTU_API_KEY'playout.h5livehas one entry per quality, with its stream name and, once live, its resolution, bitrate and frame rate.
What you get: the group ID to give the player; see Play an ABR stream below. More endpoints are in nanoStream REST API.
Play an ABR stream
Give the player the group ID and it loads all qualities itself:
var config = {
source: {
group: {
id: 'YOUR_STREAM_GROUP_ID',
startQuality: 'medium' // optional: high, medium-high, medium, medium-low, low
}
}
};
For a secure organisation, add security: { jwtoken: '<YOUR_JWT>' } inside group. The player picks the switching rule for groups automatically; don't set startIndex or options.adaption next to group. Details are in Player configuration reference.
On the Dashboard playout page, viewers' automatic mode is labelled Auto; open the quality list under the player to pick a quality manually. In code snippets, you can set the start quality per stream.
What can go wrong
| Symptom | Likely cause | Fix |
|---|---|---|
| Only the original plays, no other qualities | Encoder sends to bintu-stream | Use the bintu-vtrans ingest URL from the Dashboard, restart the encoder |
| One quality is missing | Its bitrate is at or above the ingest bitrate, or its size is above the source | Lower the profile; keep the ladder strictly descending |
| Qualities drop out during the stream | Ingest bitrate or resolution fell below the ladder | Keep ingest stable and above the top profile |
| Player stays on low quality | Viewer bandwidth, or start quality set to low | Check startQuality; test on a faster connection |
| Switching stutters | Irregular keyframes | Keyframe every 2 s, B-frames off |
| Builder Hub: Adaptive Bitrate Streaming is not on your account yet. | ABR is off for your organisation | Ask your account team or contact support to switch it on |
| Builder Hub: No extra qualities on this account yet. | The account has no extra qualities switched on | Click Ask us to turn them on |
| Builder Hub: an existing stream shows No Adaptive Bitrate | The hub sets extra qualities only when it creates a stream | Create a new stream in the hub, or add profiles in the Dashboard |
| Builder Hub: Waiting for your encoder. stays | Wrong RTMP server or stream key | Check both; the page checks every 5 seconds |
| Builder Hub: the create button turns into Try again | Creating the stream failed; the error is shown under the button | Retry, or get support |
If the ingest host, profiles and ingest bitrate are all correct and transcodes are still missing, contact support.
Next steps
- Stream groups
- RTMP ingest & encoder settings
- Player features: stream switching
- nanoStream Analytics overview: check your viewers' playback quality
Try it in the Builder Hub: the Adaptive Bitrate Streaming tool suggests a ladder for your audience and shows one player moving between the qualities. Start for Free