- 30 Aug 2023
- Print
Livestreaming encoding settings
- Updated on 30 Aug 2023
- Print
This article indicates encoding settings for an opitimized livestreaming experience.
Description
Encoding settings determine the quality of the video and audio that viewers will see and hear.
To avoid issues such as blurry, pixelated video, choppy audio, or even a complete failure to stream, we recommend that you use the following encoding settings.
Recommended encoding settings
Video Codec | h.264 | |
H.264Preset | High | |
Video Format | 720p | 1080p |
Video Resolution | 1280x720 | 1920x1080 |
Video Keyframes | 2s | 2s |
Recommended bitrate | 1600 - 2640 Kbps | 3200 - 4400 Kbps |
Audio Codec | AAC | AAC |
Audio Channels | Stereo / Mono | Stereo / Mono |
Audio Bitrate | 64 or 128 Kbps | 64 or 128 Kbps |
Supported ingest protocols | RTMPS, SRT | RTMPS, SRT |
Supported frame rate | up to 30 fps | up to 30 fps |
Determine input bitrate
LiveStream Pro uses Wowza's streaming server for streaming live events.
To help you determine the input bitrate, we recommend that the size of the encode does not exceed your available bandwidth.
Please allow at least 40% of your total available bandwidth for overhead.
For example, if you have a 10Mbps connection between your encoder and LSPRO platform, your total encoding presents should not exceed a total of 6Mbps.
We generally recommend the following for an optimal bitrate:
- 0.10 bits per pixel for limited action content
- 0.15 bits per pixel for high motion, complex action
Calculate bits per pixel
Use the following formula:
bitsPerPixel = bitrateKbps * 1000 / (width x height x frameRate)
As well, please follow the recommendations and capabilities of your source encoder.