All Products
Search
Document Center

ApsaraVideo Live:General-purpose production studio guide

Last Updated:Jan 16, 2026

The general-purpose production studio is a versatile solution that provides features such as stream mixing, graphic packaging, and real-time captions for a wide range of live streaming scenarios. This topic describes how to use the general-purpose production studio for live video streaming.

Prerequisites

Background information

  • For a list of supported live centers, see Service regions. Support for other live centers will be added in the future. This topic describes the entire process of setting up a general-purpose production studio and performing real-time production.

  • The production studio service provides a series of API operations. These operations support the management of production studios, media sources, layouts, components, program lists and interfaces, scenes and audio, channels, and standby videos. This topic describes how to use these API operations to quickly integrate the general-purpose production studio service.

General-purpose production workflow

流程

As shown in the figure, the workflow for using a general-purpose production studio includes the following stages:

  1. Live stream settings: Use the production studio console to configure features such as the streaming domain name, output definition, transcoding, and recording.

  2. Live stream configuration: Add audio and video assets for the live stream and set the output layout for the added assets.

  3. Start the live stream: After the live stream starts, the mixed stream is output to the Program View (PVW) for preview. The final live stream is output as the Program (PGM) stream.

  4. Real-time production: During production, you can adjust the live content and stream effects using features such as real-time captions, graphic packaging, and the audio mixer.

Console guide

Live stream settings

  1. Log on to the ApsaraVideo Live console. In the navigation pane on the left, choose Live + > Production Studios.

  2. Find the general-purpose production studio that you created and click Open in the Actions column.

  3. When you create a production studio instance and open the production studio UI for the first time, the configuration panel appears. After you configure the parameters, click OK.

    If this is not your first time, you can also click Live Stream Settings in the upper-right corner of the UI to open the panel and configure the production studio.

    通用型

    Configuration item

    Procedure

    Domain Name

    Click the Domain Name text box. From the Domain Name drop-down list, select the streaming domain name for which a CNAME record is configured.

    Output

    From the Output drop-down list, select the original resolution of the live stream. Valid values: Low Definition, Standard Definition, High Definition, Ultra High Definition 1080p (1920 × 1080), Portrait Low Definition, Portrait Standard Definition, Portrait High Definition, and Portrait Ultra High Definition 1080p (1080 × 1920).

    Transcoding Specifications

    • Low Definition

    • Standard Definition

    • High Definition

    • Ultra High Definition 1080p (1920 × 1080)

    After you configure the output, you can also set the transcoding specifications for the live stream. Select one or more transcoding specifications, such as Low Definition, Standard Definition, High Definition, or Ultra High Definition 1080p (1920 × 1080).

    Note

    You can select multiple transcoding specifications. However, the definition of the transcoded stream cannot be higher than the original stream. If you select Low Definition as the transcoding format, viewers can switch between Original Quality and Low Definition during playback.

    Recording Settings

    (Optional) Turn on the Recording Settings switch to enable recording.

    You can select automatic recording or manual recording. Automatic recording starts when the live stream begins. Manual recording lets you start or stop recording as needed after the live stream begins.

    1. Set the storage location for the live stream recordings.

      Note

      The storage location must be in the same region as the production studio. Cross-region recording is not supported.

    2. Select one or more storage formats for the recording files.

    3. Set the recording cycle. For example, if you set the cycle to 10 minutes, a new recording file is generated every 10 minutes.

    Stream Delay

    (Optional) Turn on the Stream Delay switch to set a delay for the output. The valid range is 15s to 300s.

    Standby Video

    (Optional)

    • Live Stream: Select Select from ApsaraVideo Live Console or Enter a live URL. to specify a standby video.

    • VOD Resource: Click Select. From the list of VOD video sources, select a VOD video to serve as a standby clip before the live stream starts or if the stream becomes abnormal.

      Important

      All VOD assets used, such as VOD sources and standby videos, must be in the same region as the production studio. The production studio does not support selecting VOD videos from other regions as assets. For example, if you use a production studio in China (Shanghai), your assets must also be in ApsaraVideo VOD in China (Shanghai).

    • Image: Click Select From Media Library or Local Upload to specify a standby image. You can upload JPG or PNG images. The maximum file size is 10 MB.

    Multi-way Stream Relay

    (Optional) Click Add URL to set a relay address.

    Important
    • After you add or delete a relay address, disconnect and restart the PGM for the settings to take effect.

    • Using third-party platform features incurs additional relay fees. By default, each domain name provides three free relay addresses. If you exceed this limit, the extra addresses are billed. The billing standard is the same as that for stream relay in the live center. For more information, see Billing of stream relay in the live center.

Live stream configuration

  1. Click + Add Media File. In the Add Resource panel, add a live stream or VOD video as the video source.

    视频

    How to add

    Operation

    Live Stream

    • Select from Live Console: After you select a domain name, a list of all live streams under that domain name automatically appears. Select the ingest URL to add to the current production studio instance.

    • Enter Live Stream URL: Enter a valid live stream URL. The RTMP, FLV, and RTS formats are supported.

    VOD

    1. Click Select. In the list of video assets from the media library, select a video. Set playback to Once or Loop.

    2. (Optional) Set the start time for playback switching. This start time takes effect only when you set the asset and sync it to the PGM.

    3. Click OK to add the video.

    Note

    To use VOD video assets from the VOD option, you must go to the ApsaraVideo VOD console. From the More drop-down list, select Use for Live Production. Wait for the video to upload and complete pre-processing before you can use it in the production studio. For information about pre-processing rules and billing methods, see ApsaraVideo VOD pricing.

    Image

    • Select From Media Library: Click Select Image and choose an image from the media library.

    • Local Upload: Upload a local image. You can upload JPG or PNG images. The maximum file size is 10 MB. The uploaded image is stored in the VOD media library.

    Local Stream Ingest

    Stream ingest method:

    • Screen sharing: Share your screen. You can select an application window or your desktop as the input source.

    • Camera stream ingest: Use your local camera as the input source.

    Resolution: Select a suitable resolution.

  2. Set the output layout.

    1. Click + Layout. Select a layout type for the video output. Associate a media asset with each video position in the layout.布局绑定

      Note

      The video sources in a layout must be unique and cannot be empty.

    2. After you add the layout and start the live stream, click the Layout that you created. The live stream is then mixed and output based on the selected layout.步骤

Start the live stream

  1. Click Start Live Streaming. The mixed content from the video source is output to the PVW window.

    Important
    • Billing starts after you click Start Live Streaming in the upper-right corner of the console. Closing the web page does not stop the live stream or the PGM output. The production studio continues to run and incur charges. To stop the service, you must click Stop.

    • The PVW window is for you to debug the video. This stream is not visible to viewers. After you preview the stream, click Synchronize to PGM to make the content visible to viewers.

  2. Click Synchronize to PGM. The content is then broadcast as the official live stream to end users.

Real-time production

While the stream is live, you can use the following features to edit and adjust the live content and stream effects in real time.

  1. Click the audio mixer button and slide it up or down to adjust the stream volume.

    • Audio Follows Video: By default, the PVW window displays video without audio. When you select the Audio Follows Video option and click Synchronize to PGM, the audio from the video source in the PVW window is sent to the PGM stream. The audio from other video sources is muted by default. You can use the audio mixer to configure the audio from all video sources to be included in the output stream.

    • Audio Follows Video (unchecked): When you sync the PVW window to the PGM stream, if Audio Follows Video is not selected, the audio from the video source in the PVW window is not sent to the PGM stream.

    6

  2. Set the caption style and enable bilingual translation.

    The real-time captions feature performs real-time speech recognition on the audio of a live stream. It then displays the recognized text as captions on the stream. The recognized captions can be translated in real time. You can display captions in the source language of the stream's audio, the translated target language, or both.

    Translation is supported between Chinese, English, Spanish, and Russian. The real-time captions feature not only adds a professional touch to your content but also allows viewers to follow along in environments where audio is unavailable. Real-time translation makes it easier for a multinational, multilingual audience to understand the live content. This feature is highly effective for cross-border e-commerce and international event live streaming.

    1. Click Live Subtitles to open the caption component window.

    2. Set the component name, font style, size, position, video source, source language, and translation language. You can preview the effect in the preview area on the left. When you are finished, click OK to save.字幕

  3. Insert effects such as watermarks, logos, and banner text into the live stream.

    • Add an image

      1. Click Image to open the image component window.

      2. Click Upload Image and select an image from your local machine. After the image is uploaded, set the component name, scaling (size), and position. You can preview the effect in the preview area on the left. When you are done, click OK to save.上传

    • Add text

      1. Click Text to open the text component window.

      2. Enter text in the input box. Then, set the component name, font style, size, display style, and position. You can preview the effect in the preview area on the left. When you are done, click OK to save.文字

  4. Change the video stream layout. You can create up to 20 layouts.

  5. Click Switch to Standby. If an issue occurs with the live stream, you can switch to the standby video in real time to ensure a smooth broadcast.

API operation guide

You can call the following API operations to quickly integrate and use the general-purpose production studio service. The process includes the following steps:

  1. Create and configure a general-purpose production studio. For more information, see CreateCaster and SetCasterConfig.

  2. Add a video resource for the production studio. For more information, see AddCasterVideoResource.

  3. Add a layout for the production studio. For more information, see AddCasterLayout.

  4. (Optional) Add a component for the production studio. For more information, see AddCasterComponent.

  5. Start the production studio. For more information, see StartCaster .

  6. Set the playback scene. For more information, see SetCasterSceneConfig.

  7. Stop the production studio. For more information, see StopCaster.