This topic describes how to add video sources.
Background information
You can use the following methods to add video sources to a production studio:
- Select video sources from the ApsaraVideo Live console. You can select live streams of a domain name that are in the Ingesting state in the ApsaraVideo Live console as the input source of the production studio. For more information, see Stream Management.
- Select on-demand video files from the ApsaraVideo VOD console as the input source. Note After you upload a video file on the Video and Audio page in the ApsaraVideo VOD console, select the video file that you want to add to the production studio, and then choose More > Make Available on Cloud Studio in the Actions column. The selected video file appears in the production studio.
- Enter a streaming URL. Streams in the RTMP, FLV, and RTS formats are supported.
Procedure
Open a production studio.
Log on to the ApsaraVideo Live console. In the left-side navigation pane, click Production Studios. On the Production Studio Management page, find the production studio to which you want to add video sources and click Open in the Actions column.Add media files.
On the Production Studio page, click Add Media File in the Input Source section. In the Add Resource dialog box, add a media file.Method to add video sources Operation Select Live Stream Specify a value for Name Remark, select a domain name from the drop-down list and select an ingest URL in the Ingest URL list, and then click OK. Note After you select a domain name, the ingest URLs of all live streams under the domain name are displayed. You can select an ingest URL to add it to the production studio.VOD Specify a value for Name Remark. Click Select and select a video from the drop-down list. Set the Loop parameter to Once or Loop. Then, click OK. Note Before you can select on-demand video files from VOD, you must select on-demand video files that you want to add to the production studio on the Video and Audio page in the ApsaraVideo VOD console and choose More > Make Available on Cloud Studio in the Actions column. After the on-demand video files are uploaded and preprocessed, you can use the on-demand video files in the production studio. For more information about the preprocessing rules and billing methods, see ApsaraVideo VOD Pricing.Enter a streaming URL Specify a value for Name Remark and enter a streaming URL for Streaming URL. Streams in the RTMP, FLV and RTS formats are supported. - After a video file is added, you can preview the video file in the Input Source section. Note You can play video files and display image and text only transmitted over HTTPS in the production studio of the ApsaraVideo Live console. If the domain name that is used to access materials from the media library of ApsaraVideo VOD does not support the HTTPS protocol, the materials cannot be displayed on the production studio page. To resolve the preceding issue, you can configure HTTPS in the ApsaraVideo VOD console. For more information, see Enable HTTPS secure acceleration. If your browser or player has no special requirements on HTTPS, you can ignore the preceding limit.