Getting started with a video broadcast in Yandex Cloud Video
To stream a video on the service's channel:
- Get your cloud ready.
- Create a channel.
- Create a broadcast.
- Create an episode.
- Set up OBS Studio.
- Start your broadcast.
- Check if the broadcast is available.
For information about using the service via the API, see How to get started with the Yandex Cloud Video API.
Get your cloud ready
To get started with Cloud Video:
- Log in
to your Yandex account. If you do not have an account, create one. - Open the Cloud Video home page
. - On the Cloud Video home page, confirm that you have read and accept the Terms of use
, then click Log in. - Create a billing account.
-
Log in
to your Yandex account. -
Open the Cloud Video home page
. -
Select one of these options:
-
If you already have an organization, select it from the drop-down menu and click Open Cloud Video.
Note
To activate a Cloud Video instance, you need the
adminorownerrole. For more information about roles, see Access management in Yandex Identity Hub. -
If you have a cloud but no organization, click Open Cloud Center. In the window that opens, enter a name and description for your organization and click Create organization and Cloud Video. For more information about working with organizations, see Getting started with organizations.
-
-
To use Cloud Video, make sure you have the minimum role,
video.editor, in the organization.
If you encounter a technical issue with the service, contact Yandex Cloud support
Create a channel
- Open the Cloud Video home page
. - Click
Create a channel. - On the channel creation page, enter:
- Name.
- Optionally, Description.
- Click Create.
Once the channel is created, you will find yourself inside it on the
- To learn more about channels, see Channels.
- To learn more about configuring ads, see Configuring ads.
Create a broadcast
- In the
Broadcasts tab, click Create a broadcast. - Enter a name for the broadcast.
- In the Stream input protocol field, select
RTMP. - In the Stream type field, select
Push. - Enable the Auto-start broadcast option.
- Click Create.
Create an episode
-
Under Episodes, click
Add an episode. -
In the Episode type field, select the Live mode.
-
Enter a name for the episode.
-
Select
All Usersin the Access list. -
In the Thumbnail field, click
Select file and choose a cover image.The following cover formats are supported: JPG
, PNG , and GIF . -
Click Save.
-
In the broadcast window that opens, copy the following data:
- Server address
- Broadcast key.
To learn more about streams, see Broadcasts.
Set up OBS Studio
-
To install Open Broadcaster Software
(OBS Studio or OBS), the video recording and live streaming software:LinuxWindowsRun this command:
sudo add-apt-repository ppa:obsproject/obs-studio \ sudo apt install obs-studioDownload
and install OBS Studio from the project’s website or use the Chocolatey package manager. In PowerShell, run this command as an administrator:choco install obs-studio -
Set up OBS Studio:
-
In the right-hand panel, go to Controls → Settings → Stream.
-
In the Destination section:
- In the Service field, select Custom....
- In the Server field, specify the server address you got earlier.
- In the Stream key field, specify the broadcast key you got earlier.
-
In the left-hand panel, select Output → Stream.
- Under Video bitrate, set a value based on screen resolution and internet speed. You can measure your internet speed using Yandex.Internetometer
. Your stream bitrate must not exceed the Outgoing connection value. - In the Video encoder field, select the video encoding format.
- Under Video bitrate, set a value based on screen resolution and internet speed. You can measure your internet speed using Yandex.Internetometer
-
In the Recording section:
- In the Recording path field, specify the path to save your stream to.
- In the Recording format field, select the video file format.
-
Click OK.
-
In the Sources panel at the bottom left, click
to add a source.- In the window that opens, select a source, e.g., Video Capture Device.
- In the window that opens, specify the source name and click OK.
- Select the video streaming device, e.g., a webcam, and click OK.
-
In the center of the window, you can set the size and position of the video stream.
-
For more information, see OBS Studio setup recommendations.
Start your broadcast
- Go back to the
Broadcasts tab in Cloud Video. - Select the broadcast you created earlier.
- Enable Accept signal.
- In OBS Studio, click Start broadcast in the bottom-right Controls panel.
- Wait for the broadcast to start.
The service limits the duration and number of simultaneous broadcasts.
Check if the broadcast is available
- Under Episodes, select the previously created episode.
- Select the
linktab. - Click
Copy. - Open a new browser page and paste the obtained URL to the address bar.
- Click the play button to make sure the broadcast is available.