Encoding
Encoding technology for VOD & Live Broadcast
Our platform easily handles all types of transcoding for both VOD and live broadcasts.
Encoding
Encoding technology for VOD & Live Broadcast
Our platform easily handles all types of transcoding for both VOD and live broadcasts.
Encoding
Encoding technology for VOD & Live Broadcast
Our platform easily handles all types of transcoding for both VOD and live broadcasts.
Encoding
Encoding technology for VOD & Live Broadcast
Our platform easily handles all types of transcoding for both VOD and live broadcasts.
Seamless Streaming
Seamless Streaming
Seamless Streaming
VOD Encoding
VOD Encoding
VOD Encoding
Transcode your VODs with our platform to distribute content
at the best possible quality even on slow connections.
Transcode your VODs with our platform to distribute content at the best possible quality even on slow connections.
Transcode your VODs with our platform to distribute content
at the best possible quality even on slow connections.
Upload via Media Manager
Upload via Media Manager
Upload via Media Manager
Upload content directly to your property in MainStreaming Media Manager.
Follow the progress of the encoding phase, reorder the thumbnails and choose the poster image. You can reencode with a different profile.
Your content is now ready to be distributed and will be usable on devices at the highest possible quality.
Upload content directly to your property in MainStreaming Media Manager.
Follow the progress of the encoding phase, reorder the thumbnails and choose the poster image. You can reencode with a different profile.
Your content is now ready to be distributed and will be usable on devices at the highest possible quality.
Upload content directly to your property in MainStreaming Media Manager.
Follow the progress of the encoding phase, reorder the thumbnails and choose the poster image. You can reencode with a different profile.
Your content is now ready to be distributed and will be usable on devices at the highest possible quality.
Developer API
Developer API
Developer API
Mainstreaming allows its customers to push content into MainStreaming Media Manager not only via our UI, but also via a REST API. See some examples below.
For more advanced scenarios and a complete documentation, please visit our dedicated page
Mainstreaming allows its customers to push content into MainStreaming Media Manager not only via our UI, but also via a REST API. See some examples below.
For more advanced scenarios and a complete documentation, please visit our dedicated page
Mainstreaming allows its customers to push content into MainStreaming Media Manager not only via our UI, but also via a REST API. See some examples below.
For more advanced scenarios and a complete documentation, please visit our dedicated page
By Chunks
Unset
curl --location 'https://api.msmdn.net/v2/mam/ondemand'
--header 'Authorization: Bearer eyJhbGciOtJIUzIlNiIsInR5.
--header 'Content-Type: application/x-www-form-urlencoded
--form 'profile="828c3395-0303-45cd-9651-bd7226b31000"
--form 'file=@"chunk 1.mp4"'
--form 'referenceId="0-0"'
--form 'chunks="4"'
--form 'chunk="1"'
By URL
Unset
curl --location 'https://api.msmdn.net/v2/mam/ondemand/http'
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsIn5.
--header 'Content-Type: application/json'
--data "{
"title": "myvod",
"contentUrl": "http://eu-centrall.sh.msmdn.net/source/original.mp4"
}
Distribute
Distribute
Distribute
H.264, H.265 and AV1
H.264, H.265 and AV1
H.264, H.265 and AV1
Transcode your VODs in H.264, H.265 and AV1 formats with multi renditions to have the best experience in multiple connection types.
Distribute your VODs in HLS and DASH (ABR or single rendition).
Transcode your VODs with our platform to distribute content at the best possible quality even on slow connections.
Transcode your VODs in H.264, H.265 and AV1 formats with multi renditions to have the best experience in multiple connection types.
Distribute your VODs in HLS and DASH (ABR or single rendition).
Upload via Media Manager
Upload via Media Manager
Upload via Media Manager
Configure your encoding profiles on MainStreaming Media Manager or via our API, choose your default profile and start transcoding.
Configure content distribution in the chosen format (HLS, DASH or Progressive download). You can pick the type of chunk fragmentation and trim in a simple and intuitive way.
Live
Live
Live
Live Encoding
Live Encoding
Live Encoding
Resilient and configurable, our platform allows you to receive the stream from your software or hardware encoder in multiple formats, (SRT, RTMP, MPEG-TS over TCP/UDP), etc and distribute your audio and video stream through our CDN.
Transcode your VODs with our platform to distribute content at the best possible quality even on slow connections.
Resilient and configurable, our platform allows you to receive the stream from your software or hardware encoder in multiple formats, (SRT, RTMP, MPEG-TS over TCP/UDP), etc and distribute your audio and video stream through our CDN.
Live inputs & outputs
Live inputs & outputs
Live inputs & outputs
MainStreaming Live encoders allows you to ingest SRT, RTMP, MPEG-TS over TCP/UDP and generate HLS and DASH packets.
The redundant and reliable multi-region platform manages input signal transient errors on primary and secondary channels. For example, you can send your data to a European region and transcode (primary and backup) on a US region.
MainStreaming Live encoders allows you to ingest SRT, RTMP, MPEG-TS over TCP/UDP and generate HLS and DASH packets.
The redundant and reliable multi-region platform manages input signal transient errors on primary and secondary channels. For example, you can send your data to a European region and transcode (primary and backup) on a US region.
MainStreaming Live encoders allows you to ingest SRT, RTMP, MPEG-TS over TCP/UDP and generate HLS and DASH packets.
The redundant and reliable multi-region platform manages input signal transient errors on primary and secondary channels. For example, you can send your data to a European region and transcode (primary and backup) on a US region.
H.264
H.264
H.264
Step By Step Configuration
Step By Step Configuration
Step By Step Configuration
Create a live source, create a live event and connect them to each other: start sending the flow and our platform will produce the packaged in HLS and DASH according to the chosen renditions.
Transcode your VODs with our platform to distribute content at the best possible quality even on slow connections.
Create a live source, create a live event and connect them to each other: start sending the flow and our platform will produce the packaged in HLS and DASH according to the chosen renditions.
For example
For example
For example
Low Resolution
Low Resolution
Low Resolution
420x270
420x270
420x270
400 kbps
400 kbps
400 kbps
Medium Resolution
Medium Resolution
Medium Resolution
640x360
640x360
640x360
800-1200 kbps
800-1200 kbps
800-1200 kbps
High Resolution
High Resolution
High Resolution
960x540
960x540
960x540
900-1500 kbps
900-1500 kbps
900-1500 kbps
HD Resolution
HD Resolution
HD Resolution
1280x720
1280x720
1280x720
1800-2500 kbps
1800-2500 kbps
1800-2500 kbps
Full HD Resolution
Full HD Resolution
Full HD Resolution
1920x1080
1920x1080
1920x1080
3200-4000 kbps
3200-4000 kbps
3200-4000 kbps
1.
1.
1.
Set the device you want your input to go through:
Set the device you want your input to go through:
Set the device you want your input to go through:
1.
1.
1.
Format: H.264
Format: H.264
Format: H.264
Frame Rate: 25.00 fps or 29.76 fps
Frame Rate: 25.00 fps or 29.76 fps
Frame Rate: 25.00 fps or 29.76 fps
Input Size: 1280x720 with aspect ratio checked
Input Size: 1280x720 with aspect ratio checked
Input Size: 1280x720 with aspect ratio checked
Bitrate: 800 kbps
Bitrate: 800 kbps
Bitrate: 800 kbps
Output Size: 1280x720
Output Size: 1280x720
Output Size: 1280x720
2.
2.
2.
To make sure your stream is prestine make sure it's set so:
To make sure your stream is prestine make sure it's set so:
To make sure your stream is prestine make sure it's set so:
2.
2.
2.
Profile: Main
Profile: Main
Profile: Main
Level: 5.0
Level: 5.0
Level: 5.0
Keyframe Frequency: 3 Seconds
Keyframe Frequency: 3 Seconds
Keyframe Frequency: 3 Seconds
3.
3.
3.
The audio side should have these settings:
The audio side should have these settings:
The audio side should have these settings:
3.
3.
3.
Device: Microphone or another connected device
Device: Microphone or another connected device
Device: Microphone or another connected device
Format: MP3
Format: MP3
Format: MP3
Channels: Stereo
Channels: Stereo
Channels: Stereo
Sample Rate: 128 kbps
Sample Rate: 128 kbps
Sample Rate: 128 kbps
Bitrate: 128 kbps
Bitrate: 128 kbps
Bitrate: 128 kbps
Next, to link your encoder with your live stream, you need to edit the URL to:
Next, to link your encoder with your live stream, you need to edit the URL to:
Next, to link your encoder with your live stream, you need to edit the URL to:
The URL is the link you obtain from selecting the default (RTMP/SRT) encoder from the live sources. To get this link you need to select the source to open the configuration pane.
The URL is the link you obtain from selecting the default (RTMP/SRT) encoder from the live sources. To get this link you need to select the source to open the configuration pane.
The URL is the link you obtain from selecting the default (RTMP/SRT) encoder from the live sources. To get this link you need to select the source to open the configuration pane.
Here you can also set up where you would like your content to be delivered from and what type of delay you would like for your stream (only for RTMP).
Here you can also set up where you would like your content to be delivered from and what type of delay you would like for your stream (only for RTMP).
Here you can also set up where you would like your content to be delivered from and what type of delay you would like for your stream (only for RTMP).
After copying the link, paste it into the URL section on your encoder and press connect or start streaming.
After copying the link, paste it into the URL section on your encoder and press connect or start streaming.
After copying the link, paste it into the URL section on your encoder and press connect or start streaming.
To make sure everything is connected, test out your live stream: you'll notice the status next to your preview video player under Live Information in the MainStreaming media manager.
To make sure everything is connected, test out your live stream: you'll notice the status next to your preview video player under Live Information in the MainStreaming media manager.
To make sure everything is connected, test out your live stream: you'll notice the status next to your preview video player under Live Information in the MainStreaming media manager.
To test your stream out, go to the Live Event linked to the source to see if the status of your stream has changed: if the status of your live stream has now changed, you can go back to your encoder and click as your stream is fully functional.
To test your stream out, go to the Live Event linked to the source to see if the status of your stream has changed: if the status of your live stream has now changed, you can go back to your encoder and click as your stream is fully functional.
To test your stream out, go to the Live Event linked to the source to see if the status of your stream has changed: if the status of your live stream has now changed, you can go back to your encoder and click as your stream is fully functional.
Optimized Live Streaming with Versatile Encoding Options
Optimized Live Streaming with Versatile Encoding Options
Optimized Live Streaming with Versatile Encoding Options
MainStreaming provides the best live streaming performance and quality on the market, so we selected a number of live encoders that allow you to fully utilize our next generation network.
Our Live Encoding Platform allows ingestion of any stream in one of the supported formats, whether it comes from a software or hardware encoder:
MainStreaming provides the best live streaming performance and quality on the market, so we selected a number of live encoders that allow you to fully utilize our next generation network.
Our Live Encoding Platform allows ingestion of any stream in one of the supported formats, whether it comes from a software or hardware encoder:
MainStreaming provides the best live streaming performance and quality on the market, so we selected a number of live encoders that allow you to fully utilize our next generation network.
Our Live Encoding Platform allows ingestion of any stream in one of the supported formats, whether it comes from a software or hardware encoder:
RTMP PUSH
RTMP PUSH
RTSP PULL
RTSP PULL
ICECAST
ICECAST
HTTP PULL
HTTP PULL
HTTP PUSH
HTTP PUSH
SRT (Beta)
SRT (Beta)
MPEGTS UDP (Beta)
MPEGTS UDP (Beta)
MPEGTS UDP (Beta)
MPEGTS UDP (Beta)
Some of the supported encoders:
Some of the supported encoders:
Software
Adobe Flash Live Media Encoder
FFMPEG
Open Broadcast Software (OBS) Studio
Hardware
AWS
MetroX
Ospray
EpiPhan
TeraDek
Harmonic
Haivision
AVerCaster
Caton NVE901
NewTek TriCaster
DigiCast DMB - 8800A
Vecoder
Marshall VS-102
FMusers Series Encoder
Z3Stream & Z3Stream-SDI
Tytion Encoder
TBS 2600V1
Imagine Communications
BoxCast HD
HDmediacast
Vecaster 4K & Vecaster HEVC
Blackmagic Design Encoders
J-Tech digital encoders
Upload via Media Manager
Upload via Media Manager
Upload via Media Manager
Here you'll find our recommendations about how to set up your encoders to have the best results with our backend configuration (fragments, chunk, playlist, etc.). If desired, you can use a different configuration but we can't assure the best end-user experience. Of course, if you or your clients have specific needs, feel free to ask to our experts about a specific setup.
Here you'll find our recommendations about how to set up your encoders to have the best results with our backend configuration (fragments, chunk, playlist, etc.). If desired, you can use a different configuration but we can't assure the best end-user experience. Of course, if you or your clients have specific needs, feel free to ask to our experts about a specific setup.
Here you'll find our recommendations about how to set up your encoders to have the best results with our backend configuration (fragments, chunk, playlist, etc.). If desired, you can use a different configuration but we can't assure the best end-user experience. Of course, if you or your clients have specific needs, feel free to ask to our experts about a specific setup.
Bitrate
Bitrate
Bitrate
The following table shows our recommended resolutions, bitrates and frames per seconds.
The following table shows our recommended resolutions, bitrates and frames per seconds.
The following table shows our recommended resolutions, bitrates and frames per seconds.
Low Resolution
Low Resolution
Low Resolution
420x270
420x270
420x270
400 kbps
400 kbps
400 kbps
25
25
25
30
30
30
Medium Resolution
Medium Resolution
Medium Resolution
640x360
640x360
640x360
800-1200 kbps
800-1200 kbps
800-1200 kbps
25
25
25
30
30
30
High Resolution
High Resolution
High Resolution
960x540
960x540
960x540
900-1500 kbps
900-1500 kbps
900-1500 kbps
25
25
25
30
30
HD Resolution
HD Resolution
HD Resolution
1280x720
1280x720
1280x720
1800-2500 kbps
1800-2500 kbps
1800-2500 kbps
25
25
25
30
30
30
Full HD Resolution
Full HD Resolution
Full HD Resolution
1920x1080
1920x1080
1920x1080
3200-4000 kbps
3200-4000 kbps
3200-4000 kbps
25
25
25
30
30
30
Audio/Video Recommendation
The following are our recommended audio formats and bitrates. Video with music content: 128Kbps MP3 or 256Kbps AAC / 2 channel Stereo Video with speech (ex.: closeups, interviews, news, etc.) content: 32-64Kbps MP3 or AAC / 1 channel Mono
The following are our recommended audio formats and bitrates. Video with music content: 128Kbps MP3 or 256Kbps AAC / 2 channel Stereo Video with speech (ex.: closeups, interviews, news, etc.) content: 32-64Kbps MP3 or AAC / 1 channel Mono
The following are our recommended audio formats and bitrates. Video with music content: 128Kbps MP3 or 256Kbps AAC / 2 channel Stereo Video with speech (ex.: closeups, interviews, news, etc.) content: 32-64Kbps MP3 or AAC / 1 channel Mono
Video Codec
Video Codec
H.264 is available for your encoder. Level A higher compression level will improve the content quality, but it's burdensome for the encoder CPU and for the client device (browser, etc.) to decode it. We recommend to use the medium level supported by your encoder. If you are using the H.264 profile, Main would be a good starting point instead of Baseline or High.
Keyframe/GOP
Keyframe/GOP
The keyframe should be passed at every GOP interval. If you are using 25fps (recommended), the GOP should be a multiple of 25 - from 1 to 8 seconds From our Source control panel on Media Manager you can see the three pre-set settings, clicking on them you'll notice the RTMP string changing:
DEFAULT (rtmp://bc.msmdn.net/event/...): recommended setting = keyframe 3 or GOP 75 (90 with 30fps)
LOW DELAY (rtmp://bc.msmdn.net/eventll/...): recommended setting = keyframe 1 or GOP 25 (30 with 30fps)
HIGH BUFFER (rtmp://bc.msmdn.net/eventhb/...): recommended setting = keyframe 6 or GOP 150 (180 with 30fps)
In this way the keyframe/GOP will match with the chunks length so the streaming will be optimized for the bandwidth, obtaining a better quality with the same bitrate. Increasing the GOP will improve the quality of your content, decreasing it will lower the delay instead