import * as $dara from '@darabonba/typescript'; export declare class SubmitMediaInfoJobResponseBodyMediaInfoJobInput extends $dara.Model { /** * @remarks * The value of the media object. This value depends on the `Type` parameter. * * - If `Type` is `OSS`, this parameter is the URL of the media file. Both the `oss://` and HTTPS protocols are supported. * * - If `Type` is `Media`, this parameter is the media ID. * * @example * oss://bucket/path/to/video.mp4 */ media?: string; /** * @remarks * The type of input media. Valid values: * * - `OSS`: An Object Storage Service (OSS) file. * * - `Media`: A media ID. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitMediaInfoJobResponseBodyMediaInfoJobMediaInfoPropertyAudioStreamInfoList extends $dara.Model { /** * @remarks * The bitrate of the stream. * * @example * 0.f */ bitrate?: string; /** * @remarks * The channel layout. * * @example * stereo */ channelLayout?: string; /** * @remarks * The number of audio channels. * * @example * 2 */ channels?: string; /** * @remarks * The full name of the codec. * * @example * AAC (Advanced Audio Coding) */ codecLongName?: string; /** * @remarks * The stream\\"s codec. * * @example * aac */ codecName?: string; /** * @remarks * The codec tag. * * @example * 0x000f */ codecTag?: string; /** * @remarks * The codec tag string. * * @example * [15][0][0][0] */ codecTagString?: string; /** * @remarks * The time base of the codec. * * @example * 1/44100 */ codecTimeBase?: string; /** * @remarks * The duration of the stream, in seconds. * * @example * 403.039989 */ duration?: string; /** * @remarks * The stream index. * * @example * 1 */ index?: string; /** * @remarks * The stream\\"s language. * * @example * us */ lang?: string; /** * @remarks * The sample format. * * @example * fltp */ sampleFmt?: string; /** * @remarks * The sample rate, in Hz. * * @example * 44100 */ sampleRate?: string; /** * @remarks * The start time of the stream, in seconds. * * @example * 1.473556 */ startTime?: string; /** * @remarks * The stream\\"s 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 SubmitMediaInfoJobResponseBodyMediaInfoJobMediaInfoPropertyFileBasicInfo extends $dara.Model { /** * @remarks * The video bitrate, in Kbit/s. * * @example * 888.563 */ bitrate?: string; /** * @remarks * The duration of the video, in seconds. * * @example * 403.039999 */ duration?: string; /** * @remarks * The file name. * * @example * file.m3u8 */ fileName?: string; /** * @remarks * The file size, in bytes. * * @example * 31737 */ fileSize?: string; /** * @remarks * The file status. * * @example * Normal */ fileStatus?: string; /** * @remarks * The file type. * * @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 video, in pixels. * * @example * 478 */ height?: string; /** * @remarks * The media ID. * * @example * 2b36bd19c13f4145b094c0cad80dbce5 */ mediaId?: string; /** * @remarks * The region where the file is stored. * * @example * cn-shanghai */ region?: string; /** * @remarks * The width of the video, in pixels. * * @example * 848 */ width?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitMediaInfoJobResponseBodyMediaInfoJobMediaInfoPropertyVideoStreamInfoList extends $dara.Model { /** * @remarks * The average frame rate. * * @example * 25.0 */ avgFps?: string; /** * @remarks * The bitrate of the stream, in Kbit/s. * * @example * 888.563 */ bitRate?: string; /** * @remarks * The full name of the codec. * * @example * H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 */ codecLongName?: string; /** * @remarks * The stream\\"s codec. * * @example * h264 */ codecName?: string; /** * @remarks * The codec tag. * * @example * 0x001b */ codecTag?: string; /** * @remarks * The codec tag string. * * @example * [27][0][0][0] */ codecTagString?: string; /** * @remarks * The time base of the codec. * * @example * 1/50 */ codecTimeBase?: string; /** * @remarks * The display aspect ratio (DAR). * * @example * 16:9 */ dar?: string; /** * @remarks * The duration of the stream, in seconds. * * @example * 403.039989 */ duration?: string; /** * @remarks * The frame rate. * * @example * 25.0 */ fps?: string; /** * @remarks * Indicates whether the stream contains B-frames. Valid values: * * - `0`: The stream does not contain B-frames. * * - `1`: The stream contains one B-frame. * * - `2`: The stream contains two or more consecutive B-frames. * * @example * 2 */ hasBFrames?: string; /** * @remarks * The height of the video, in pixels. * * @example * 478 */ height?: string; /** * @remarks * The stream index. * * @example * 0 */ index?: string; /** * @remarks * The stream\\"s language. * * @example * zh */ 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 codec profile. * * @example * High */ profile?: string; /** * @remarks * The rotation angle of the video, in degrees. * * @example * 0 */ rotate?: string; /** * @remarks * The sample aspect ratio (SAR). * * @example * 478:477 */ sar?: string; /** * @remarks * The start time of the stream, in seconds. * * @example * 1.473556 */ startTime?: string; /** * @remarks * The stream\\"s time base. * * @example * 1/90000 */ timeBase?: string; /** * @remarks * The width of the video, in pixels. * * @example * 848 */ width?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitMediaInfoJobResponseBodyMediaInfoJobMediaInfoProperty extends $dara.Model { /** * @remarks * A list of audio stream details. */ audioStreamInfoList?: SubmitMediaInfoJobResponseBodyMediaInfoJobMediaInfoPropertyAudioStreamInfoList[]; /** * @remarks * Basic information about the file. */ fileBasicInfo?: SubmitMediaInfoJobResponseBodyMediaInfoJobMediaInfoPropertyFileBasicInfo; /** * @remarks * A list of video stream details. */ videoStreamInfoList?: SubmitMediaInfoJobResponseBodyMediaInfoJobMediaInfoPropertyVideoStreamInfoList[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitMediaInfoJobResponseBodyMediaInfoJobScheduleConfig extends $dara.Model { /** * @remarks * The pipeline ID. * * @example * e37ebee5d98b4781897f6086e89f9c56 */ pipelineId?: string; /** * @remarks * The job priority. Higher values indicate higher priority. Valid values range from 1 to 10. * * @example * 5 */ priority?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitMediaInfoJobResponseBodyMediaInfoJob extends $dara.Model { /** * @remarks * Indicates whether to process the job asynchronously. * * @example * true */ async?: boolean; /** * @remarks * The time when the job was completed. * * @example * 2022-01-12T08:49:41Z */ finishTime?: string; /** * @remarks * The job input. */ input?: SubmitMediaInfoJobResponseBodyMediaInfoJobInput; /** * @remarks * The job ID. * * @example * ab4802364a2e49208c99efab82dfa8e8 */ jobId?: string; /** * @remarks * Details of the media information. */ mediaInfoProperty?: SubmitMediaInfoJobResponseBodyMediaInfoJobMediaInfoProperty; /** * @remarks * The job name. * * @example * job-name */ name?: string; /** * @remarks * The request ID. * * @example * 4879B9DE-E4B6-19DC-91F5-9D5F4DCE4168 */ requestId?: string; /** * @remarks * The scheduling configuration. */ scheduleConfig?: SubmitMediaInfoJobResponseBodyMediaInfoJobScheduleConfig; /** * @remarks * The job status. Valid values: * * - `Init`: Submitted. * * - `Success`: Successful. * * - `Fail`: Failed. * * @example * Init */ status?: string; /** * @remarks * The job submission details. * * @example * {} */ submitResultJson?: { [key: string]: any; }; /** * @remarks * The time when the job was submitted. * * @example * 2022-01-12T08:49:41Z */ submitTime?: string; /** * @remarks * The source of the job. Valid values: * * - `API`: The job was submitted by calling an API operation. * * - `WorkFlow`: The job was triggered by a workflow. * * - `Console`: The job was submitted in the 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 SubmitMediaInfoJobResponseBody extends $dara.Model { /** * @remarks * The media information job. */ mediaInfoJob?: SubmitMediaInfoJobResponseBodyMediaInfoJob; /** * @remarks * The request ID. * * @example * 31E30781-9495-5E2D-A84D-759B0A01E262 */ requestId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }