VOD streaming

Prev Next

Available in Classic and VPC

If you have created a channel for VOD streaming and completed integration with the CDN platform, you can play content using the playback path URL to verify the status of your streaming service implementation. You can set the playback start and end points to apply file trimming or subtitles.

Caution
  • Do not use the same file name when replacing a source media file currently in service. If you must use the same file name, perform a CDN purge at least 10 minutes after replacing the file to remove the existing cached content.
  • If the original file name contains characters such as #, $, or ;, protocol playback via the playback path URL is not available. Be careful with the special characters in the original file name.
  • VOD Station supports audio streaming; you must use m4a files encoded by VOD Station or m4a files that meet the VOD Station Channel input specifications.
    • For VOD Station Channel input specifications, see user guide.
  • m4a recording files created in Live Station are segment files that do not support VOD Streaming, so they cannot be played.

Check playback path URL

The structure of the playback path URL used in VOD Station is as follows:

Scheme CDN domain Streaming protocol File name Manifest
https:// example.edge.naverncp.com /hls
/dash
/example/example.mp4 /index.m3u8
/manifest.mpd
URL Scheme Playback CDN domain Streaming protocol of the created channel. Name of the media file to be played, including the Object Storage bucket and folder path. Manifest file for streaming.

CDN playback path URL

If you created a CDN when creating the channel, you can play content by referring to the CDN playback path URL in the channel information. Select the channel to play in the channel list, click the [Channel information] button, and check the URL in the CDN playback path area of the information popup window.

  • URL Template: https://example.edge.naverncp.com/[protocol]/[encryptedBucketName]/[path]/[video filename]/[manifest]

Separately created CDN Playback path URL

If you did not create a CDN together with the channel but created one separately, the CDN playback path URL is not displayed in the channel information. Check the service domain of the created CDN in the CDN list, and replace the [cdnDomain] part of the URL template to play the content.

  • URL Template: https://[cdnDomain]/[protocol]/[encryptedBucketName]/[path]/[video filename]/[manifest]

Create playback path URL

If you created Global Edge when creating a channel, you can automatically generate a CDN playback path URL for each content. To create a playback path URL:

  1. Navigate to i_menu > Services > Media > VOD Station from the NAVER Cloud Platform console.
  2. Click the Channel menu, and select a channel from the channel list.
  3. In the channel's content list, click the [Create HLS URL] or [Create DASH URL] button for the content for which you want to generate an automatic URL.
    • You are directed to the created URL, and the content plays immediately.

Content playback

You can play a channel's content to check the implementation status of your VOD streaming service. Play content referring to the following example:

Single bitrate playback

  • Play vod-5100k.mp4 in the guide bucket.
    Since the file is located directly under the bucket without a separate folder, omit the [path] part of the URL template.
    URL Template: https://[cdnDomain]/[protocol]/[encryptedBucketName]/[path]/[video filename]/[manifest]
    • HLS: https://example.edge.naverncp.com/hls/guide/vod-5100k.mp4/index.m3u8
    • DASH: https://example.edge.naverncp.com/dash/guide/vod-5100k.mp4/manifest.mpd
  • Play vod-5100k.mp4 within a first-level folder in the guide bucket.
    Add the folder name of the bucket to the [path] part of the URL template.
    URL Template: https://[cdnDomain]/[protocol]/[encryptedBucketName]/[path]/[video filename]/[manifest]
    • HLS: https://example.edge.naverncp.com/hls/guide/1-depth/vod-5100k.mp4/index.m3u8
    • DASH: https://example.edge.naverncp.com/dash/guide/1-depth/vod-5100k.mp4/manifest.mpd

Adaptive bitrate playback

Media files for Adaptive bitrate playback must all be located in the same folder.

  • Play vod-5400k.mp4, vod-2400k.mp4, vod-1200k.mp4, vod-0900k.mp4, vod-0600k.mp4, and vod-0300k.mp4 in the guide bucket
    Use a comma (,) as the separator for the prefix, suffix, and each file. Add .smil after the suffix to indicate that it is an abr request.
    Media file prefix: vod-
    Media file suffix: k.mp4
    URL Template: https://[cdnDomain]/[protocol]/[encryptedBucketName]/[path]/[prefix],[video filenames],[suffix].smil/[manifest]
    • HLS: https://example.edge.naverncp.com/hls/guide/abr/vod-,5400,2400,1200,0900,0600,0300,k.mp4.smil/master.m3u8
      (For HLS requests, use "master.m3u8" instead of "index.m3u8" as the manifest.)
    • DASH: https://example.edge.naverncp.com/dash/guide/abr/vod-,5400,2400,1200,0900,0600,0300,k.mp4.smil/manifest.mpd
  • Play vod-0600k.mp4, vod-0300k.mp4, and svod-360p.mp4 in the guide bucket
    If the file names are different, leave a blank space between the prefix and suffix and add a comma (,).
    Media file prefix: None
    Media file suffix: None
    URL Template: https://[cdnDomain]/[protocol]/[encryptedBucketName]/[path]/[prefix],[video filenames],[suffix].smil/[manifest]
    • HLS: https://example.edge.naverncp.com/hls/guide/abr/,vod-0600k.mp4,vod-0300k.mp4,svod-360p.mp4,.smil/master.m3u8
    • DASH: https://example.edge.naverncp.com/dash/guide /abr/,vod-0600k.mp4,vod-0300k.mp4,svod-360p.mp4,.smil/manifest.mpd

Crop media file

You can specify playback points in a media file and use the cropping feature.

Specify playback start point

The following example demonstrates how to play a VOD by specifying the playback start point (vodStart) as 10 seconds. The time unit is milliseconds (1 second = 1000 milliseconds). The file cropping option is located after [protocol]/[encryptedBucketName].

  • Single bitrate playback
    URL Template:
    https://[cdnDomain]/[protocol]/[encryptedBucketName]/vodStart/[time]/[path]/[video filename]/[manifest]
    • HLS: https://example.edge.naverncp.com/hls/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodStart/10000/guide/1-depth/vod-5100k.mp4/index.m3u8
    • DASH: https://example.edge.naverncp.com/dash/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodStart/10000/guide/1-depth/vod-5100k.mp4/manifest.mpd
  • Adaptive bitrate playback
    URL Template:
    https://[cdnDomain]/[protocol]/[encryptedBucketName]/vodStart/[time]/[path]/[prefix],[video filenames],[suffix].smil/[manifest]
    • HLS:
      https://example.edge.naverncp.com/hls/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodStart/10000/guide/abr/vod-,5400,2400,k.mp4.smil/master.m3u8
    • DASH:
      https://example.edge.naverncp.com/dash/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodStart/10000/guide/abr/vod-,5400,2400,k.mp4.smil/manifest.mpd

Specify playback end point

The following example demonstrates how to play a file by specifying a VOD's playback end point (vodEnd) at 10 seconds. The time unit is milliseconds (1 second = 1000 milliseconds). The file cropping option is located after [protocol]/[encryptedBucketName].

  • Single bitrate playback
    URL Template:
    https://[cdnDomain]/[protocol]/[encryptedBucketName]/vodEnd/[time]/[path]/[video filename]/[manifest]
    • HLS: https://example.edge.naverncp.com/hls/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodEnd/10000/guide/1-depth/vod-5100k.mp4/index.m3u8
    • DASH:
      https://example.edge.naverncp.com/dash/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodEnd/10000/guide/1-depth/vod-5100k.mp4/manifest.mpd
  • Adaptive bitrate playback
    URL Template:
    https://[cdnDomain]/[protocol]/[encryptedBucketName]/vodEnd/[time]/[path]/[prefix],[video filenames],[suffix].smil/[manifest]
    • HLS: https://example.edge.naverncp.com/hls/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodEnd/10000/guide/abr/vod-,5400,2400,k.mp4.smil/master.m3u8
    • DASH: https://example.edge.naverncp.com/dash/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodEnd/10000/guide/abr/vod-,5400,2400,k.mp4.smil/manifest.mpd

Specify playback start and end points

The following example demonstrates how to play a VOD file between the 1-minute and 2-minute points (vodStart, vodEnd). The time unit is milliseconds (1 second = 1000 milliseconds). The file cropping option is located after [protocol]/[encryptedBucketName].

  • Single bitrate playback
    URL Template:
    https://[cdnDomain]/[protocol]/[encryptedBucketName]/vodStart/[time]/vodEnd/[time]/[path]/[video filename]/[manifest]
    • HLS:
      https://example.edge.naverncp.com/hls/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodStart/60000/vodEnd/120000/guide/1-depth/vod-5100k.mp4/index.m3u8
    • DASH:
      https://example.edge.naverncp.com/dash/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodStart/60000/vodEnd/120000/guide/1-depth/vod-5100k.mp4/manifest.mpd
  • Adaptive bitrate playback
    URL Template: https://[cdnDomain]/[protocol]/[encryptedBucketName]/vodStart/[time]/vodEnd/[time]/[path]/[prefix],[video filenames],[suffix].smil/[manifest]
    • HLS:
      https://example.edge.naverncp.com/hls/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodStart/60000/vodEnd/120000/guide/abr/vod-,5400,2400,k.mp4.smil/master.m3u8
    • DASH:
      https://example.edge.naverncp.com/dash/Bxpv-g0eEp-Gu4pCSAHOPQ__/vodStart/60000/vodEnd/120000/guide/abr/vod-,5400,2400,k.mp4.smil/manifest.mpd

Audio settings

You can apply multilingual audio to the video content you deploy. The supported audio formats are as follows:

Input codec
AAC, MP3, AC-3, E-AC-3

Specify location of video and audio files

The location of video and audio files is determined by the [path] before the comma (,) where the ABR URL begins.
https://example.edge.naverncp.com/[protocol]/[encryptedBucketName]/[path]/,[video files],lang/[lang code]/[audio filename],.smil/master.m3u8

The video and audio files should be located under /[path].

Specify location of video and audio files

The location of video and audio files is determined by the [path] before the comma (,) where the ABR URL begins.
https://example.edge.naverncp.com/[protocol]/[encryptedBucketName]/[path]/,[video files],lang/[lang code]/[audio filename],.smil/master.m3u8

The video and audio files should be located under /[path].

Audio language settings

Languages are identified by [lang code] within the URL.
https://example.edge.naverncp.com/[protocol]/[encryptedBucketName]/[path]/,[video files],lang/[lang code]/[audio filename],.smil/master.m3u8

Note

You must use 3-letter language codes based on the ISO 639-3 standard. See ISO639-3 code list.

Subtitle settings

You can apply subtitles to video content to be distributed. The following subtitle formats are supported.

Input Output
VTT, SRT, DFXP, TTML, CAP VTT

Specify location of video and subtitle files

The location of video and subtitle files is based on the [path] before the comma (,) where the ABR URL begins.
https://example.edge.naverncp.com/[protocol]/[encryptedBucketName]/[path]/,[video files],lang/[lang code]/[subtitle filename],.smil/master.m3u8

The video and subtitle files should be located under /[path].

Subtitle language settings

Languages are identified by [lang code] within the URL.
https://example.edge.naverncp.com/[protocol]/[encryptedBucketName]/[path]/,[video files],lang/[lang code]/[subtitle filename],.smil/master.m3u8

Note

You must use 3-letter language codes based on the ISO 639-3 standard. See ISO639-3 code list.

Use multilingual subtitles and audio

Single bitrate, single subtitle

URL Template: https://[cdnDomain]/[protocol]/[encryptedBucketName]/[path]/,[video file],lang/[lang code]/[subtitle filename],.smil/[manifest]

  • HLS: https://example.edge.naverncp.com/hls/guide/,vod-5100k.mp4,lang/kor/sample.vtt,.smil/master.m3u8
  • DASH: https://example.edge.naverncp.com/dash/guide/,vod-5100k.mp4,lang/kor/sample.vtt,.smil/manifest.mpd

Single bitrate, single subtitle, multi-language audio

URL Template : https://[cdnDomain]/[protocol]/[encryptedBucketName]/[path]/,[video file],lang/[lang code]/[audio filename],...lang/[lang code]/[audio filename],lang/[lang code]/[subtitle filename],.smil/[manifest]

  • HLS : https://example.edge.naverncp.com/hls/guide/,vod-5100k.mp4,lang/kor/sample-kor.m4a,lang/eng/sample-eng.m4a,lang/kor/sample.vtt,.smil/master.m3u8
  • DASH : https://example.edge.naverncp.com/dash/guide/,vod-5100k.mp4,lang/kor/sample-kor.m4a,lang/eng/sample-eng.m4a,lang/kor/sample.vtt,.smil/manifest.mpd

Single-bitrate, multi-language audio, multi-language subtitle

URL Template : https://[cdnDomain]/[protocol]/[encryptedBucketName]/[path]/,[video file],lang/[lang code]/[audio filename],...lang/[lang code]/[audio filename],lang/[lang code]/[subtitle filename],...lang/[lang code]/[subtitle filename],.smil/[manifest]

  • HLS : https://example.edge.naverncp.com/hls/guide/,vod-5100k.mp4,lang/kor/sample-kor.m4a,lang/eng/sample-eng.m4a,lang/kor/sample-k.vtt,lang/eng/sample-en.vtt,.smil/master.m3u8
  • DASH : https://example.edge.naverncp.com/dash/guide/,vod-5100k.mp4,lang/kor/sample-kor.m4a,lang/eng/sample-eng.m4a,lang/kor/sample-k.vtt,lang/eng/sample-en.vtt,.smil/manifest.mpd

Multi-bitrate, multi-language subtitles, multi-language audio

URL Template: https://[cdnDomain]/[protocol]/[encryptedBucketName]/[path]/,[video files],lang/[lang code]/[audio filename],...lang/[lang code]/[audio filename],lang/[lang code]/[subtitle filename],lang/[lang code]/[subtitle filename],...lang/[lang code]/[subtitle filename],.smil/[manifest]

  • HLS: https://example.edge.naverncp.com/hls/guide/,vod-5100k.mp4,vod-2400k.mp4,lang/kor/sample-kor.m4a,lang/eng/sample-eng.m4a,lang/kor/sample-k.vtt,lang/eng/sample-en.vtt,.smil/master.m3u8
  • DASH: https://example.edge.naverncp.com/dash/guide/,vod-5100k.mp4,vod-2400k.mp4,lang/kor/sample-kor.m4a,lang/eng/sample-eng.m4a,lang/kor/sample-k.vtt,lang/eng/sample-en.vtt,.smil/manifest.mpd

Security settings

Use the Global Edge Signed URL settings to enhance security for media files.
You can configure this by referring to the Global Edge Signed URL user guide.