With Transcoding

Тhe Оriginal Stream Does Not Have The Desired Resolution and Transcoding is Required

The Base Stream Transcoding is necessary if you want to create a multi-bitrate stream or to change the transcoding parameters of the original stream. 

To add a transcoded stream, follow the steps outlined below:

1. Log in to the Universal CDN Control Panel at my.ucdn.com.

2. Navigate to the Livestreaming tab located in the left panel menu.

3. In the My Livestreaming Zone section, click on the New Live Stream button:

4. From the Main Settings page, provide the following details:

  • Stream name: Enter a friendly name for your Live Stream zone.
  • Enable HLS via CDN: Check this option to enable HLS via HTTP. The CDN system will convert/transmux the incoming RTMP stream into the HLS format.
  • Include Base Stream in master.m3u8: When transcoded streams are added, this option should be disabled. Otherwise, the option may lead to strange behavior in the player, when it is switching between transcoded and Base streams, as the duration of the .ts segments of the Base and the transcoded streams may differ.

5. Locate the ‘Base Stream Transcodings‘ section and click on the ‘Add‘ button:

From the pop-up window, adjust the parameters of the new transcoding slot for the base stream.

Resolution: You can choose between 360p, 480p, 720p, 1080p or 2160p resolutions.  

Frame Rate: (FPS). You can choose between 30, 60 or Custom (2 -120) FPS.
Note that 60 FPS is only available for resolutions above 480p.

Video Codec: Choose H.264.

Video Bitrate: Choose between Low, Medium (default), High or Custom (100-50000 kbps) video bitrates.

The low, medium, high values for video bitrate are determined by a combination of the selected resolution and FPS, as per the table below:

Note: Тhe video bitrate selection (low, medium, high) is maintained when resolution or FPS are changed.
For example, if the initial transcoding is 1080p-60fps with Low bitrate (4500 kbps), changing to 720p-60fps also requires Low bitrate (3000 kbps).

Profile: You can choose between baseline, main or high profile. More additional information you can find here!

Audio codec: Choose AAC.

Audio Bitrate: Choose between Low (128 kbps) – default, Medium (256 kbps), High (320 kbps) or Custom (48 – 320 kbps) audio bitrates.

6. Once configured, press ‘Done‘.

The created transcodings will be listed with the following options:

– You can obtain the address for the transcoding (index.m3u8), by hovering over the blue arrow next to the transcoding’s name.

Keep copy as MP4: If selected, the CDN system will keep a copy of the transcoded stream in an MP4 format. You can choose your preferred UCDN storage container and the duration of each MP4 copy, from the ‘Recordings’ section on the same page.

– You can activate/deactivate a transcoding, by checking/unchecking the ‘Active’ option.

To delete a transcoding, select the bin icon next to the ‘Active’ button.

Transcoded streams need to be inactive in order to make changes to the above settings.

7. Click on the Add Live Stream Zone button.

8. Additional Information

  • Locate your Public URL and Public Key: From the ‘Instructions’ page (under zone settings), obtain the Publish URL and Publish Key, which you can add to any RTMP supporting client to push your local stream to a UCDN Live Streaming zone or Restream Platforms (e.g., YouTube, Twitch, etc.), if such option is enabled.

The Publish URL and Publish Key are also provided on the ‘Main settings’ page.

  • Play Livestream: If you have an active stream running, you can play it by selecting the ‘Play Livestream‘ button.
  • Streaming Events and Duration Logs: Use audit logs to monitor streaming events and their duration. To access this information, click on the ‘log‘ button from the main ‘Livestreaming’ section (https://my.ucdn.com/live-streams/).

Or from the Main ‘Livestreaming’ section -> Zone Settings -> Main Settings.

Live Stream Service Use Cases

The Original Stream Has the Desired Resolution and No Transcoding is Required

Restream Your Content to Third-party Platforms

Record your streams as MP4