百度智能云

All Product Document

          Multimedia Cloud Processing

          Getting Started

          1.Initialize MediaClient

          MediaClient is the client to interact with Media service, all the Media operations are completed through MediaClient. The user can refer to Configure MediaClient to complete client initialization.

          2.Create Pipeline (job pipeline)

          With Pipeline, users have more flexibility in managing transcoding jobs. When the user creates a Job, the user must assign a pipeline.

          When creating a pipeline, the user should assign the pipeline name, pipeline type (free or private), one-set-source multimedia resource subordinated Bucket and target multimedia resource subordinated Bucket. The input and output Bucket can be different.

          3.View Preset(Multimedia preset)

          Check the system preset multi-media presets The preset is a collection of parameters required by a video resource for transcoding computing. Users can more easily apply a preset to one or more video transcoding jobs, so that these jobs output target multimedia resources of the same specifications.

          MCT provides the users with rich and complete system presets to meet the user's common requirements for format, code rate, resolution, encryption and decryption, watermark and others in terms of target specifications, and it is the best choice for the users who do not want to know too much about the complex technological background of audios and videos.

          4.Create Job(job)

          Create a Job to execute multi-media transcoding job. Each job will transcode an original multi-media resource into the multi-media resources with target specification. Therefore, there is a one-to-one correspondence between jobs and transcoding goals, that is, if the user needs to convert an original video specification into three target specifications, such as transcoding from AVI format to FLV/MP4/HLS format, then the user needs to create three jobs.

          When creating the job, the user needs to assign the affiliated pipeline, the applied transcoding preset, the BOS Key of the original AV resources and the BOS Key of the target AV resources.

          5.Query the multimedia format information of the assigned Object

          The user can access the media information of assigned multi-media files through BOS Bucket+Key.

          Previous
          Install Media-SDK-for-Python
          Next
          MediaClient