You can easily stream live video with multiple audio tracks for your multi-language audience using an encoder device that supports multiple RTMP outputs over the same RTMP connection.
Configure your encoder
1. Look up your RTMP URL and Channel Key
Look up your RTMP URL and Channel Key on the Encoder settings page of your channel on the IBM Video Streaming account dashboard. Simply go to Dashboard » Channels » (the channel of your choice) » Broadcast settings » Encoder settings:
2. Set up one video track on your encoder
Open the configuration page of your encoder device. Create a video-only output (without audio). Enter the RTMP URL and Channel Key as needed. If a single URL is requested, enter:
[RTMP URL]/[Channel Key][Unique Number]
Unique Number is simply an integer number unique among the RTMP outputs you are using simultaneously with the same Channel Key. For example: 1, 2, 3.
Example: rtmp://1234.fme.ustream.tv/ustreamVideo/1234/123456789ABCDEFGH1
Note: if this output contains audio track, then its language will be set to Default audio language of the channel, and should not be overridden by a different Language Parameter.
3. Set up multiple audio-only tracks on your encoder, one for each language
For each language you want to stream, follow these steps:
- Look up the Language Parameter in the Appendix below.
- Create an audio-only output (without video). Enter the RTMP URL and Channel Key as needed, but add a language specific suffix at the end (|language=[Language Parameter]). If a single URL is requested, enter:
[RTMP URL]/[Channel Key][Unique Number]|language=[Language Parameter]
For example: rtmp://1234.fme.ustream.tv/ustreamVideo/1234/123456789ABCDEFGH3|language=en-GB - Repeat this for each language that you want to stream.
NOTE: The platform only supports 5 concurrent languages/audio tracks including the primary. Adding more than 5 audio tracks could result in stream instability and issues with the platform. Please also ensure that all sources are coming from the same encoder and broadcaster's IP.
Configure your default broadcast language
Select the language that viewers will hear by default when the Player starts playing your live video. Simply go to Dashboard » Channels » (the channel of your choice) » Broadcast settings » Encoder settings:
Make sure you select a default audio language that you actually ingest live.
Video recordings of your multilingual live video stream will contain all properly streamed audio tracks, and will also inherit this default audio language setting.
Review audio languages while streaming live
Double check the languages that viewers can select from while watching your live video. After starting your encoder to live stream multi-language video, simply go to Dashboard » Metrics and monitoring » Live monitoring » (the channel of your choice).
In the Stream setup section you can see real time information on the languages that are being ingested properly.
Review multi-language video recordings
When streaming multi-language live video, your content is recorded automatically. All properly ingested audio tracks are stored in the recording and viewers can select which language to play in the on-demand video just like when watching it live.
For each of your multi-language videos you can review and edit the language tags for each stored audio track. You can also change the default audio language of the recorded video.
Appendix: List of language codes for your encoder
For each language you would like to stream live, add the Parameter value from the sheet below (eg. "en-US" for US English) to the end of the stream key of the audio track you are about to stream with your encoder device.
Language | Parameter |
Not applicable (eg. music) | mis |
Multilingual (varying) | mul |
Arabic | ar-00 |
Chinese | zh-00 |
English (UK) | en-GB |
English (US) | en-US |
French | fr-00 |
Japanese | ja-00 |
Portuguese (Brazil) | pt-BR |
Spanish | es-00 |
Abkhazian | ab-00 |
Afar | aa-00 |
Afrikaans | af-00 |
Albanian | sq-00 |
Amharic | am-00 |
Arabic (Egypt) | ar-EG |
Armenian | hy-00 |
Assamese | as-00 |
Aymara | ay-00 |
Azerbaijani | az-00 |
Bangla | bn-00 |
Bashkir | ba-00 |
Basque | eu-00 |
Belarusian | be-00 |
Bihari | bh-00 |
Bislama | bi-00 |
Bosnian | bs-00 |
Breton | br-00 |
Bulgarian | bg-00 |
Catalan | ca-00 |
Chinese (China) | zh-CN |
Chinese (Hong Kong) | zh-HK |
Chinese (Simplified) | zh-04 |
Chinese (Singapore) | zh-SG |
Chinese (Taiwan) | zh-TW |
Chinese (Traditional) | zh-05 |
Corsican | co-00 |
Croatian | hr-00 |
Czech | cs-00 |
Danish | da-00 |
Dutch | nl-00 |
Dutch (Belgium) | nl-BE |
Dutch (Netherlands) | nl-NL |
Dzongkha | dz-00 |
English (Canada) | en-CA |
English (Ireland) | en-IE |
Esperanto | eo-00 |
Estonian | et-00 |
Faroese | fo-00 |
Fijian | fj-00 |
Finnish | fi-00 |
French (Belgium) | fr-BE |
French (Canada) | fr-CA |
French (France) | fr-FR |
French (Switzerland) | fr-CH |
Galician | gl-00 |
Georgian | ka-00 |
German | de-00 |
German (Austria) | de-AT |
German (Germany) | de-DE |
German (Switzerland) | de-CH |
Greek | el-00 |
Greenlandic (Kalaallisut) | kl-00 |
Guarani | gn-00 |
Gujarati | gu-00 |
Hausa | ha-00 |
Hebrew | iw-00 |
Hindi | hi-00 |
Hindi (Phonetic) | hi-01 |
Hungarian | hu-00 |
Icelandic | is-00 |
Igbo | ig-00 |
Indonesian | id-00 |
Interlingua | ia-00 |
Interlingue | ie-00 |
Inuktitut | iu-00 |
Inupiaq | ik-00 |
Irish | ga-00 |
Italian | it-00 |
Javanese | jv-00 |
Kannada | kn-00 |
Kashmiri | ks-00 |
Kazakh | kk-00 |
Khmer | km-00 |
Kinyarwanda | rw-00 |
Korean | ko-00 |
Kurdish | ku-00 |
Kyrgyz | ky-00 |
Lao | lo-00 |
Latin | la-00 |
Latvian | lv-00 |
Lingala | ln-00 |
Lithuanian | lt-00 |
Luxembourgish | lb-00 |
Macedonian | mk-00 |
Malagasy | mg-00 |
Malay | ms-00 |
Malayalam | ml-00 |
Maltese | mt-00 |
Maori | mi-00 |
Marathi | mr-00 |
Moldavian | mo-00 |
Mongolian | mn-00 |
Myanmar (Burmese) | my-00 |
Nauru | na-00 |
Navajo | nv-00 |
Nepali | ne-00 |
Norwegian | no-00 |
Occitan | oc-00 |
Odia | or-00 |
Oromo | om-00 |
Pashto | ps-00 |
Persian | fa-00 |
Persian (Afghanistan) | fa-AF |
Persian (Iran) | fa-IR |
Polish | pl-00 |
Portuguese | pt-00 |
Portuguese (Portugal) | pt-PT |
Punjabi | pa-00 |
Quechua | qu-00 |
Romanian | ro-00 |
Romansh | rm-00 |
Rundi | rn-00 |
Russian | ru-00 |
Russian (Phonetic) | ru-01 |
Samoan | sm-00 |
Sango | sg-00 |
Sanskrit | sa-00 |
Scottish Gaelic | gd-00 |
Serbian | sr-00 |
Serbian (Cyrillic) | sr-02 |
Serbian (Latin) | sr-01 |
Serbo-Croatian | sh-00 |
Shona | sn-00 |
Sindhi | sd-00 |
Sinhala | si-00 |
Slovak | sk-00 |
Slovenian | sl-00 |
Somali | so-00 |
Southern Sotho | st-00 |
Spanish (Latin America) | es-03 |
Spanish (Mexico) | es-MX |
Spanish (Spain) | es-ES |
Sundanese | su-00 |
Swahili | sw-00 |
Swati | ss-00 |
Swedish | sv-00 |
Tagalog | tl-00 |
Tajik | tg-00 |
Tamil | ta-00 |
Tatar | tt-00 |
Telugu | te-00 |
Thai | th-00 |
Tibetan | bo-00 |
Tigrinya | ti-00 |
Tongan | to-00 |
Tsonga | ts-00 |
Tswana | tn-00 |
Turkish | tr-00 |
Turkmen | tk-00 |
Twi | tw-00 |
Ukrainian | uk-00 |
Urdu | ur-00 |
Uzbek | uz-00 |
Vietnamese | vi-00 |
Volapük | vo-00 |
Welsh | cy-00 |
Western Frisian | fy-00 |
Wolof | wo-00 |
Xhosa | xh-00 |
Yiddish | yi-00 |
Yoruba | yo-00 |
Zulu | zu-00 |