Creating a CDN Video service

Choose Pull or Push

There are two types of CDN Video services - CDN Video (Pull) and CDN Video Push. Please refer to Overview of CDN services for more details.

Create a CDN Video (Pull) service

  1. Go to Services → New Service → Video.
  2. Fill in your desired CDN Service Domain. Fill in any valid domain name, please refer here for more details.
  3. Fill in domain name of your website (Origin Domain) as in the picture below.
    Create CDN Video
  4. Click on the Create Service button and you will redirected to a CDN integration how-to page containing all necessary information (including optional DNS instructions) required for successful integration of your CDN service into your website.
  5. That's all.

Create a CDN Video Push service

  1. You must have at least one storage. If you don't have any storage then please refer to Creating a CDN storage for more details.
  2. Go to Services → New Service → Video Push.
  3. Fill in your desired CDN Service Domain. Fill in any valid domain name, please refer here for more details.
  4. Select Origin Storage as in the picture below.
    Create CDN Video Push
  5. Click on the Create Service button and you will redirected to a CDN integration how-to page containing all necessary information (including optional DNS instructions) required for successful integration of your CDN service into your website.
  6. That's all.

Requirements on video files

Format and codecs

Please note that your videos must be in MP4 or FLV container format and encoded with H.264 video codec and AAC or MP3 audio codec.

Moov atom

The moov atom also referred as movie atom defines timescale, duration and other characteristics of the video. Please note that your videos must contain the moov atom at the beginning of the file. To view the atom tree you can use the AtomicParsley tool with --test switch.

Example - moov atom at the beginning

Atom moov @ 24 of size: 181613, ends @ 181637

Example - moov atom at the end

Atom moov @ 202493816 of size: 3171066, ends @ 205664882    

Notes

  • CDN Video service transcodes origin video file to 5 streaming protocols to provide compatibility with all devices, please refer to Supported CDN streaming protocols and formats for more details.
  • Please note that except query string variables defined by Token Authentication CDN Video service does not support query string variables, e.g. http://12345.r.cdnsun.net/12345/_definst_/mp4:12345/myvideo.mp4/playlist.m3u8?myvariable=value.
  • CDN Video service does not transcode a single origin video file to a muti bitrate CDN stream. CDN stream is published in the same bitrate as the origin video file. Read how to simultaneously publish more origin video files and create a multi bitrate CDN stream.

What next?

Read about the following topics.

Contact Us

 _    _    _    _             
| || | || | || | ||     ___   
| || | || | || | ||    /   || 
| \\_/ || | \\_/ ||   | [] || 
 \____//   \____//     \__ || 
  `---`     `---`       -|_|| 
                         `-`