import * as $dara from '@darabonba/typescript'; export declare class GetTranscodeJobResponseBodyTranscodeParentJobInputGroup extends $dara.Model { /** * @remarks * The media object. * * * If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported. * * If Type is set to Media, the ID of a media asset is returned. * * @example * oss://bucket/path/to/video.mp4 */ media?: string; /** * @remarks * The type of the media object. Valid values: * * * OSS: an OSS object. * * Media: a media asset. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupOutput extends $dara.Model { /** * @remarks * The media object. * * * If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported. * * If Type is set to Media, the ID of a media asset is returned. * * @example * oss://bucket/path/to/video.mp4 */ media?: string; /** * @remarks * The URL of the output stream. * * @example * oss://bucket/path/to/video.mp4 */ outputUrl?: string; /** * @remarks * The type of the media object. Valid values: * * * OSS: an OSS object. * * Media: a media asset. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigCombineConfigs extends $dara.Model { /** * @remarks * The audio stream index. * * This parameter is required. * * @example * 0 或 exclude */ audioIndex?: string; /** * @remarks * The duration of the input stream. The default value is the duration of the video. * * @example * 20.0 */ duration?: number; /** * @remarks * The start time of the input stream. Default value: 0. * * @example * 0.0 */ start?: number; /** * @remarks * The video stream index. * * This parameter is required. * * @example * 0 或 exclude */ videoIndex?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigEncryption extends $dara.Model { /** * @remarks * The ciphertext of HLS encryption. * * @example * MTYi00NDU0LTg5O**** */ cipherText?: string; /** * @remarks * The endpoint of the decryption service for HLS encryption. * * @example * https://sample.com/path?CipherText=MTYi00NDU0LTg5O**** */ decryptKeyUri?: string; /** * @remarks * The encryption type. * * @example * PrivateEncryption */ encryptType?: string; /** * @remarks * The type of the key service. Valid values: KMS and Base64. * * @example * KMS */ keyServiceType?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigImageWatermarksOverwriteParamsFile extends $dara.Model { /** * @remarks * The media object. * * * If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported. * * If Type is set to Media, the ID of a media asset is returned. * * @example * oss://bucket/path/to/video.mp4 */ media?: string; /** * @remarks * The type of the media object. Valid values: * * * OSS: an OSS object. * * Media: a media asset. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigImageWatermarksOverwriteParamsTimeline extends $dara.Model { /** * @remarks * The duration of the stream. Valid values: the number of seconds or "ToEND". * * @example * ToEND */ duration?: string; /** * @remarks * The start time of the stream. * * @example * 00:00:05 */ start?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigImageWatermarksOverwriteParams extends $dara.Model { /** * @remarks * The position of the watermark on the x-axis. * * @example * 10 */ dx?: string; /** * @remarks * The position of the watermark on the y-axis. * * @example * 10 */ dy?: string; /** * @remarks * The watermark image file. */ file?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigImageWatermarksOverwriteParamsFile; /** * @remarks * The height of the output video. * * @example * 32 */ height?: string; /** * @remarks * The reference position of the watermark. Valid values: TopLeft, TopRight, BottomLeft, and BottomRight. Default value: TopLeft. * * @example * TopLeft */ referPos?: string; /** * @remarks * The timeline settings. */ timeline?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigImageWatermarksOverwriteParamsTimeline; /** * @remarks * The width of the output video. * * @example * 32 */ width?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigImageWatermarks extends $dara.Model { /** * @remarks * The parameters that are used to overwrite the corresponding parameters of the template. */ overwriteParams?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigImageWatermarksOverwriteParams; /** * @remarks * The template ID. * * @example * 9547c6ad97cb4f2aaa29683ebd18d410 */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigSubtitlesOverwriteParamsFile extends $dara.Model { /** * @remarks * The media object. * * * If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported. * * If Type is set to Media, the ID of a media asset is returned. * * @example * oss://bucket/path/to/video.mp4 */ media?: string; /** * @remarks * The type of the media object. Valid values: * * * OSS: an OSS object. * * Media: a media asset. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigSubtitlesOverwriteParams extends $dara.Model { /** * @remarks * The file encoding format. * * @example * UTF-8 */ charEnc?: string; /** * @remarks * The subtitle file. */ file?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigSubtitlesOverwriteParamsFile; /** * @remarks * The format of the subtitle file. * * @example * vtt */ format?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigSubtitles extends $dara.Model { /** * @remarks * The parameters that are used to overwrite the corresponding parameters of the template. */ overwriteParams?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigSubtitlesOverwriteParams; /** * @remarks * The template ID. * * @example * 9547c6ad97cb4f2aaa29683ebd18d410 */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTextWatermarksOverwriteParams extends $dara.Model { /** * @remarks * Indicates whether the text size was adjusted based on the output video dimensions. Valid values: true and false. Default value: false. * * @example * false */ adaptive?: string; /** * @remarks * The border color. * * @example * #006400 */ borderColor?: string; /** * @remarks * The border width. * * @example * 0 */ borderWidth?: number; /** * @remarks * The watermark text. Base64 encoding is not required. The string must be encoded in UTF-8. * * @example * 测试水印 */ content?: string; /** * @remarks * The transparency of the watermark. * * @example * 1.0 */ fontAlpha?: string; /** * @remarks * The color of the text. * * @example * #006400 */ fontColor?: string; /** * @remarks * The font of the text. * * @example * SimSun */ fontName?: string; /** * @remarks * The size of the text. * * @example * 16 */ fontSize?: number; /** * @remarks * The distance of the watermark from the left edge. * * @example * 10 */ left?: string; /** * @remarks * The distance of the watermark from the top edge. * * @example * 10 */ top?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTextWatermarks extends $dara.Model { /** * @remarks * The parameters that are used to overwrite the corresponding parameters of the template. */ overwriteParams?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTextWatermarksOverwriteParams; /** * @remarks * The template ID. * * @example * 9547c6ad97cb4f2aaa29683ebd18d410 */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsAudioVolume extends $dara.Model { /** * @remarks * The output volume. * * @example * -6 */ integratedLoudnessTarget?: string; /** * @remarks * The volume range. * * @example * 8 */ loudnessRangeTarget?: string; /** * @remarks * The volume adjustment method. Valid values: * * @example * auto */ method?: string; /** * @remarks * The peak volume. * * @example * -1 */ truePeak?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsAudio extends $dara.Model { /** * @remarks * The audio bitrate of the output file. * * * Valid values: [8,1000]. * * Unit: Kbit/s. * * Default value: 128. * * @example * 128 */ bitrate?: string; /** * @remarks * The number of sound channels. Default value: 2. * * @example * 2 */ channels?: string; /** * @remarks * The audio codec. Valid values: AAC, MP3, VORBIS, and FLAC. Default value: AAC. * * @example * AAC */ codec?: string; /** * @remarks * The audio codec profile. If the Codec parameter is set to AAC, the valid values are aac_low, aac_he, aac_he_v2, aac_ld, and aac_eld. * * @example * aac_low */ profile?: string; /** * @remarks * Indicates whether the audio stream is deleted. * * @example * false */ remove?: string; /** * @remarks * The sampling rate. * * * Default value: 44100. * * Valid values: 22050, 32000, 44100, 48000, and 96000. * * Unit: Hz. * * @example * 44100 */ samplerate?: string; /** * @remarks * The volume configurations. */ volume?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsAudioVolume; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsContainer extends $dara.Model { /** * @remarks * The container format. * * @example * mp4 */ format?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsMuxConfigSegment extends $dara.Model { /** * @remarks * The segment length. * * @example * 10 */ duration?: string; /** * @remarks * The forced segmentation point in time. * * @example * 2,3 */ forceSegTime?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsMuxConfig extends $dara.Model { /** * @remarks * The segment settings. */ segment?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsMuxConfigSegment; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsTransConfig extends $dara.Model { /** * @remarks * The method that is used to adjust the resolution. This parameter takes effect only if both the Width and Height parameters are specified. You can use this parameter together with the LongShortMode parameter. * * Valid values: rescale, crop, pad, and none. * * Default value: none. * * @example * none */ adjDarMethod?: string; /** * @remarks * Indicates whether the audio bitrate was checked. You can specify only one of the IsCheckAudioBitrate and IsCheckAudioBitrateFail parameters. The priority of the IsCheckAudioBitrateFail parameter is higher. Valid values: * * * true If the bitrate of the input audio is less than that of the output audio, the bitrate of the input audio is used for transcoding. * * false * * Default value: * * * If this parameter is not specified and the codec of the output audio is different from that of the input audio, the default value is false. * * If this parameter is not specified and the codec of the output audio is the same as that of the input audio, the default value is true. * * @example * true */ isCheckAudioBitrate?: string; /** * @remarks * Indicates whether the audio bitrate was checked. You can specify only one of the IsCheckAudioBitrate and IsCheckAudioBitrateFail parameters. The priority of the IsCheckAudioBitrateFail parameter is higher. Valid values: * * * true If the bitrate of the input audio is less than that of the output audio, the transcoding job fails. * * false * * Default value: false. * * @example * true */ isCheckAudioBitrateFail?: string; /** * @remarks * Indicates whether the video resolution was checked. You can specify only one of the IsCheckReso and IsCheckResoFail parameters. The priority of the IsCheckResoFail parameter is higher. Valid values: * * * true If the width or height of the input video is less than that of the output video, the resolution of the input video is used for transcoding. * * false * * Default value: false. * * @example * true */ isCheckReso?: string; /** * @remarks * Indicates whether the video resolution was checked. You can specify only one of the IsCheckReso and IsCheckResoFail parameters. The priority of the IsCheckResoFail parameter is higher. Valid values: * * * true If the width or height of the input video is less than that of the output video, the transcoding job fails. * * false * * Default value: false. * * @example * true */ isCheckResoFail?: string; /** * @remarks * Indicates whether the video bitrate was checked. You can specify only one of the IsCheckVideoBitrate and IsCheckVideoBitrateFail parameters. The priority of the IsCheckVideoBitrateFail parameter is higher. Valid values: * * * true If the bitrate of the input video is less than that of the output video, the bitrate of the input video is used for transcoding. * * false * * Default value: false. * * @example * true */ isCheckVideoBitrate?: string; /** * @remarks * Indicates whether the video bitrate was checked. You can specify only one of the IsCheckVideoBitrate and IsCheckVideoBitrateFail parameters. The priority of the IsCheckVideoBitrateFail parameter is higher. Valid values: * * * true If the bitrate of the input video is less than that of the output video, the transcoding job fails. * * false * * Default value: false. * * @example * true */ isCheckVideoBitrateFail?: string; /** * @remarks * The video transcoding mode. Valid values: * * * onepass: You can set this parameter to onepass if the Bitrate parameter is set to ABR. The encoding speed of this mode is faster than that of the twopass mode. * * twopass: You can set this parameter to twopass if the Bitrate parameter is set to VBR. The encoding speed of this mode is slower than that of the onepass mode. * * CBR: the constant bitrate mode. * * Default value: onepass. * * @example * onepass */ transMode?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsVideo extends $dara.Model { /** * @remarks * The maximum ABR. This parameter takes effect only for Narrowband HD 1.0. * * * Valid values: [10,50000]. * * Unit: Kbit/s. * * @example * 6000 */ abrMax?: string; /** * @remarks * The average bitrate of the video. * * * Valid values: [10,50000]. * * Unit: Kbit/s. * * @example * 3000 */ bitrate?: string; /** * @remarks * The buffer size. * * * Valid values: [1000,128000]. * * Default value: 6000. * * Unit: KB. * * @example * 6000 */ bufsize?: string; /** * @remarks * The encoding format. * * @example * H.264 */ codec?: string; /** * @remarks * The constant rate factor. * * * Valid values: [0,51]. * * Default value: 23 if the encoding format is H.264, or 26 if the encoding format is H.265. * * If this parameter is specified, the value of Bitrate becomes invalid. * * @example * 23 */ crf?: string; /** * @remarks * The method of video cropping. Valid values: border: automatically detects and removes black bars. A value in the width:height:left:top format: crops the videos based on the custom settings. Example: 1280:800:0:140. * * @example * 1280:800:0:140 */ crop?: string; /** * @remarks * The frame rate. * * * Valid values: (0,60]. * * The value is 60 if the frame rate of the input video exceeds 60. * * Default value: the frame rate of the input video. * * @example * 25 */ fps?: string; /** * @remarks * The maximum number of frames between two keyframes. * * * Valid values: [1,1080000]. * * Default value: 250. * * @example * 250 */ gop?: string; /** * @remarks * The height of the output video. * * * Valid values: [128,4096]. * * Unit: pixels. * * Default value: the height of the input video. * * @example * 1080 */ height?: string; /** * @remarks * Indicates whether the auto-rotate screen feature is enabled. * * @example * false */ longShortMode?: string; /** * @remarks * The maximum bitrate of the output video. * * * Valid values: [10,50000]. * * Unit: Kbit/s. * * @example * 9000 */ maxrate?: string; /** * @remarks * The black bars added to the video. * * * Format: width:height:left:top. * * Example: 1280:800:0:140. * * @example * 1280:800:0:140 */ pad?: string; /** * @remarks * The pixel format of the video. Valid values: standard pixel formats such as yuv420p and yuvj420p. * * @example * yuv420p */ pixFmt?: string; /** * @remarks * The preset video algorithm. This parameter takes effect only if the encoding format is H.264. Valid values: veryfast, fast, medium, slow, and slower. Default value: medium. * * @example * medium */ preset?: string; /** * @remarks * The encoding profile. Valid values: baseline, main, and high. * * * baseline: applicable to mobile devices. * * main: applicable to standard-definition devices. * * high: applicable to high-definition devices. * * Default value: high. * * @example * Main */ profile?: string; /** * @remarks * Indicates whether the video was removed. * * @example * false */ remove?: string; /** * @remarks * The scan mode. Valid values: interlaced and progressive. * * @example * progressive */ scanMode?: string; /** * @remarks * The width of the output video. * * * Valid values: [128,4096]. * * Unit: pixels. * * Default value: the width of the input video. * * @example * 1920 */ width?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParams extends $dara.Model { /** * @remarks * The audio settings. */ audio?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsAudio; /** * @remarks * The encapsulation format settings. */ container?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsContainer; /** * @remarks * The encapsulation settings. */ muxConfig?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsMuxConfig; /** * @remarks * The conditional transcoding configurations. */ transConfig?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsTransConfig; /** * @remarks * The video settings. */ video?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParamsVideo; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscode extends $dara.Model { /** * @remarks * The parameters that are used to overwrite the corresponding parameters of the template. */ overwriteParams?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscodeOverwriteParams; /** * @remarks * The template ID. * * @example * 9547c6ad97cb4f2aaa29683ebd18d410 */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfig extends $dara.Model { /** * @remarks * The multi-input stream merge configuration. */ combineConfigs?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigCombineConfigs[]; /** * @remarks * The encryption settings. */ encryption?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigEncryption; /** * @remarks * The watermark configuration of an image. */ imageWatermarks?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigImageWatermarks[]; /** * @remarks * The subtitle configuration. */ subtitles?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigSubtitles[]; /** * @remarks * The configurations of the text watermark. */ textWatermarks?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTextWatermarks[]; /** * @remarks * The transcoding configuration. */ transcode?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfigTranscode; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobOutputGroup extends $dara.Model { /** * @remarks * The output file configuration. */ output?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupOutput; /** * @remarks * The job processing configuration. */ processConfig?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroupProcessConfig; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobScheduleConfig extends $dara.Model { /** * @remarks * The ID of the ApsaraVideo Media Processing (MPS) queue to which the snapshot job was submitted. * * @example * e37ebee5d98b4781897f6086e89f9c56 */ pipelineId?: string; /** * @remarks * The priority of the job. Valid values: 1 to 10. The greater the value, the higher the priority. * * @example * 5 */ priority?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListInputGroup extends $dara.Model { /** * @remarks * The URL of the media asset. This parameter is specified only when the media asset is transcoded. * * @example * oss://bucket/path/to/video.mp4 */ inputUrl?: string; /** * @remarks * The media object. * * * If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported. * * If Type is set to Media, the ID of a media asset is returned. * * @example * oss://bucket/path/to/video.mp4 */ media?: string; /** * @remarks * The type of the media object. Valid values: * * * OSS: an Object Storage Service (OSS) object. * * Media: a media asset. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutFileMetaAudioStreamInfoList extends $dara.Model { /** * @remarks * The bitrate. * * @example * 0.f */ bitrate?: string; /** * @remarks * The sound channel layout. * * @example * stereo */ channelLayout?: string; /** * @remarks * The number of sound channels. * * @example * 2 */ channels?: string; /** * @remarks * The name of the encoding format. * * @example * AAC (Advanced Audio Coding) */ codecLongName?: string; /** * @remarks * The encoding format. * * @example * aac */ codecName?: string; /** * @remarks * The encoder tag. * * @example * 0x000f */ codecTag?: string; /** * @remarks * The name of the encoder tag. * * @example * [15][0][0][0] */ codecTagString?: string; /** * @remarks * The time base of the encoder. * * @example * 1/44100 */ codecTimeBase?: string; /** * @remarks * The duration of the stream. Unit: seconds. * * @example * 403.039989 */ duration?: string; /** * @remarks * The sequence number of the stream. * * @example * 1 */ index?: string; /** * @remarks * The language of the stream. * * @example * cn */ lang?: string; /** * @remarks * The sample format. * * @example * fltp */ sampleFmt?: string; /** * @remarks * The sampling rate. Unit: Hz. * * @example * 44100 */ sampleRate?: string; /** * @remarks * The start time of the stream. * * @example * 1.473556 */ startTime?: string; /** * @remarks * The time base. * * @example * 1/90000 */ timebase?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutFileMetaFileBasicInfo extends $dara.Model { /** * @remarks * The video bitrate. * * @example * 888.563 */ bitrate?: string; /** * @remarks * The duration of the video. Unit: seconds. * * @example * 403.039999 */ duration?: string; /** * @remarks * The file name. * * @example * file.m3u8 */ fileName?: string; /** * @remarks * The file size. Unit: bytes. * * @example * 31737 */ fileSize?: string; /** * @remarks * The state of the file. * * @example * Normal */ fileStatus?: string; /** * @remarks * The file type. Valid values: source_file and transcode_file. * * @example * source_file */ fileType?: string; /** * @remarks * The URL of the file. * * @example * http://bucket.oss-cn-shanghai.aliyuncs.com/path/to/file.m3u8 */ fileUrl?: string; /** * @remarks * The name of the video format. * * @example * hls,applehttp */ formatName?: string; /** * @remarks * The height of the output video. * * @example * 478 */ height?: string; /** * @remarks * The ID of the media asset. * * @example * 486c2890096871edba6f81848c016303 */ mediaId?: string; /** * @remarks * The region in which the file resides. * * @example * cn-shanghai */ region?: string; /** * @remarks * The width of the output video. * * @example * 848 */ width?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutFileMetaVideoStreamInfoList extends $dara.Model { /** * @remarks * The average frame rate. * * @example * 25.0 */ avgFps?: string; /** * @remarks * The bitrate. * * @example * 888.563 */ bitRate?: string; /** * @remarks * The name of the encoding format. * * @example * H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 */ codecLongName?: string; /** * @remarks * The encoding format. * * @example * h264 */ codecName?: string; /** * @remarks * The tag of the encoding format. * * @example * 0x001b */ codecTag?: string; /** * @remarks * The tag string of the encoding format. * * @example * [27][0][0][0] */ codecTagString?: string; /** * @remarks * The time base of the encoder. * * @example * 1/50 */ codecTimeBase?: string; /** * @remarks * The display aspect ratio. * * @example * 16:9 */ dar?: string; /** * @remarks * The duration of the stream. Unit: seconds. * * @example * 403.039989 */ duration?: string; /** * @remarks * The frame rate. * * @example * 25.0 */ fps?: string; /** * @remarks * Indicates whether the video stream contains bidirectional frames (B-frames). Valid values: * * * 0: The stream contains no B-frames. * * 1: The stream contains one B-frame. * * 2: The stream contains multiple consecutive B-frames. * * @example * 2 */ hasBFrames?: string; /** * @remarks * The height of the output video. * * @example * 478 */ height?: string; /** * @remarks * The sequence number of the stream. * * @example * 0 */ index?: string; /** * @remarks * The language of the stream. * * @example * cn */ lang?: string; /** * @remarks * The codec level. * * @example * 31 */ level?: string; /** * @remarks * The total number of frames. * * @example * 10040 */ numFrames?: string; /** * @remarks * The pixel format. * * @example * yuv420p */ pixFmt?: string; /** * @remarks * The encoder profile. * * @example * High */ profile?: string; /** * @remarks * The rotation angle of the video image. Valid values: 0, 90, 180, and 270. Default value: 0. * * @example * 0 */ rotate?: string; /** * @remarks * The aspect ratio of the area from which the sampling points are collected. * * @example * 478:477 */ sar?: string; /** * @remarks * The start time of the stream. * * @example * 1.473556 */ startTime?: string; /** * @remarks * The time base. * * @example * 1/90000 */ timeBase?: string; /** * @remarks * The width of the output video. * * @example * 848 */ width?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutFileMeta extends $dara.Model { /** * @remarks * The information about the audio stream. */ audioStreamInfoList?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutFileMetaAudioStreamInfoList[]; /** * @remarks * The basic file information. */ fileBasicInfo?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutFileMetaFileBasicInfo; /** * @remarks * The information about the video stream. */ videoStreamInfoList?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutFileMetaVideoStreamInfoList[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutput extends $dara.Model { /** * @remarks * The media object. * * * If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported. * * If Type is set to Media, the ID of a media asset is returned. * * @example * oss://bucket/path/to/video.mp4 */ media?: string; /** * @remarks * The path of the transcoded output stream. This parameter is required only when the output is a media asset. * * @example * oss://bucket/path/to/{MediaId}/{JobId}.mp4 */ outputUrl?: string; /** * @remarks * The type of the media object. Valid values: * * * OSS: an OSS object. * * Media: a media asset. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigCombineConfigs extends $dara.Model { /** * @remarks * The audio stream index. * * This parameter is required. * * @example * 0 或 exclude */ audioIndex?: string; /** * @remarks * The duration of the input stream. The default value is the duration of the video. * * @example * 20.0 */ duration?: number; /** * @remarks * The start time of the input stream. Default value: 0. * * @example * 0.0 */ start?: number; /** * @remarks * The video stream index. * * This parameter is required. * * @example * 0 或 exclude */ videoIndex?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigEncryption extends $dara.Model { /** * @remarks * The ciphertext of HTTP Live Streaming (HLS) encryption. * * @example * MTYi00NDU0LTg5O**** */ cipherText?: string; /** * @remarks * The endpoint of the decryption service for HLS encryption. * * @example * https://sample.com/path?CipherText=MTYi00NDU0LTg5O**** */ decryptKeyUri?: string; /** * @remarks * The encryption type. * * @example * PrivateEncryption */ encryptType?: string; /** * @remarks * The type of the key service. Valid values: KMS and Base64. * * @example * KMS */ keyServiceType?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigImageWatermarksOverwriteParamsFile extends $dara.Model { /** * @remarks * The media object. * * * If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported. * * If Type is set to Media, the ID of a media asset is returned. * * @example * oss://bucket/path/to/video.mp4 */ media?: string; /** * @remarks * The type of the media object. Valid values: * * * OSS: an OSS object. * * Media: a media asset. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigImageWatermarksOverwriteParamsTimeline extends $dara.Model { /** * @remarks * The duration of the stream. Valid values: the number of seconds or "ToEND". * * @example * ToEND */ duration?: string; /** * @remarks * The start time of the stream. * * @example * 00:00:05 */ start?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigImageWatermarksOverwriteParams extends $dara.Model { /** * @remarks * The position of the watermark on the x-axis. * * @example * 10 */ dx?: string; /** * @remarks * The position of the watermark on the y-axis. * * @example * 10 */ dy?: string; /** * @remarks * The watermark image file. */ file?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigImageWatermarksOverwriteParamsFile; /** * @remarks * The height of the output video. * * @example * 32 */ height?: string; /** * @remarks * The reference position of the watermark. Valid values: TopLeft, TopRight, BottomLeft, and BottomRight. Default value: TopLeft. * * @example * TopLeft */ referPos?: string; /** * @remarks * The timeline settings. */ timeline?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigImageWatermarksOverwriteParamsTimeline; /** * @remarks * The width of the output video. * * @example * 32 */ width?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigImageWatermarks extends $dara.Model { /** * @remarks * The parameters that are used to overwrite the corresponding parameters of the template. */ overwriteParams?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigImageWatermarksOverwriteParams; /** * @remarks * The template ID. * * @example * 9547c6ad97cb4f2aaa29683ebd18d410 */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigSubtitlesOverwriteParamsFile extends $dara.Model { /** * @remarks * The media object. * * * If Type is set to OSS, the URL of an OSS object is returned. Both the OSS and HTTP protocols are supported. * * If Type is set to Media, the ID of a media asset is returned. * * @example * oss://bucket/path/to/video.mp4 */ media?: string; /** * @remarks * The type of the media object. Valid values: * * * OSS: an OSS object. * * Media: a media asset. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigSubtitlesOverwriteParams extends $dara.Model { /** * @remarks * The file encoding format. * * @example * UTF-8 */ charEnc?: string; /** * @remarks * The subtitle file. */ file?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigSubtitlesOverwriteParamsFile; /** * @remarks * The format of the subtitle file. * * @example * vtt */ format?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigSubtitles extends $dara.Model { /** * @remarks * The parameters that are used to overwrite the corresponding parameters of the template. */ overwriteParams?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigSubtitlesOverwriteParams; /** * @remarks * The template ID. * * @example * 9547c6ad97cb4f2aaa29683ebd18d410 */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTextWatermarksOverwriteParams extends $dara.Model { /** * @remarks * Indicates whether the text size was adjusted based on the output video dimensions. Valid values: true and false. Default value: false. * * @example * false */ adaptive?: string; /** * @remarks * The border color. * * @example * #006400 */ borderColor?: string; /** * @remarks * The border width. * * @example * 0 */ borderWidth?: number; /** * @remarks * The watermark text. Base64 encoding is not required. The string must be encoded in UTF-8. * * @example * 测试水印 */ content?: string; /** * @remarks * The transparency of the watermark. * * @example * 1.0 */ fontAlpha?: string; /** * @remarks * The color of the text. * * @example * #006400 */ fontColor?: string; /** * @remarks * The font of the text. * * @example * SimSun */ fontName?: string; /** * @remarks * The size of the text. * * @example * 16 */ fontSize?: number; /** * @remarks * The distance of the watermark from the left edge. * * @example * 10 */ left?: string; /** * @remarks * The distance of the watermark from the top edge. * * @example * 10 */ top?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTextWatermarks extends $dara.Model { /** * @remarks * The parameters that are used to overwrite the corresponding parameters of the template. */ overwriteParams?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTextWatermarksOverwriteParams; /** * @remarks * The template ID. * * @example * 9547c6ad97cb4f2aaa29683ebd18d410 */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsAudioVolume extends $dara.Model { /** * @remarks * The output volume. * * @example * -6 */ integratedLoudnessTarget?: string; /** * @remarks * The volume range. * * @example * 8 */ loudnessRangeTarget?: string; /** * @remarks * The volume adjustment method. Valid values: * * @example * auto */ method?: string; /** * @remarks * The peak volume. * * @example * -1 */ truePeak?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsAudio extends $dara.Model { /** * @remarks * The audio bitrate of the output file. * * * Valid values: [8,1000]. * * Unit: Kbit/s. * * Default value: 128. * * @example * 128 */ bitrate?: string; /** * @remarks * The number of sound channels. Default value: 2. * * @example * 2 */ channels?: string; /** * @remarks * The audio codec. Valid values: AAC, MP3, VORBIS, and FLAC. Default value: AAC. * * @example * AAC */ codec?: string; /** * @remarks * The audio codec profile. If the Codec parameter is set to AAC, the valid values are aac_low, aac_he, aac_he_v2, aac_ld, and aac_eld. * * @example * aac_low */ profile?: string; /** * @remarks * Indicates whether the audio stream is deleted. * * @example * false */ remove?: string; /** * @remarks * The sampling rate. * * * Default value: 44100. Valid values: 22050, 32000, 44100, 48000, and 96000. * * Unit: Hz. * * @example * 44100 */ samplerate?: string; /** * @remarks * The volume configurations. */ volume?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsAudioVolume; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsContainer extends $dara.Model { /** * @remarks * The container format. * * @example * mp4 */ format?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsMuxConfigSegment extends $dara.Model { /** * @remarks * The segment length. * * @example * 10 */ duration?: string; /** * @remarks * The forced segmentation point in time. * * @example * 2,3 */ forceSegTime?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsMuxConfig extends $dara.Model { /** * @remarks * The segment settings. */ segment?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsMuxConfigSegment; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsTransConfig extends $dara.Model { /** * @remarks * The method that is used to adjust the resolution. This parameter takes effect only if both the Width and Height parameters are specified. You can use this parameter together with the LongShortMode parameter. * * Valid values: rescale, crop, pad, and none. * * Default value: none. * * For more information about examples, see How do I set the resolution for an output video? * * @example * none */ adjDarMethod?: string; /** * @remarks * Indicates whether the audio bitrate was checked. You can specify only one of the IsCheckAudioBitrate and IsCheckAudioBitrateFail parameters. The priority of the IsCheckAudioBitrateFail parameter is higher. Valid values: * * * true If the bitrate of the input audio is less than that of the output audio, the bitrate of the input audio is used for transcoding. * * false * * Default value: * * * If this parameter is not specified and the codec of the output audio is different from that of the input audio, the default value is false. * * If this parameter is not specified and the codec of the output audio is the same as that of the input audio, the default value is true. * * @example * true */ isCheckAudioBitrate?: string; /** * @remarks * Indicates whether the audio bitrate was checked. You can specify only one of the IsCheckAudioBitrate and IsCheckAudioBitrateFail parameters. The priority of the IsCheckAudioBitrateFail parameter is higher. Valid values: * * * true If the bitrate of the input audio is less than that of the output audio, the transcoding job fails. * * false * * Default value: false. * * @example * true */ isCheckAudioBitrateFail?: string; /** * @remarks * Indicates whether the video resolution was checked. You can specify only one of the IsCheckReso and IsCheckResoFail parameters. The priority of the IsCheckResoFail parameter is higher. Valid values: * * * true If the width or height of the input video is less than that of the output video, the resolution of the input video is used for transcoding. * * false * * Default value: false. * * @example * true */ isCheckReso?: string; /** * @remarks * Indicates whether the video resolution was checked. You can specify only one of the IsCheckReso and IsCheckResoFail parameters. The priority of the IsCheckResoFail parameter is higher. Valid values: * * * true If the width or height of the input video is less than that of the output video, the transcoding job fails. * * false * * Default value: false. * * @example * true */ isCheckResoFail?: string; /** * @remarks * Indicates whether the video bitrate was checked. You can specify only one of the IsCheckVideoBitrate and IsCheckVideoBitrateFail parameters. The priority of the IsCheckVideoBitrateFail parameter is higher. Valid values: * * * true If the bitrate of the input video is less than that of the output video, the bitrate of the input video is used for transcoding. * * false * * Default value: false. * * @example * true */ isCheckVideoBitrate?: string; /** * @remarks * Indicates whether the video bitrate was checked. You can specify only one of the IsCheckVideoBitrate and IsCheckVideoBitrateFail parameters. The priority of the IsCheckVideoBitrateFail parameter is higher. Valid values: * * * true If the bitrate of the input video is less than that of the output video, the transcoding job fails. * * false * * Default value: false. * * @example * true */ isCheckVideoBitrateFail?: string; /** * @remarks * The video transcoding mode. Valid values: * * * onepass: You can set this parameter to onepass if the Bitrate parameter is set to ABR. The encoding speed of this mode is faster than that of the twopass mode. * * twopass: You can set this parameter to twopass if the Bitrate parameter is set to VBR. The encoding speed of this mode is slower than that of the onepass mode. * * CBR: the constant bitrate mode. * * Default value: onepass. * * @example * onepass */ transMode?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsVideo extends $dara.Model { /** * @remarks * The maximum adaptive bitrate (ABR). This parameter takes effect only for Narrowband HD 1.0. * * * Valid values: [10,50000]. * * Unit: Kbit/s. * * @example * 6000 */ abrMax?: string; /** * @remarks * The average bitrate of the video. * * * Valid values: [10,50000]. * * Unit: Kbit/s. * * @example * 3000 */ bitrate?: string; /** * @remarks * The buffer size. * * * Valid values: [1000,128000]. * * Default value: 6000. * * Unit: Kbit/s. * * @example * 6000 */ bufsize?: string; /** * @remarks * The encoding format. * * @example * H.264 */ codec?: string; /** * @remarks * The constant rate factor. * * * Valid values: [0,51]. * * Default value: 23 if the encoding format is H.264, or 26 if the encoding format is H.265. * * If this parameter is specified, the value of Bitrate becomes invalid. * * @example * 23 */ crf?: string; /** * @remarks * The method of video cropping. Valid values: * * * border: automatically detects and removes black bars. * * A value in the width:height:left:top format: crops the videos based on the custom settings. * * @example * 1280:800:0:140 */ crop?: string; /** * @remarks * The frame rate. * * * Valid values: (0,60]. The value is 60 if the frame rate of the input video exceeds 60. * * Default value: the frame rate of the input video. * * @example * 25 */ fps?: string; /** * @remarks * The maximum number of frames between two keyframes. * * * Valid values: [1,1080000]. * * Default value: 250. * * @example * 250 */ gop?: string; /** * @remarks * The height of the output video. * * * Valid values: [128,4096]. * * Unit: pixels. * * Default value: the height of the input video. * * @example * 1080 */ height?: string; /** * @remarks * Indicates whether the auto-rotate screen feature is enabled. * * @example * false */ longShortMode?: string; /** * @remarks * The maximum bitrate of the output video. * * * Valid values: [10,50000]. * * Unit: Kbit/s. * * @example * 9000 */ maxrate?: string; /** * @remarks * The black bars added to the video. Format: width:height:left:top. * * @example * 1280:800:0:140 */ pad?: string; /** * @remarks * The pixel format of the video. Valid values: standard pixel formats such as yuv420p and yuvj420p. * * @example * yuv420p */ pixFmt?: string; /** * @remarks * The preset video algorithm. This parameter takes effect only if the encoding format is H.264. Valid values: veryfast, fast, medium, slow, and slower. Default value: medium. * * @example * medium */ preset?: string; /** * @remarks * The encoding profile. Valid values: baseline, main, and high. * * * baseline: applicable to mobile devices. * * main: applicable to standard-definition devices. * * high: applicable to high-definition devices. * * Default value: high. * * @example * Main */ profile?: string; /** * @remarks * Indicates whether the video was removed. * * @example * false */ remove?: string; /** * @remarks * The scan mode. Valid values: interlaced and progressive. * * @example * progressive */ scanMode?: string; /** * @remarks * The width of the output video. * * * Valid values: [128,4096]. * * Unit: pixels. * * Default value: the width of the input video. * * @example * 1920 */ width?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParams extends $dara.Model { /** * @remarks * The audio settings. */ audio?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsAudio; /** * @remarks * The encapsulation format settings. */ container?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsContainer; /** * @remarks * The encapsulation settings. */ muxConfig?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsMuxConfig; tags?: { [key: string]: string; }; /** * @remarks * The conditional transcoding configurations. */ transConfig?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsTransConfig; /** * @remarks * The video settings. */ video?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParamsVideo; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscode extends $dara.Model { /** * @remarks * The parameters that are used to overwrite the corresponding parameters of the template. */ overwriteParams?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscodeOverwriteParams; /** * @remarks * The template ID. * * @example * 9547c6ad97cb4f2aaa29683ebd18d410 */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfig extends $dara.Model { /** * @remarks * The multi-input stream merge configuration. */ combineConfigs?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigCombineConfigs[]; /** * @remarks * The encryption settings. */ encryption?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigEncryption; /** * @remarks * The watermark configuration of an image. */ imageWatermarks?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigImageWatermarks[]; /** * @remarks * Indicates whether the tags of the input stream are inherited in the output stream. This parameter does not take effect when the input is not a media asset. Default value: false. * * @example * true */ isInheritTags?: boolean; /** * @remarks * The subtitle configuration. */ subtitles?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigSubtitles[]; /** * @remarks * The configurations of the text watermark. */ textWatermarks?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTextWatermarks[]; /** * @remarks * The transcoding configuration. */ transcode?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfigTranscode; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListScheduleConfig extends $dara.Model { /** * @remarks * The ID of the ApsaraVideo Media Processing (MPS) queue to which the snapshot job was submitted. * * @example * e37ebee5d98b4781897f6086e89f9c56 */ pipelineId?: string; /** * @remarks * The priority of the job. Valid values: 1 to 10. The greater the value, the higher the priority. * * @example * 5 */ priority?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobList extends $dara.Model { /** * @remarks * The time when the job was created. * * @example * 2022-01-12T08:49:41Z */ createTime?: string; /** * @remarks * The time when the job was complete. * * @example * 2022-01-12T08:49:41Z */ finishTime?: string; /** * @remarks * The input group of the job. An input of a single file indicates a transcoding job. An input of multiple files indicates an audio and video stream merge job. */ inputGroup?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListInputGroup[]; /** * @remarks * The subjob ID. * * @example * 7d6a7e0d4db2457a8d45ff5d43e1bf0a */ jobId?: string; /** * @remarks * The index number of the subjob in the entire job. * * @example * 0 */ jobIndex?: number; /** * @remarks * The job name. * * @example * transcode-job */ name?: string; /** * @remarks * The media information about the video generated by the job. */ outFileMeta?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutFileMeta; /** * @remarks * The output file configuration. */ output?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListOutput; /** * @remarks * The main job ID. * * @example * 8b2198504dd340b7b3c9842a74fc9baa */ parentJobId?: string; /** * @remarks * The transcoding configuration. */ processConfig?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListProcessConfig; /** * @remarks * The ID of the request that submitted the job. * * @example * 31E30781-9495-5E2D-A84D-759B0A01E262 */ requestId?: string; /** * @remarks * The scheduling information about the job. */ scheduleConfig?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobListScheduleConfig; /** * @remarks * The state of the transcoding job. Valid values: Init (the job is submitted), Success (the job is successful), Fail (the job failed), and Deleted (the job is deleted). * * @example * Init */ status?: string; /** * @remarks * The job submission result. * * @example * {} */ submitResultJson?: { [key: string]: any; }; /** * @remarks * The time when the job was submitted. * * @example * 2022-01-12T08:49:41Z */ submitTime?: string; /** * @remarks * The user data. * * @example * user-data */ userData?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBodyTranscodeParentJob extends $dara.Model { /** * @remarks * The time when the job was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. * * @example * 2022-01-12T08:49:41Z */ createTime?: string; /** * @remarks * The time when the job was complete. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. * * @example * 2022-01-12T08:49:41Z */ finishTime?: string; /** * @remarks * The input group of the job. An input of a single file indicates a transcoding job. An input of multiple files indicates an audio and video stream merge job. */ inputGroup?: GetTranscodeJobResponseBodyTranscodeParentJobInputGroup[]; /** * @remarks * The number of subjobs. * * @example * 1 */ jobCount?: number; /** * @remarks * The job name. * * @example * transcode-job */ name?: string; /** * @remarks * The output group of the job. */ outputGroup?: GetTranscodeJobResponseBodyTranscodeParentJobOutputGroup[]; /** * @remarks * The main job ID. * * @example * 8b2198504dd340b7b3c9842a74fc9baa */ parentJobId?: string; /** * @remarks * The completion percentage of the job. * * @example * 0 */ percent?: number; /** * @remarks * The ID of the request that submitted the job. * * @example * 31E30781-9495-5E2D-A84D-759B0A01E262 */ requestId?: string; /** * @remarks * The scheduling configuration of the job. */ scheduleConfig?: GetTranscodeJobResponseBodyTranscodeParentJobScheduleConfig; /** * @remarks * The state of the job. * * * Success: At least one of the subjobs is successful. * * Fail: All subjobs failed. * * @example * Success */ status?: string; /** * @remarks * The time when the job was submitted. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. * * @example * 2022-01-12T08:49:41Z */ submitTime?: string; /** * @remarks * The list of subjobs. */ transcodeJobList?: GetTranscodeJobResponseBodyTranscodeParentJobTranscodeJobList[]; /** * @remarks * The source of the job. Valid values: * * * API * * WorkFlow * * Console * * @example * API */ triggerSource?: string; /** * @remarks * The user data. * * @example * user-data */ userData?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class GetTranscodeJobResponseBody extends $dara.Model { /** * @remarks * The request ID. * * @example * 9EDC30DC-0050-5459-B788-F761B2BE359B */ requestId?: string; /** * @remarks * TranscodeParentJobWithSubJobDTO */ transcodeParentJob?: GetTranscodeJobResponseBodyTranscodeParentJob; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }