Functions
MPC helps you transcode audio and video files stored in OBS buckets so that the output files can be played on a broad range of devices. It also supports snapshot capturing and watermarking.
Media Transcoding
Media transcoding is to convert an audio or video file into one or more output formats. This involves changing the parameters of the media file such as the format, codec, bitrate, and frame rate.
Parameter |
Description |
---|---|
Input format |
|
Output format |
|
Audio extraction |
Extract audio from a video. |
Mute video |
Remove sound from a video. |
Subtitling |
Add subtitles to a video. |
Watermarking |
During transcoding, add static image/text watermarks to videos for copyright protection. |
The transcoded audio and video specifications can be customized based on your needs. For details, see Table 1, Table 2, Table 3, and Table 4.
Parameter |
Description |
---|---|
Video Codec |
The value can be H.264 or H.265. The default value is H.264. |
Resolution (video width and video height) |
If the video width and height are both set to 0, the transcoded video is produced based on the original resolution. If the video bandwidth or height is set to 0, the corresponding value is adjusted based on the original size. |
Bitrate |
Video bitrate. The value can be 0 or ranges from 40 to 30,000. The unit is kbit/s. If this parameter is set to 0, an output file is generated at the adaptive bitrate. |
Maximum I-Frame Interval |
Maximum interval between I frames in a key frame. The value ranges from 2 to 5. |
Maximum Consecutive B-Frames |
Maximum number of consecutive B-frames in a key frame. The value ranges from 0 to 7. |
Profile |
Encoding profile.
|
FPS |
Video frame rate. The value is 0 or ranges from 5 to 30. If this parameter is set to 0, an output file is generated at the original frame rate. |
Maximum Reference Frames |
Maximum number of reference frames.
|
Quality |
Video encoding level. There are three levels. A larger value indicates higher encoding quality and longer transcoding time. |
Black Bar Removal |
Automatically detect and remove black bars from your video. |
Parameter |
Description |
---|---|
Video rotation angle |
Rotate a video clockwise. Videos can be simply rotated by 90 degrees, 180 degrees, and 270 degrees. |
Adaptive resolution |
The following options are available:
|
Parameter |
Description |
---|---|
Audio Codec |
The available options are AAC, HE_AAC1, HE_AAC2, and MP3. The default value is AAC. |
Sampling Rate |
The value can be AUTO, 22050 Hz, 32000 Hz, 44100 Hz, 48000 Hz, or 96000 Hz. The default value is AUTO. |
Bitrate |
Audio bitrate. The value can be 0 or ranges from 8 to 1000. The unit is kbit/s. |
Audio Channel |
Number of audio channels. The value can be 1 or 2. |
Transcoding Templates
MPC provides plenty of built-in transcoding templates to meet your diverse requirements. You can also create a transcoding template to target your specific scenario.
- Preset templates: You can directly use these templates without any other configuration. There are audio templates, audiovisual templates, and low bitrate HD templates, covering all output formats, encoding formats, and common resolutions and bitrates. Based on the number of output files, preset templates are classified into the following types:
- One-in one-out transcoding template: Only one file is output.
- One-in multiple-out transcoding template: A maximum of nine files can be output.
- Custom templates: Set the video and audio parameters based on your needs. A custom template can be one-in one-out or one-in multiple-out. A maximum of six output specifications can be configured for a one-in multiple-out template.
Low Bitrate HD
MPC uses perceptual coding to analyze each scenario, action, content, and texture in a video, achieving lower bitrate and bandwidth usage at a given video quality.
Video Watermark
- You can add both image and text watermarks to videos.
- The input format can be PNG, JPG, or JPEG.
- A maximum of two static images can be overlaid on an output video per frame.
- A maximum of ten static images can be overlaid on each output video.
- The resolution of a watermark is between 8 x 8 and 4096 x 4096. The size of the watermark cannot exceed 10 MB.
Snapshot Capturing
You can capture a snapshot from a video and save it as a JPG file during transcoding or at any other time. The following two capturing methods are supported:
- By interval: Take snapshots at regular intervals. The default interval is 12s.
- At fixed time: Take snapshots at specified time points.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot