How to Encode Video to the MPEG-DASH Format

We’ve recently added support for the latest adaptive bitrate standard, MPEG-DASH. There are several key benefits of this new standard. All of the major online video companies took part in its development, so the new protocol will eliminate technical issues in delivery to all devices. In essence, it aims to combine all of the existing adaptive standards into one, making streaming support seamless on all devices. In turn it aims to reduce technical challenges and transcoding expenses. Content publishers can generate a single set of outputs that should be compatible with every device from mobile to OTT, desktop or HTML5; in addition, consumers will not have to worry about whether their devices will be able to play the content they want to watch.

We offer workflow integration support through both our UI and API. A screen shot of the UI is below. Simply select Custom as your output format, and you will see advanced_dash as an option under the Encoding Presets drop down menu.

MPEG-DASH

Implementation in the API is very simple. Let’s take a look at sample code.

<format>

   <!-- Format fields -->

   <output>mpeg_dash</output>

   <bitrates>[CommaSeparatedList]</bitrates>

   <sizes>[CommaSeparatedList]</sizes>

   <pack_files>[yes|no]</pack_files>

   <!-- Destination fields -->

   <destination>[DestFile]</destination> <!-- REQUIRED -->

</format>

 

Simply specify MPEG-DASH as your output format. Then, specify bitrates. Multiple bitrates can be specified, separated by commas. The default values are 270k, 570k, 1000k, 1200k, 1400k. Next specify a size, in pixels. The default values are 320×180,512×288,768×432,1024×576,1152×648. If you want to encode just a segment of your source, use the segment_duration parameter, defined in seconds. Finally if you want your files compressed in a single tarball, enable the pack files parameter. That’s it!

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

edchelp