import * as $dara from '@darabonba/typescript'; export declare class CreateLiveTranscodeTemplateRequestTemplateConfigAudioParams extends $dara.Model { /** * @remarks * The bitrate of the output audio. Unit: Kbit/s. Valid values: 1 to 1000. * * @example * 100 */ bitrate?: string; /** * @remarks * The number of sound channels. Valid values: 1: mono 2: binaural * * @example * 2 */ channels?: string; /** * @remarks * The audio codec. Valid values: * * * AAC * * MP3 * * @example * AAC */ codec?: string; /** * @remarks * The audio codec profile. Valid values when the Codec parameter is set to AAC: * * * aac_low * * aac_he * * aac_he_v2 * * aac_ld * * @example * aaclow */ profile?: string; /** * @remarks * The audio sampling rate. Valid values: 22050 to 96000. * * Note: If you set AudioProfile to aac_ld, the audio sampling rate cannot exceed 44,100. * * @example * 44100 */ samplerate?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateLiveTranscodeTemplateRequestTemplateConfigVideoParams extends $dara.Model { /** * @remarks * The bitrate of the output video. Unit: Kbit/s. Valid values: 1 to 6000. * * @example * 2500 */ bitrate?: string; /** * @remarks * The encoding type. Valid values: * * * H.264 * * H.265 * * @example * H.264 */ codec?: string; /** * @remarks * The frame rate of the output video. Unit: frames per second (FPS). Valid values: 1 to 60. * * @example * 25 */ fps?: string; /** * @remarks * The group of pictures (GOP) of the output video. Unit: frame. Valid values: 1 to 3000. * * @example * 1000 */ gop?: string; /** * @remarks * The height of the output video. Valid values: Height ≥ 128 max (Height,Width) ≤ 2560 min (Height,Width) ≤ 1440 * * Note: The resolution of the output video that is transcoded by using the H.265 Narrowband HD transcoding template cannot exceed 1280 × 720 pixels. * * @example * 720 */ height?: string; /** * @remarks * The encoding profile. The profile determines how a video is encoded. In most cases, a greater value indicates better image quality and higher resource consumption. Valid values: 1: baseline. This value is suitable for mobile devices. 2: main. This value is suitable for standard-definition devices. 3: high. This value is suitable for high-definition devices. * * @example * 2 */ profile?: string; /** * @remarks * The width of the output video. Valid values: Width ≥ 128 max (Height,Width) ≤ 2560 min (Height,Width) ≤ 1440 * * Note: The resolution of the output video that is transcoded by using the H.265 Narrowband HD transcoding template cannot exceed 1280 × 720 pixels. * * @example * 1280 */ width?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateLiveTranscodeTemplateRequestTemplateConfig extends $dara.Model { /** * @remarks * The audio parameters. */ audioParams?: CreateLiveTranscodeTemplateRequestTemplateConfigAudioParams; /** * @remarks * The video parameters. */ videoParams?: CreateLiveTranscodeTemplateRequestTemplateConfigVideoParams; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class CreateLiveTranscodeTemplateRequest extends $dara.Model { /** * @remarks * The name of the template. * * This parameter is required. * * @example * my template */ name?: string; /** * @remarks * The configuration of the template. */ templateConfig?: CreateLiveTranscodeTemplateRequestTemplateConfig; /** * @remarks * The type of the template. Valid values: * * * normal * * narrow-band * * audio-only * * origin * * This parameter is required. * * @example * normal */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }