HLS Authoring Update. Media #WWDC17. Eryk Vershen, AVFoundation Engineer

Similar documents
Validating HTTP Live Streams

AVContentKeySession Best Practices

SubTech 1. Short intro on different subtitle standards ISOBMFF, MPEG-DASH, DVB-DASH, DASH-IF, CMAF, HLS

Content Protection for HTTP Live Streaming

IMSC IN STREAMING MEDIA

Advances in AVFoundation Playback

How Libre can you go?

AWS Elemental MediaConvert. User Guide

Dolby Vision. Streams within the HTTP Live Streaming format

AWS Elemental MediaPackage. User Guide

Localization Best Practices on tvos

Media and Gaming Accessibility

the apex of video over ip solutions

ProMedia TM Xpress. (Xpress Preset and Package Preset) User Guide RELEASE Rev A

Transcoding SDK. Professional Transcoding Engine

Switch Release Notes. Switch

Switch Release Notes. Switch

Introduction. Input Format Support

MULTISCREEN DELIVERY SOLUTION

MULTISCREEN DELIVERY SOLUTION

What s New in Xcode App Signing

Switch Release Notes. Switch

Switch Release Notes. Switch

MODELING REAL-TIME MULTIMEDIA STREAMING USING HLS PROTOCOL

Survey of European Broadcasters on MPEG-DASH DASH Industry Forum- May 2013

Cisco Linear Stream Manager 7.5 Release Notes

Dolby Vision. Streams within the MPEG-DASH format

What s New in watchos

Vantrix Corporation VTA Developer Guide

MP2TSME v8.0 Release Notes

What s New in Audio. Media #WWDC17. Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops

Beyond TS Workshop

Request for Comments: 8216 Category: Informational. August 2017

Switch 4.1 Release Notes. Switch

IMSC. End-to-End Internet Subtitles and Captions. W3C TTML Profiles for Internet Media Subtitles and Captions

What s New in tvos #WWDC16. App Frameworks. Session 206. Hans Kim tvos Engineer

Encoding At Netflix Media Meetup, May 2014 Netflix Digital Supply Chain

Switch Release Notes. Switch

KALEIDO MULTIVIEWER Product Comparison Guide

TotalCode Studio. Professional desktop encoding for digital distribution and over the top services NEW FEATURES

KALEIDO MULTIVIEWER Product Comparison Guide

Your Apps and Evolving Network Security Standards

Online Help Browser Requirements Safari *Please note: Episode 7 does not support OS X or previous versions of Mac OS X.

Audio issues in MIR evaluation

Guidelines for Implementation: DASH-IF Interoperability Points

Wowza Transcoder. User's Guide

NOTICE. Published by CONSUMER TECHNOLOGY ASSOCIATION Technology & Standards Department All rights reserved

Chapter 28. Multimedia

VIDEO UPLOAD SPECIFICATIONS FOR EMMY AWARD SUBMISSIONS:

AWS ELEMENTAL LIVE TO AWS ELEMENTAL MEDIALIVE TO AWS ELEMENTAL MEDIAPACKAGE

KALEIDO MULTIVIEWER Product Comparison Guide

Core ML in Depth. System Frameworks #WWDC17. Krishna Sridhar, Core ML Zach Nation, Core ML

WatchKit In-Depth, Part 2

WorldNow Producer. Encoding Video

Streamlining Streaming: Interoperability via the WAVE Project. April 11, NAB Show Las Vegas, NV

Vantrix Corporation VTA QuickStart

INTRODUCTION FIGURE. 1: SUPPORT OF DRMS ACROSS DIFFERENT DEVICES.

Vision Framework. Building on Core ML. Media #WWDC17. Brett Keating, Apple Manager Frank Doepke, He who wires things together

4K HEVC Video Processing with GPU Optimization on Jetson TX1

Our Market. Overwhelming Growth of Video & It s Still Early

Comparing Adaptive HTTP Streaming Technologies

SelenioFlex Live 1.3.0

OBS STUDIO TO AWS ELEMENTAL MEDIALIVE TO AWS ELEMENTAL MEDIAPACKAGE

Full HD HEVC(H.265)/H.264 Hardware IPTV Encoder Model: MagicBox HD4 series MagicBox HD401: Single channel HDMI/AV, HDMI/VGA/YPbPr/AV, HDSDI input

DASH IN ATSC 3.0: BRIDGING THE GAP BETWEEN OTT AND BROADCAST

MediaKind Encoding On-Demand

Video Developer Report 2017

Business Proposal HLS Gateway for Android

A Joint SLC/RealEyes Production.

Debunking HTML5 Video Myths: A Guide for Video Publishers. by Robert Reinhardt

Introducing Password AutoFill for Apps

Release Notes. This is BATON Standard version 7.2 for installation on Windows 64-bit platform.

HDMI/HD-SDI HEVC/H.264 IPTV

MIUN HLS Player - Proof of concept application for HTTP Live Streaming in Android 2.3 (October 2011)

HDMI/HD-SDI/VGA H.264/H.256 HEVC

Streaming Technologies Delivering Multimedia into the Future. May 2014

Switch 2.0 Release Notes. Switch. System Requirements

My Media Hub Quick Start Guide for USB Devices. Sharing media content with the Fetch Box from a USB device

Introducing Metal 2. Graphics and Games #WWDC17. Michal Valient, GPU Software Engineer Richard Schreyer, GPU Software Engineer

Multimedia Standards

DigiVu II Professional Quality Encoder:

Creating Great App Previews

Multiple Encoding interface optional

TL-2459 ENCODER MODULATOR. 1U Rack Dual Channels in portable Single Channel In. Multiple Encoding interface optional

AVP v22

Orchestrate Video MMD Live Guide

Localizing with Xcode 9

Video Technology Crossroads What s next?

Vantage. Software Version 5.0 Release Notes

AD SPECIFICATIONS Display Ad Guidelines

EN-100. New Products. Multi-Stream Multi-CODEC Encoder

Introducing MusicKit. Media #WWDC17. Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music

Legaltek Monarch HDX Technical Specifications

MKT DVB-S2+ C + OTT + KARAOKE. Android 4.4. System Source. Main Features. : Octa-Core Mali-450

SelenioFlex Live 1.4.0

NDS3542 Encoder Modulator

CAMBRIA FTC CAMBRIA FTC: TECHNICAL SPECIFICATIONS. Version.9 12/6/2017. Page 1

HTML5 Video. Streaming Parameters. Example (HTML) Example (JavaScript) Streaming Video ON THIS PAGE

Teleste Optimo High-density professional transcoder

All-in-one content repurposing and delivery. Actus Digital

Transcription:

Session Media #WWDC17 HLS Authoring Update 515 Eryk Vershen, AVFoundation Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

HLS Authoring Specification for Apple Devices

https://developer.apple.com/streaming/ HLS Authoring Specification for Apple Devices

https://developer.apple.com/streaming/ HLS Authoring Specification for Apple Devices Apple s advice for authoring HLS (HTTP Live Streaming)

HEVC Support

HEVC Support HEVC codec limits no more than Main 10 Profile Level 5.0 High Tier

HEVC Support HEVC codec limits no more than Main 10 Profile Level 5.0 High Tier HEVC bit rate recommendations HEVC rates are still preliminary Remember bit rate tables are general guidelines

Best Practices for Mixed H.264/HEVC Content

Best Practices for Mixed H.264/HEVC Content Use the CODECS attribute!

Best Practices for Mixed H.264/HEVC Content Use the CODECS attribute! Always include some H.264

Best Practices for Mixed H.264/HEVC Content Use the CODECS attribute! Always include some H.264 The player will switch between H.264 and HEVC

Best Practices for Mixed H.264/HEVC Content Use the CODECS attribute! Always include some H.264 The player will switch between H.264 and HEVC Use transport streams for H.264 and fragmented MP4 for HEVC

Best Practices for Mixed H.264/HEVC Content Use the CODECS attribute! Always include some H.264 The player will switch between H.264 and HEVC Use transport streams for H.264 and fragmented MP4 for HEVC The same rules apply to I-frame-only variants

New Subtitle Format In addition to WebVTT TTML Profiles for Internet Media Subtitles and Captions 1.0 (IMSC1)

New Subtitle Format In addition to WebVTT TTML Profiles for Internet Media Subtitles and Captions 1.0 (IMSC1) Advances in HTTP Live Streaming Grand Ballroom B Tuesday 5:10PM

Best Practices for Mixed IMSC1/WebVTT Content

Best Practices for Mixed IMSC1/WebVTT Content IMSC1 must be in fmp4

Best Practices for Mixed IMSC1/WebVTT Content IMSC1 must be in fmp4 WebVTT is in text files

Best Practices for Mixed IMSC1/WebVTT Content IMSC1 must be in fmp4 WebVTT is in text files Subtitle formats are independent of video format

Best Practices for Mixed IMSC1/WebVTT Content IMSC1 must be in fmp4 WebVTT is in text files Subtitle formats are independent of video format Using the CODECS attribute For IMSC1 content, use the value "stpp.ttml.im1t" For WebVTT content, don't include a value

HLS Tools

HLS Tools Available on developer site

HLS Tools Available on developer site Tools for Segmenting and encrypting content Validating content Other tools

HLS Tools Available on developer site Tools for Segmenting and encrypting content Validating content Other tools You should use third-party tools to validate your video and audio encoding

Tools Changes

Tools Changes Ability to validate local files (not just HTTP)!

Tools Changes Ability to validate local files (not just HTTP)! These paths are all equivalent mediastreamvalidator test/master.m3u8 mediastreamvalidator /Users/whomever/somepath/test/master.m3u8 mediastreamvalidator file:///users/whomever/somepath/test/master.m3u8

Tools Changes

Tools Changes Support for HEVC

Tools Changes Support for HEVC General improvements More checks Better handling of errors Consistent ordering of variants and renditions

New Options on Tools

New Options on Tools MediaStreamValidator -description

New Options on Tools MediaStreamValidator -description HLSReport --columns replaces --id and --pl

New Options on Tools MediaStreamValidator -description HLSReport --columns replaces --id and --pl MediaFileSegmenter -hdcp-level

Sample Report HLS Validation Report Advanced Stream (fmp4) Stream type: VOD https://tungsten.aaplimg.com/vod/bipbop_adv_fmp4_example/master.m3u8 Variant Overview Audio ID # Max Rate % Diff. Avg Rate % Diff Resolution IDR Int. Framerate Codec Profile Level Encryption % Proc. aud1 1 541 0.0% 531 0.0% 480 x 270 2.000 30.000 AVC High 2.1-100% 2 902 0.0% 896 0.0% 640 x 360 2.000 30.000 AVC High 3.0-100% 3 1269 0.0% 1265 0.0% 768 x 432 2.000 30.000 AVC High 3.0-100% 4 2177 0.0% 2168 0.0% 960 x 540 2.000 60.000 AVC High 3.2-100% 5 3217 0.0% 3169 0.0% 1280 x 720 2.000 60.000 AVC High 3.2-100% 6 4944 0.0% 4671 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 7 6313 0.0% 6170 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 8 8001 0.0% 7968 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% aud2 9 764 0.0% 753 0.0% 480 x 270 2.000 30.000 AVC High 2.1-100% 10 1125 0.0% 1118 0.0% 640 x 360 2.000 30.000 AVC High 3.0-100% 11 1492 0.0% 1488 0.0% 768 x 432 2.000 30.000 AVC High 3.0-100% 12 2400 0.0% 2391 0.0% 960 x 540 2.000 60.000 AVC High 3.2-100%

Sample Report HLS Validation Report Advanced Stream (fmp4) Stream type: VOD https://tungsten.aaplimg.com/vod/bipbop_adv_fmp4_example/master.m3u8 Variant Overview Audio ID # Max Rate % Diff. Avg Rate % Diff Resolution IDR Int. Framerate Codec Profile Level Encryption % Proc. aud1 1 541 0.0% 531 0.0% 480 x 270 2.000 30.000 AVC High 2.1-100% 2 902 0.0% 896 0.0% 640 x 360 2.000 30.000 AVC High 3.0-100% 3 1269 0.0% 1265 0.0% 768 x 432 2.000 30.000 AVC High 3.0-100% 4 2177 0.0% 2168 0.0% 960 x 540 2.000 60.000 AVC High 3.2-100% 5 3217 0.0% 3169 0.0% 1280 x 720 2.000 60.000 AVC High 3.2-100% 6 4944 0.0% 4671 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 7 6313 0.0% 6170 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 8 8001 0.0% 7968 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% aud2 9 764 0.0% 753 0.0% 480 x 270 2.000 30.000 AVC High 2.1-100% 10 1125 0.0% 1118 0.0% 640 x 360 2.000 30.000 AVC High 3.0-100% 11 1492 0.0% 1488 0.0% 768 x 432 2.000 30.000 AVC High 3.0-100% 12 2400 0.0% 2391 0.0% 960 x 540 2.000 60.000 AVC High 3.2-100%

Sample Report HLS Validation Report Advanced Stream (fmp4) Stream type: VOD https://tungsten.aaplimg.com/vod/bipbop_adv_fmp4_example/master.m3u8 Variant Overview Audio ID # Max Rate % Diff. Avg Rate % Diff Resolution IDR Int. Framerate Codec Profile Level Encryption % Proc. aud1 1 541 0.0% 531 0.0% 480 x 270 2.000 30.000 AVC High 2.1-100% 2 902 0.0% 896 0.0% 640 x 360 2.000 30.000 AVC High 3.0-100% 3 1269 0.0% 1265 0.0% 768 x 432 2.000 30.000 AVC High 3.0-100% 4 2177 0.0% 2168 0.0% 960 x 540 2.000 60.000 AVC High 3.2-100% 5 3217 0.0% 3169 0.0% 1280 x 720 2.000 60.000 AVC High 3.2-100% 6 4944 0.0% 4671 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 7 6313 0.0% 6170 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 8 8001 0.0% 7968 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% aud2 9 764 0.0% 753 0.0% 480 x 270 2.000 30.000 AVC High 2.1-100% 10 1125 0.0% 1118 0.0% 640 x 360 2.000 30.000 AVC High 3.0-100% 11 1492 0.0% 1488 0.0% 768 x 432 2.000 30.000 AVC High 3.0-100% 12 2400 0.0% 2391 0.0% 960 x 540 2.000 60.000 AVC High 3.2-100%

18 933 0.0% 926 0.0% 640 x 360 2.000 30.000 AVC High 3.0-100% 19 1300 0.0% 1296 0.0% 768 x 432 2.000 30.000 AVC High 3.0-100% Sample Report 20 2208 0.0% 2199 0.0% 960 x 540 2.000 60.000 AVC High 3.2-100% 21 3247 0.0% 3199 0.0% 1280 x 720 2.000 60.000 AVC High 3.2-100% 22 4974 0.0% 4701 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 23 6343 0.0% 6200 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 24 8032 0.0% 7999 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% Average duration processed: 0:10:00 Rendition Overview Group ID # Max Rate Avg Rate Type Name InstreamID Audio Channels Sample Rate Lang. Encryption % Proc. aud1 25 162 162 Audio English - AAC-LC Stereo 48000 en - 100% aud2 26 384 384 Audio English - AC-3 5.1 48000 en - 100% aud3 27 192 192 Audio English - EC-3 5.1 48000 en - 100% cc1 28 - - CC English CC1 - - - en - N/A sub1 29 - - Subtitle English - - - - en - N/A Average duration processed: 0:10:00 I-Frame Variant Overview Video ID # Max Rate % Diff. Avg Rate % Diff Scaled Avg Mult. Resolution IDR Int. IDR Std Dev. Codec Profile Level Encryption 30 40 0.0% 40 0.0% 635 16x 480 x 270 2.000 0.000 AVC High 2.1-31 65 0.0% 64 0.0% 1016 16x 640 x 360 2.000 0.000 AVC High 3.0 -

18 933 0.0% 926 0.0% 640 x 360 2.000 30.000 AVC High 3.0-100% 19 1300 0.0% 1296 0.0% 768 x 432 2.000 30.000 AVC High 3.0-100% Sample Report 20 2208 0.0% 2199 0.0% 960 x 540 2.000 60.000 AVC High 3.2-100% 21 3247 0.0% 3199 0.0% 1280 x 720 2.000 60.000 AVC High 3.2-100% 22 4974 0.0% 4701 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 23 6343 0.0% 6200 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% 24 8032 0.0% 7999 0.0% 1920 x 1080 2.000 60.000 AVC High 4.2-100% Average duration processed: 0:10:00 Rendition Overview Group ID # Max Rate Avg Rate Type Name InstreamID Audio Channels Sample Rate Lang. Encryption % Proc. aud1 25 162 162 Audio English - AAC-LC Stereo 48000 en - 100% aud2 26 384 384 Audio English - AC-3 5.1 48000 en - 100% aud3 27 192 192 Audio English - EC-3 5.1 48000 en - 100% cc1 28 - - CC English CC1 - - - en - N/A sub1 29 - - Subtitle English - - - - en - N/A Average duration processed: 0:10:00 I-Frame Variant Overview Video ID # Max Rate % Diff. Avg Rate % Diff Scaled Avg Mult. Resolution IDR Int. IDR Std Dev. Codec Profile Level Encryption 30 40 0.0% 40 0.0% 635 16x 480 x 270 2.000 0.000 AVC High 2.1-31 65 0.0% 64 0.0% 1016 16x 640 x 360 2.000 0.000 AVC High 3.0 -

Summary Everything is at https://developer.apple.com/streaming/ Sample streams (including a new HEVC sample) A link to the tools download Links to past videos Information about FairPlay Streaming Plus all the documents

More Information https://developer.apple.com/wwdc17/515

Related Sessions Advances in HTTP Live Streaming Grand Ballroom B Tuesday 5:10PM Error Handling Best Practices for HTTP Live Streaming Video -