Light HD

Updated at:

Provided by Intelligent Media Management (IMM), Light HD reduces video bitrate and file size while maintaining or improving perceived visual quality. Lower storage and bandwidth costs make it ideal for scenarios such as online playback and media asset storage, where both quality and cost efficiency matter.

Overview

Light HD uses intelligent encoding optimization algorithms to improve visual quality at the same bitrate, or to reduce the bitrate while maintaining the same quality, effectively lowering bandwidth and storage costs. Compared with standard transcoding, Light HD produces a lighter stream with higher quality. The lighter stream suits content delivery across multiple devices and scenarios, keeping playback smooth and in high definition.

Figure_3

The following table compares a 1920×1080 video before and after Light HD transcoding:

Metric

Standard transcoding

Light HD

File size

4,359,295 bytes

2,803,244 bytes

Bitrate

2858 kbps

1838 kbps

Quality score (VMAF)

92.938

97.417

Use cases

  • Cross-device compatibility: Transcoding converts videos into formats supported by different devices—such as smartphones, tablets, computers, and smart TVs—to ensure smooth playback.

  • Streaming playback: Streaming services transcode videos into multiple formats and bitrates so they can adapt dynamically to users' network conditions and improve the viewing experience.

  • Video compression: Transcoding reduces file size while preserving quality, which makes storage and transmission more efficient, especially when bandwidth is limited.

Billing details

The pricing for Light HD was adjusted on June 10, 2026. Plan your usage in advance to minimize the impact on your business.

Tier

Standard transcoding

(CNY/second)

Light HD transcoding

(CNY/second)

H.264-LD

0.00036

0.00108

H.264-SD

0.00050

0.0015

H.264-HD

0.00090

0.0027

H.264-2K

0.00200

0.006

H.264-4K

0.00450

0.0135

H.264-8K

0.01350

0.054

H.265-LD

0.00150

0.0045

H.265-SD

0.00250

0.0075

H.265-HD

0.00500

0.015

H.265-2K

0.00800

0.024

H.265-4K

0.01600

0.048

H.265-8K

0.04800

0.192

Supported audio and video formats

Category

Format

Audio

All common formats, including AAC, MP3, WAV, FLAC, WMA, AC3, and OPUS.

Video

All common formats, including MP4, MPEG-TS, MKV, MOV, AVI, FLV, M3U8, WebM, WMV, RM, and VOB.

Transcode videos with Light HD

Prerequisites

  • An AccessKey pair is created. For more information, see Create an AccessKey.

  • Object Storage Service (OSS) is activated and a bucket is created. For more information, see Create a bucket.

  • Intelligent Media Management (IMM) is activated. For more information, see Activate IMM.

  • A project is created in the IMM console. For more information, see Create a project.

    Note
    • You can also call an API operation to create a project. For more information, see Create a project.

    • You can call the ListProjects operation to list all projects in a specified region.

Step 1: Upload a file

Use the OSS console to upload your media file to a bucket in the same region as your IMM project.

On the upload page, File ACL defaults to Inherit Bucket. Click Scan Files to select the media file you want to upload. The maximum size of a file that you can upload is 5 GB. For files larger than 5 GB, use ossutil, the OSS SDK, or the OSS API.

Step 2: Use Light HD

Call the CreateMediaConvertTask operation to create a video transcoding job and enable VideoSlim.

For sample requests in four transcoding modes, see the following Examples section.

Examples

The following examples configure Light HD in four transcoding modes. Test each request in OpenAPI Explorer or run it with the SDK sample code. All examples use the IMM project test-project and the video file oss://test-bucket/video-demo/seaside-skyscrapers.mov.

For more information about IMM media transcoding, see Media transcoding.

Note
  • For best playback compatibility, transcode videos to MP4 or HLS format. Only H.264/H.265 codecs are supported. PixelFormat must be yuv420p, and bit depth must be 8-bit.

  • Video transcoding affects quality. Adjust Bitrate or CRF (Constant Rate Factor) to balance quality and file size. A higher bitrate or a lower CRF value means better quality and a larger file size.

  • With the same codec (H.264/H.265), Light HD can save 30% on storage and bandwidth costs compared to standard transcoding, while delivering noticeably better perceived quality.

  • Light HD does not support multi-output or video stitching.

  • To avoid overwriting output files, use variables in the Targets.URI parameter to generate dynamic filenames. For available variables, see TargetURI template.

H.264 VBR

Transcode the video with H.264 encoding without changing resolution, frame rate, or other video parameters.

image

Transcoding details

  • Video format: mov → mp4

  • Video settings: H.264 codec, 3000 kbps bitrate, VideoSlim enabled, original resolution and frame rate preserved

  • Audio settings: AAC codec, 96 kbps bitrate, stereo, 44.1 kHz sample rate

  • Output path: oss://test-bucket/video-demo/seaside-skyscrapers.mp4

  • Completion notification: Publish an event to the MNS topic “test-mns-topic”

For an SDK example, see OpenAPI Explorer. Modify the pre-filled example parameters as needed before testing.

Request parameters

{
  "ProjectName": "test-project",
  "Notification": {
    "MNS": {
      "TopicName": "test-mns-topic"
    }
  },
  "Sources": [
    {
      "URI": "oss://test-bucket/video-demo/seaside-skyscrapers.mov"
    }
  ],
  "Targets": [
    {
      "Audio": {
        "TranscodeAudio": {
          "Bitrate": 96000,
          "Channel": 2,
          "Codec": "aac",
          "SampleRate": 44100
        }
      },
      "Container": "mp4",
      "URI": "oss://test-bucket/video-demo/seaside-skyscrapers.mp4",
      "Video": {
        "TranscodeVideo": {
          "VideoSlim":1,
          "Bitrate":3000000,
          "Codec": "h264",
          "PixelFormat": "yuv420p"
        }
      }
    }
  ]
}

H.264 CRF

Transcode the video with H.264 encoding at a target resolution of 640×480 and a frame rate of 60 fps. The source frame rate is retained if it is lower than the target frame rate.

image

Transcoding details

  • Video format: mov → mp4

  • Video settings: H.264 codec, CRF 25, VideoSlim enabled

  • Audio settings: AAC codec, 96 kbps bitrate, stereo, 44.1 kHz sample rate

  • Output path: oss://test-bucket/video-demo/seaside-skyscrapers.mp4

  • Completion notification: Publish an event to the MNS topic “test-mns-topic”

For an SDK example, see OpenAPI Explorer. Modify the pre-filled example parameters as needed before testing.

Request parameters

{
  "ProjectName": "test-project",
  "Notification": {
    "MNS": {
      "TopicName": "test-mns-topic"
    }
  },
  "Sources": [
    {
      "URI": "oss://test-bucket/video-demo/seaside-skyscrapers.mov"
    }
  ],
  "Targets": [
    {
      "Audio": {
        "TranscodeAudio": {
          "Bitrate": 96000,
          "Channel": 2,
          "Codec": "aac",
          "SampleRate": 44100
        }
      },
      "Container": "mp4",
      "URI": "oss://test-bucket/video-demo/seaside-skyscrapers.mp4",
      "Video": {
        "TranscodeVideo": {
          "VideoSlim":1,
          "Codec": "h264",
          "Resolution":"640x480",
          "FrameRateOption":"adaptive",          
          "CRF":25,
          "FrameRate": 60,
          "PixelFormat": "yuv420p"
        }
      }
    }
  ]
}

H.265 VBR

Transcode the video with H.265 encoding. The source frame rate is retained if it is lower than the target frame rate.

image

Transcoding details

  • Video format: mov → mp4

  • Video settings: H.265 codec, 3000 kbps bitrate, resolution 1920×1080, frame rate 60 fps

  • Audio settings: AAC codec, 128 kbps bitrate, stereo, 44.1 kHz sample rate

  • Output path: oss://test-bucket/video-demo/seaside-skyscrapers.mp4

  • Completion notification: Publish an event to the MNS topic “test-mns-topic”

For an SDK example, see OpenAPI Explorer. Modify the pre-filled example parameters as needed before testing.

Request parameters

{
  "ProjectName": "test-project",
  "Notification": {
    "MNS": {
      "TopicName": "test-mns-topic"
    }
  },
  "Sources": [
    {
      "URI": "oss://test-bucket/video-demo/seaside-skyscrapers.mov"
    }
  ],
  "Targets": [
    {
      "Audio": {
        "TranscodeAudio": {
          "Bitrate": 128000,
          "Channel": 2,
          "Codec": "aac",
          "SampleRate": 44100
        }
      },
      "Container": "mp4",
      "URI": "oss://test-bucket/video-demo/seaside-skyscrapers.mp4",
      "Video": {
        "TranscodeVideo": {
          "VideoSlim":1,
          "Bitrate":3000000,
          "Codec": "h265",
          "FrameRateOption":"adaptive",
          "FrameRate":60,
          "PixelFormat": "yuv420p",
          "Resolution": "1920x1080"
        }
      }
    }
  ]
}

H.265 CRF

Transcode the video with H.265 encoding at 1920×1080 resolution and 30 fps into HLS segments. The source resolution is retained if it is lower than the target resolution.

image

Transcoding details

  • Video format: mov → m3u8

  • Segmentation: HLS format, segment length 10 seconds

  • Video settings: H.265 codec, CRF 25, resolution 1920×1080, frame rate 30 fps

  • Audio settings: AAC codec, 128 kbps bitrate, stereo, 44.1 kHz sample rate

  • Output paths: oss://test-bucket/video-demo/seaside-skyscrapers.m3u8, oss://test-bucket/video-demo/seaside-skyscrapers-%d.ts

  • Completion notification: Publish an event to the MNS topic “test-mns-topic”

For an SDK example, see OpenAPI Explorer. Modify the pre-filled example parameters as needed before testing.

Request parameters

{
  "ProjectName": "test-project",
  "Notification": {
    "MNS": {
      "TopicName": "test-mns-topic"
    }
  },
  "Sources": [
    {
      "URI": "oss://test-bucket/video-demo/seaside-skyscrapers.mov"
    }
  ],
  "Targets": [
    {
      "Audio": {
        "TranscodeAudio": {
          "Bitrate": 128000,
          "Channel": 2,
          "Codec": "aac",
          "SampleRate": 44100
        }
      },
      "Container": "ts",
      "Segment": {
        "Duration": 10,
        "Format": "hls"
      },
      "URI": "oss://test-bucket/video-demo/seaside-skyscrapers.{autoext}",
      "Video": {
        "TranscodeVideo": {
          "AdaptiveResolutionDirection": true,
          "Codec": "h265",
          "VideoSlim":1,
          "CRF": 25,
          "FrameRate": 30,
          "PixelFormat": "yuv420p",
          "Resolution": "1920x1080",
          "ResolutionOption": "adaptive",
          "ScaleType": "fit"
        }
      }
    }
  ]
}