MPS converts audio/video files to different bitrates and resolutions for smooth playback on various devices with different bandwidth options. It has the following features:
Transcoding is an offline task that changes the codec, resolution, bitrate, etc., of an audio/video stream to suit different playback devices and network conditions. The benefits of transcoding include:
Benefit | Description |
---|---|
Increased compatibility | A source video can be transcoded to formats (e.g., MP4) compatible with more devices for smooth playback. |
Increased bandwidth adaptability | A source video can be transcoded for playback at different clarity levels such as smooth, SD, HD, and FHD. End users can select the bitrate that best suits their network conditions. |
Improved playback efficiency | The moov atom can be moved from the end of an MP4 file to the beginning, so that a video can be played before it is downloaded completely. |
Reduced bandwidth consumption | The use of more advanced codec technology (e.g., H.265) makes it possible to reduce the bitrate of a video substantially while maintaining its quality, which helps reduce bandwidth consumption. |
Category | Parameter | Description |
---|---|---|
Input formats | Container format | 3GP, AVI, FLV, MP4, M3U8, MPG, ASF, WMV, MKV, MOV, TS, WebM, MXF |
Video codec | AV1, AVS2, H.264/AVC, H.263, H.263+, H.265, MPEG-1, MPEG-2, MPEG-4, MJPEG, VP8, VP9, RealVideo, Windows Media Video, QuickTime | |
Audio codec | AAC, ADPCM, AMR, DSD, MP1, MP2, MP3, PCM, RealAudio, Windows Media Audio, Vorbis, AC-3 | |
Output formats | Container format | Video: FLV, MP4, HLS (M3U8 + TS), MXF |
Audio: MP3, MP4, Ogg, FLAC, M4A | ||
Image: GIF, WebP | ||
Video codec | H.264/AVC, H.265/HEVC, AV1 | |
Delete audio streams | MP3, AAC, FLAC, MP2, Vorbis | |
Packaging | Delete video streams | If this is enabled, the transcoding result will contain only audio streams. |
Delete audio streams | If this is enabled, the transcoding result will contain only video streams. |
Watermarking is an offline task that adds an image to transcoded video or screenshots at the specified location. MPS supports the following types of watermarks:
You can add multiple watermarks of different sizes to different locations of a video or screenshot.
The parameters you can specify for watermarking include watermark type, aspect ratio, position, etc. For details, see the table below.
Parameter | Description |
---|---|
Type (Type ) |
Static or animated watermark |
Position (Position ) |
Relative position of a watermark in video |
Size (ImageSize ) |
Size of a watermark |
Content (ImageContent ) |
Binary data of a watermark |
Screenshot taking is an offline task that takes screenshots of a video at specified time. MPS supports the following types of screenshots:
The parameters you can specify for screenshot taking include screenshot format, aspect ratio, etc. For details, see the table below.
Parameter | Description |
---|---|
Format (Format ) |
Format of screenshots (only JPG is supported currently) |
Width (Width ) |
Screenshot width (px). Value range: 128-4096 |
Height (Height ) |
Screenshot height (px). Value range: 128-4096 |
Fill mode (FillType ) |
Fill mode specifies how source video images are processed when their aspect ratio does not match the specified aspect ratio of screenshots. The following fill modes are supported: |
Parameter | Description |
---|---|
Format (Format ) |
Format of screenshots (only JPG is supported currently) |
Width (Width ) |
Screenshot width (px). Value range: 128-4096 |
Height (Height ) |
Screenshot height (px). Value range: 128-4,096 |
Interval measurement (SampleType ) |
Sampling intervals can be measured in two ways: Interval is set to, for example, 5 (%), 20 screenshots will be generated for a video. Interval is set to, for example, 10 (sec), the number of screenshots generated will depend on the video length. |
Interval (Interval ) |
Sampling interval. |
Fill mode (FillType ) |
Fill mode specifies how source video images are processed when their aspect ratio does not match the specified aspect ratio of screenshots. The following fill modes are supported: |
Parameter | Description |
---|---|
Format (Format ) |
Format of image sprites (only JPG is supported currently) |
Width (Width ) |
Width of the small images in a sprite |
Height (Height ) |
Height of the small images in a sprite |
Rows (Rows ) |
Number of image rows in a sprite |
Columns (Columns ) |
Number of image columns in a sprite |
Interval measurement (SampleType ) |
How sampling intervals are measured. Currently, only sampling by time is supported. |
Interval (Interval ) |
Time interval for image sampling |
Note:
- The result of
Width
xColumns
(i.e., sprite width) should be within the range of 128-4096.- The result of
Height
xRows
(i.e., sprite height) should be in the range of 128-4096.
Animated image generation is an offline task that converts a video segment to an animated image (e.g., GIF or WebP). An animated image is a seamless cycle of continuous frames, whose size is smaller than a video segment.
The parameters you can set for animated image generation include format, width, height, frame rate, etc. For details, see the table below.
Parameter | Description |
---|---|
Format (Format ) |
Format of animated images (only GIF and WebP are supported currently) |
Width (Width ) |
Animated image width (px). Value range: 128-4096 |
Height | Animated image height (px). Value range: 128-4096 |
Frame rate (FPS ) |
Value range (fps): 1-60 |
Was this page helpful?