Run a live streaming pipeline: point OBS at an RTMP URL, viewers watch HLS in a browser
You can run a live streaming pipeline with RTMP ingest and HLS output on Eyevinn Open Source Cloud. Deploy one open source service (Eyevinn Live Encoding, MIT licence), give it a name, and you get an RTMP ingest endpoint for OBS or any RTMP encoder and an adaptive HLS stream, 720p and 360p, that viewers play in a browser. No code, no server to run.
What you get
An adaptive HLS stream with two renditions, produced by the service defaults. These are the exact renditions we measured by pushing a test pattern to the RTMP endpoint and decoding a frame back out of the live manifest.
| Resolution | Video codec |
|---|---|
| 1280x720 | avc1.42c01f |
| 640x360 | avc1.42c01e |
Audio is AAC-LC. The output framerate follows your input, so the service imposes no frame rate of its own.
How to do it
- 1
Create the service instance
Create an instance of Eyevinn Live Encoding. The only required configuration field is a name. No access token is needed and no code is written.
- 2
Wait for the certificate
A new instance reports ready before its TLS certificate has been issued, so the first request can fail. Wait about a minute and retry the same request unchanged.
- 3
Point your encoder at the RTMP endpoint
Set the RTMP endpoint of the instance as the server in OBS Studio, or in any other RTMP encoder, and start streaming.
- 4
Serve the HLS manifest to viewers
The adaptive HLS manifest is served at /origin/hls/index.m3u8 on the instance host. Give that URL to any HLS player in the browser.
What it costs, and which plan you need
This stack runs at 50 tokens per day. It is heavy for a single service because it carries an encoder that runs continuously, where an ordinary service costs 10 per day.
The free Basic plan grants 100 tokens one time, not per day, so it runs this stack for under two days. Personal gives 40 tokens per day, which is below what this stack needs to stay up. Professional is the plan that runs this continuously.
We are telling you this before you deploy rather than after, because the tiers are sized for ordinary services and this is not one. See pricing for current plans.
For agents and tooling
The machine-readable descriptor for this stack is served as JSON, so an agent can select it without parsing this page. It names the job, the service, the required inputs, the produced outputs, the full configuration surface and the cost.
/stacks/live-rtmp-to-hls.jsonRunning it, and leaving
Who runs the encoder?
Eyevinn Open Source Cloud does. The instance runs the ffmpeg-based encoder for you, gets its own TLS certificate and serves the HLS manifest, so there is no server, encoder build or certificate for you to manage. You point OBS at it and share the manifest URL.
Can I set my own stream key?
Yes. The optional StreamKey setting sets the RTMP path, so your encoder pushes to rtmp://<host>/live/<StreamKey>. It is stored as a sensitive setting.
Can I change the settings after the instance is created?
No. All 17 optional settings, such as the bitrate ladder, the segment length and the stream key, are fixed when the instance is created. To change one, delete the instance and create a new one. The new instance has a new RTMP endpoint.
Can I run this encoder myself, outside Open Source Cloud?
Yes. The service is built from Eyevinn Live Encoding, an MIT-licensed open source project at github.com/Eyevinn/live-encoding. Its README shows how to run it as a Docker container from the eyevinntechnology/live-encoding image, with RTMP on port 1935. If you move, point your encoder at the new RTMP address and give viewers the new manifest URL.
Built entirely on unmodified open source. The service is Eyevinn Live Encoding, which is ffmpeg based, and you can run it yourself anywhere instead if you prefer.