SlideShare a Scribd company logo
Fall Premieres:
Media for Apple Platforms in
Late 2017
Chris Adamson • @invalidname
CocoaConf Next Door • June, 2017
Agenda
• HEVC / H.265
• Apple Music API
• Changes to Existing Frameworks
• HTTP Live Streaming
• Developments outside of Apple
HEVC / H.265
H.265
• "High Efficiency Video Codec"
• Approximately double the data compression (or
much better quality) of H.264 at same bitrate
• Expected use-case: 4K video streaming
• Work began in 2010, standard approved in 2013
• Versions 2, 3, and 4 approved since then
Standardized Mac / iOS support Major Uses
MPEG-1 1993 QuickTime 2.5 Video CD
MPEG-2 1996
QuickTime 6
(optional)
DVD, Digital TV
H.264 2003
QuickTime 7
(MacOS X 10.4),
iPhone OS 1
Blu-Ray, Digital TV,
Streaming
H.265 2013
macOS High
Sierra, iOS 11
???
Patent Encumbrances
• HEVC contains technology covered by hundreds
(thousands?) of patents
• Patent Pools: MPEG-LA, HEVC Advance, Velos
Media
• Don't even cover everything (Technicolor SA)
• Much costlier than H.264 licenses (max $25M/yr
[MPEG-LA] $40M/yr [HEVC Advance])
VP9
• Google-supported competitor to HEVC
• Royalty-free
• Only patents (🤞) are held by Google
• Supported by 75% of browsers (desktop +
mobile)
• Used extensively by YouTube for delivery to non-
Apple platforms
AV1
• Royalty-free codec from Alliance for Open Media
(AV1 means "AOMedia Video 1")
• Founding members: Amazon, Cisco, Intel,
Google, Microsoft, Mozilla, Netflix
• Successor to VP9
• Planned for release in 2017
http://www.streamingmediaglobal.com/Articles/ReadArticle.aspx?
ArticleID=118062
Then I asked where HEVC fit in. Aaron explained that Netflix currently
deployed HEVC primarily on Smart TVs, and saw the codec as integral to
its HDR strategy. For computers and mobile, however, H.264 and VP9 are
Netflix's primary codecs, and the focus of most of its current research,
which will soon include AV1.
I asked about the future of HEVC given the imminent release of AV1, and
the fact that Netflix was a founding member of the Alliance for Open
Media. Ronca laughed, explaining that Netflix was still encoding in VC1
format for some older platforms, and that HEVC is important for their UHD/
HDR experience, though he noted that the HEVC license uncertainty is an
ongoing concern.
NAB 17 Codec Roundup
Jan Ozer
HEVC will do well in broadcast, no doubt. Still not available in any
browser, iOS, and Netflix prefers VP9/AV1 over HEVC for Android. VP9
gets you most browsers and many smart TVs and OTT boxes (like Roku
4), so it's the smart money UHD codec if you don't need HDR.
http://www.streamingmediaglobal.com/Articles/
ReadArticle.aspx?ArticleID=118062
High Dynamic Range (HDR)
http://www.streamingmedia.com/Articles/Editorial/Featured-Articles/HDR-
The-More-Bits-the-Better-118643.aspx
HDR: The More Bits, the Better
Apple's new Macs feature 10-bit HEVC decoding for HDR video viewing. To understand why that's
important, it's worth a look at an old technology—film cameras
By Tim Siglin
Posted on June 6, 2017
The aperture itself determines how deep or shallow the focus will be, which
is where we get the terminology for depth of field that's now being tossed
about for consumer smartphones. The Apple iPhone 7 "depth effect" feature
makes use of two lenses to create a digital version of depth of field.
HEVC in code
• AVVideoCodecType.hevc
• AVAssetExportPresetHEVC1920x1080, …3840x2160
• AVOutputSettingsPreset.hevc1920x1080,
hevc3840x2160
• kCMVideoCodecType_HEVC
• kVTCompressionPropertyKey_ProfileLevel values:
Profile0_Level10, Profile0_Level45, Profile3_Level45
Apple Music API
AppleMusic TODOs
• Web API (MusicKit) for getting Apple Music
artists/albums/playlists, getting user's
preferences
• Working with Store Kit to actually access those
items
• Playing with Media Player
MusicKit web service
• APIs: artists, albums, songs, playlists, search,
charts, recommendations
• Must have a developer token to call
• Must get a user token to access personalized
features
https://api.music.apple.com/{version}/catalog/{storefront}/{api}?[params]
Subscription UI
• If user isn't an Apple Music subscriber, you can
show the subscription view, optionally showing
specific content
• Can embed your affil token
Playback
• MPMediaPlayer
• Can create MPMediaItem (local songs),
MPMusicPlayerStoreQueueDescriptor (Apple
Music songs),
MPMusicPlayerPlayParametersQueueDescript
or (personalized collections)
Changes to Existing
Frameworks
AVAudioEngine
• Offline Rendering
• Auto shutdown
• Completion callbacks
(.dataConsumed, .dataRendered, .dataPlayedB
ack)
• Important: AUGraph (Audio Toolbox) to be
deprecated in 2018
Also
• watchOS recording
• AUAudioUnit "preferred view configuration" API
• Support for FLAC and Opus audio codecs
• Spatial audio formats
HTTP Live Streaming
HLS updates
• HLS approved for an actual RFC
• Format war with MPEG-DASH continues
• HEVC supported (of course), fMP4 only (not .ts)
• New subtitle standard ISMC1
• Nice but esoteric features (variables in playlists)
• FairPlay is still very much a thing. 🤐
Beyond Apple Park
ReplayKit
• Screen Capture + Livestreaming API
RTMP HLS
https://github.com/shogo4405/GPUHaishinKit.swift
https://github.com/shogo4405/GPUHaishinKit.swift
Fall Premieres:
Media for Apple Platforms in
Late 2017
Chris Adamson • @invalidname
CocoaConf Next Door • June, 2017

More Related Content

What's hot

AV1: the next generation video codec
AV1: the next generation video codecAV1: the next generation video codec
AV1: the next generation video codec
Ting-Li Chou
 
Path 1 ASI to IP Gateway - Vx8000
Path 1 ASI to IP Gateway - Vx8000Path 1 ASI to IP Gateway - Vx8000
Path 1 ASI to IP Gateway - Vx8000
Path 1
 
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
Tanya Vernitsky
 
Review Paper on HEVC (x265)
Review Paper on HEVC (x265)Review Paper on HEVC (x265)
Review Paper on HEVC (x265)
dhruvkanojia
 
Helix Media Delivery Platform V13 Launch event in Cairo (Interact Egypt - 2009)
Helix Media Delivery Platform V13 Launch event in Cairo (Interact Egypt - 2009)Helix Media Delivery Platform V13 Launch event in Cairo (Interact Egypt - 2009)
Helix Media Delivery Platform V13 Launch event in Cairo (Interact Egypt - 2009)
Interact
 
TFI2014 Session II - Requirements for SDN - Brian Field
TFI2014 Session II - Requirements for SDN - Brian FieldTFI2014 Session II - Requirements for SDN - Brian Field
TFI2014 Session II - Requirements for SDN - Brian Field
Colorado Internet Society (CO ISOC)
 

What's hot (6)

AV1: the next generation video codec
AV1: the next generation video codecAV1: the next generation video codec
AV1: the next generation video codec
 
Path 1 ASI to IP Gateway - Vx8000
Path 1 ASI to IP Gateway - Vx8000Path 1 ASI to IP Gateway - Vx8000
Path 1 ASI to IP Gateway - Vx8000
 
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
 
Review Paper on HEVC (x265)
Review Paper on HEVC (x265)Review Paper on HEVC (x265)
Review Paper on HEVC (x265)
 
Helix Media Delivery Platform V13 Launch event in Cairo (Interact Egypt - 2009)
Helix Media Delivery Platform V13 Launch event in Cairo (Interact Egypt - 2009)Helix Media Delivery Platform V13 Launch event in Cairo (Interact Egypt - 2009)
Helix Media Delivery Platform V13 Launch event in Cairo (Interact Egypt - 2009)
 
TFI2014 Session II - Requirements for SDN - Brian Field
TFI2014 Session II - Requirements for SDN - Brian FieldTFI2014 Session II - Requirements for SDN - Brian Field
TFI2014 Session II - Requirements for SDN - Brian Field
 

Similar to Fall Premieres: Media Frameworks in iOS 11, macOS 10.13, and tvOS 11 (CocoaConf Next Door, June 2017)

Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
Chris Adamson
 
Flash and HTML5 Video
Flash and HTML5 VideoFlash and HTML5 Video
Flash and HTML5 Video
Yoss Cohen
 
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Chris Adamson
 
NAB Show 2018 Notes
NAB Show 2018 NotesNAB Show 2018 Notes
NAB Show 2018 Notes
Yusuke Goto
 
4 ultra hd_hevc-hertz_da_silva
4 ultra hd_hevc-hertz_da_silva4 ultra hd_hevc-hertz_da_silva
4 ultra hd_hevc-hertz_da_silva
SSPI Brasil
 
Long Live the Legacy of HBO Max- Insights You Need to Know.
Long Live the Legacy of HBO Max- Insights You Need to Know.Long Live the Legacy of HBO Max- Insights You Need to Know.
Long Live the Legacy of HBO Max- Insights You Need to Know.
Techugo
 
Rebaca's Video Delivery Expertise Overview
Rebaca's Video Delivery Expertise OverviewRebaca's Video Delivery Expertise Overview
Rebaca's Video Delivery Expertise Overview
Arshad Mahmood
 
Video Codecs and the Future by Vince Puglia
Video Codecs and the Future by Vince PugliaVideo Codecs and the Future by Vince Puglia
Video Codecs and the Future by Vince Puglia
Dialogic Inc.
 
NIC - Understand Lync Video and Interop - Level 300
NIC - Understand Lync Video and Interop - Level 300NIC - Understand Lync Video and Interop - Level 300
NIC - Understand Lync Video and Interop - Level 300
Ståle Hansen
 
Ståle Hansen - Understand how video works in lync and how video interoperabil...
Ståle Hansen - Understand how video works in lync and how video interoperabil...Ståle Hansen - Understand how video works in lync and how video interoperabil...
Ståle Hansen - Understand how video works in lync and how video interoperabil...Nordic Infrastructure Conference
 
Video "Transcoding" Solutions for Mobile TV
Video "Transcoding" Solutions for Mobile TVVideo "Transcoding" Solutions for Mobile TV
Video "Transcoding" Solutions for Mobile TVVideoguy
 
Top 5 Television Broadcasting Software's
Top 5 Television Broadcasting Software'sTop 5 Television Broadcasting Software's
Top 5 Television Broadcasting Software's
kurukshetra University
 
Helix HLS and MPEG-DASH SDK for Android
Helix HLS and MPEG-DASH SDK for Android Helix HLS and MPEG-DASH SDK for Android
Helix HLS and MPEG-DASH SDK for Android
David J Smith
 
Wwx2014 - Todd Kulick "Shipping One Million Lines of Haxe to (Over) One Milli...
Wwx2014 - Todd Kulick "Shipping One Million Lines of Haxe to (Over) One Milli...Wwx2014 - Todd Kulick "Shipping One Million Lines of Haxe to (Over) One Milli...
Wwx2014 - Todd Kulick "Shipping One Million Lines of Haxe to (Over) One Milli...
antopensource
 
Understanding the legacy of HBO Max & its powerful, scalable technical stack
Understanding the legacy of HBO Max & its powerful, scalable technical stackUnderstanding the legacy of HBO Max & its powerful, scalable technical stack
Understanding the legacy of HBO Max & its powerful, scalable technical stack
Techahead Software
 
An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)
Varun Ravi
 

Similar to Fall Premieres: Media Frameworks in iOS 11, macOS 10.13, and tvOS 11 (CocoaConf Next Door, June 2017) (20)

Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
Building A Streaming Apple TV App (CocoaConf San Jose, Nov 2016)
 
Google tv
Google tvGoogle tv
Google tv
 
Flash and HTML5 Video
Flash and HTML5 VideoFlash and HTML5 Video
Flash and HTML5 Video
 
Feature hevc
Feature hevcFeature hevc
Feature hevc
 
Feature hevc
Feature hevcFeature hevc
Feature hevc
 
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
 
NAB Show 2018 Notes
NAB Show 2018 NotesNAB Show 2018 Notes
NAB Show 2018 Notes
 
4 ultra hd_hevc-hertz_da_silva
4 ultra hd_hevc-hertz_da_silva4 ultra hd_hevc-hertz_da_silva
4 ultra hd_hevc-hertz_da_silva
 
Long Live the Legacy of HBO Max- Insights You Need to Know.
Long Live the Legacy of HBO Max- Insights You Need to Know.Long Live the Legacy of HBO Max- Insights You Need to Know.
Long Live the Legacy of HBO Max- Insights You Need to Know.
 
Rebaca's Video Delivery Expertise Overview
Rebaca's Video Delivery Expertise OverviewRebaca's Video Delivery Expertise Overview
Rebaca's Video Delivery Expertise Overview
 
Video Codecs and the Future by Vince Puglia
Video Codecs and the Future by Vince PugliaVideo Codecs and the Future by Vince Puglia
Video Codecs and the Future by Vince Puglia
 
NIC - Understand Lync Video and Interop - Level 300
NIC - Understand Lync Video and Interop - Level 300NIC - Understand Lync Video and Interop - Level 300
NIC - Understand Lync Video and Interop - Level 300
 
Ståle Hansen - Understand how video works in lync and how video interoperabil...
Ståle Hansen - Understand how video works in lync and how video interoperabil...Ståle Hansen - Understand how video works in lync and how video interoperabil...
Ståle Hansen - Understand how video works in lync and how video interoperabil...
 
Video "Transcoding" Solutions for Mobile TV
Video "Transcoding" Solutions for Mobile TVVideo "Transcoding" Solutions for Mobile TV
Video "Transcoding" Solutions for Mobile TV
 
Top 5 Television Broadcasting Software's
Top 5 Television Broadcasting Software'sTop 5 Television Broadcasting Software's
Top 5 Television Broadcasting Software's
 
Helix HLS and MPEG-DASH SDK for Android
Helix HLS and MPEG-DASH SDK for Android Helix HLS and MPEG-DASH SDK for Android
Helix HLS and MPEG-DASH SDK for Android
 
Vayavya labs overview
Vayavya labs overviewVayavya labs overview
Vayavya labs overview
 
Wwx2014 - Todd Kulick "Shipping One Million Lines of Haxe to (Over) One Milli...
Wwx2014 - Todd Kulick "Shipping One Million Lines of Haxe to (Over) One Milli...Wwx2014 - Todd Kulick "Shipping One Million Lines of Haxe to (Over) One Milli...
Wwx2014 - Todd Kulick "Shipping One Million Lines of Haxe to (Over) One Milli...
 
Understanding the legacy of HBO Max & its powerful, scalable technical stack
Understanding the legacy of HBO Max & its powerful, scalable technical stackUnderstanding the legacy of HBO Max & its powerful, scalable technical stack
Understanding the legacy of HBO Max & its powerful, scalable technical stack
 
An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)
 

More from Chris Adamson

Whatever Happened to Visual Novel Anime? (AWA/Youmacon 2018)
Whatever Happened to Visual Novel Anime? (AWA/Youmacon 2018)Whatever Happened to Visual Novel Anime? (AWA/Youmacon 2018)
Whatever Happened to Visual Novel Anime? (AWA/Youmacon 2018)
Chris Adamson
 
Whatever Happened to Visual Novel Anime? (JAFAX 2018)
Whatever Happened to Visual Novel Anime? (JAFAX 2018)Whatever Happened to Visual Novel Anime? (JAFAX 2018)
Whatever Happened to Visual Novel Anime? (JAFAX 2018)
Chris Adamson
 
Media Frameworks Versus Swift (Swift by Northwest, October 2017)
Media Frameworks Versus Swift (Swift by Northwest, October 2017)Media Frameworks Versus Swift (Swift by Northwest, October 2017)
Media Frameworks Versus Swift (Swift by Northwest, October 2017)
Chris Adamson
 
CocoaConf Chicago 2017: Media Frameworks and Swift: This Is Fine
CocoaConf Chicago 2017: Media Frameworks and Swift: This Is FineCocoaConf Chicago 2017: Media Frameworks and Swift: This Is Fine
CocoaConf Chicago 2017: Media Frameworks and Swift: This Is Fine
Chris Adamson
 
Forward Swift 2017: Media Frameworks and Swift: This Is Fine
Forward Swift 2017: Media Frameworks and Swift: This Is FineForward Swift 2017: Media Frameworks and Swift: This Is Fine
Forward Swift 2017: Media Frameworks and Swift: This Is Fine
Chris Adamson
 
Firebase: Totally Not Parse All Over Again (Unless It Is) (CocoaConf San Jose...
Firebase: Totally Not Parse All Over Again (Unless It Is) (CocoaConf San Jose...Firebase: Totally Not Parse All Over Again (Unless It Is) (CocoaConf San Jose...
Firebase: Totally Not Parse All Over Again (Unless It Is) (CocoaConf San Jose...
Chris Adamson
 
Firebase: Totally Not Parse All Over Again (Unless It Is)
Firebase: Totally Not Parse All Over Again (Unless It Is)Firebase: Totally Not Parse All Over Again (Unless It Is)
Firebase: Totally Not Parse All Over Again (Unless It Is)
Chris Adamson
 
Video Killed the Rolex Star (CocoaConf San Jose, November, 2015)
Video Killed the Rolex Star (CocoaConf San Jose, November, 2015)Video Killed the Rolex Star (CocoaConf San Jose, November, 2015)
Video Killed the Rolex Star (CocoaConf San Jose, November, 2015)
Chris Adamson
 
Video Killed the Rolex Star (CocoaConf Columbus, July 2015)
Video Killed the Rolex Star (CocoaConf Columbus, July 2015)Video Killed the Rolex Star (CocoaConf Columbus, July 2015)
Video Killed the Rolex Star (CocoaConf Columbus, July 2015)
Chris Adamson
 
Revenge of the 80s: Cut/Copy/Paste, Undo/Redo, and More Big Hits (CocoaConf C...
Revenge of the 80s: Cut/Copy/Paste, Undo/Redo, and More Big Hits (CocoaConf C...Revenge of the 80s: Cut/Copy/Paste, Undo/Redo, and More Big Hits (CocoaConf C...
Revenge of the 80s: Cut/Copy/Paste, Undo/Redo, and More Big Hits (CocoaConf C...
Chris Adamson
 
Core Image: The Most Fun API You're Not Using, CocoaConf Atlanta, December 2014
Core Image: The Most Fun API You're Not Using, CocoaConf Atlanta, December 2014Core Image: The Most Fun API You're Not Using, CocoaConf Atlanta, December 2014
Core Image: The Most Fun API You're Not Using, CocoaConf Atlanta, December 2014
Chris Adamson
 
Stupid Video Tricks, CocoaConf Seattle 2014
Stupid Video Tricks, CocoaConf Seattle 2014Stupid Video Tricks, CocoaConf Seattle 2014
Stupid Video Tricks, CocoaConf Seattle 2014
Chris Adamson
 
Stupid Video Tricks, CocoaConf Las Vegas
Stupid Video Tricks, CocoaConf Las VegasStupid Video Tricks, CocoaConf Las Vegas
Stupid Video Tricks, CocoaConf Las Vegas
Chris Adamson
 
Core Image: The Most Fun API You're Not Using (CocoaConf Columbus 2014)
Core Image: The Most Fun API You're Not Using (CocoaConf Columbus 2014)Core Image: The Most Fun API You're Not Using (CocoaConf Columbus 2014)
Core Image: The Most Fun API You're Not Using (CocoaConf Columbus 2014)
Chris Adamson
 
Stupid Video Tricks (CocoaConf DC, March 2014)
Stupid Video Tricks (CocoaConf DC, March 2014)Stupid Video Tricks (CocoaConf DC, March 2014)
Stupid Video Tricks (CocoaConf DC, March 2014)
Chris Adamson
 
Stupid Video Tricks
Stupid Video TricksStupid Video Tricks
Stupid Video Tricks
Chris Adamson
 
Introduction to the Roku SDK
Introduction to the Roku SDKIntroduction to the Roku SDK
Introduction to the Roku SDK
Chris Adamson
 
Get On The Audiobus (CocoaConf Atlanta, November 2013)
Get On The Audiobus (CocoaConf Atlanta, November 2013)Get On The Audiobus (CocoaConf Atlanta, November 2013)
Get On The Audiobus (CocoaConf Atlanta, November 2013)
Chris Adamson
 
Get On The Audiobus (CocoaConf Boston, October 2013)
Get On The Audiobus (CocoaConf Boston, October 2013)Get On The Audiobus (CocoaConf Boston, October 2013)
Get On The Audiobus (CocoaConf Boston, October 2013)
Chris Adamson
 
Glitch-Free A/V Encoding (CocoaConf Boston, October 2013)
Glitch-Free A/V Encoding (CocoaConf Boston, October 2013)Glitch-Free A/V Encoding (CocoaConf Boston, October 2013)
Glitch-Free A/V Encoding (CocoaConf Boston, October 2013)
Chris Adamson
 

More from Chris Adamson (20)

Whatever Happened to Visual Novel Anime? (AWA/Youmacon 2018)
Whatever Happened to Visual Novel Anime? (AWA/Youmacon 2018)Whatever Happened to Visual Novel Anime? (AWA/Youmacon 2018)
Whatever Happened to Visual Novel Anime? (AWA/Youmacon 2018)
 
Whatever Happened to Visual Novel Anime? (JAFAX 2018)
Whatever Happened to Visual Novel Anime? (JAFAX 2018)Whatever Happened to Visual Novel Anime? (JAFAX 2018)
Whatever Happened to Visual Novel Anime? (JAFAX 2018)
 
Media Frameworks Versus Swift (Swift by Northwest, October 2017)
Media Frameworks Versus Swift (Swift by Northwest, October 2017)Media Frameworks Versus Swift (Swift by Northwest, October 2017)
Media Frameworks Versus Swift (Swift by Northwest, October 2017)
 
CocoaConf Chicago 2017: Media Frameworks and Swift: This Is Fine
CocoaConf Chicago 2017: Media Frameworks and Swift: This Is FineCocoaConf Chicago 2017: Media Frameworks and Swift: This Is Fine
CocoaConf Chicago 2017: Media Frameworks and Swift: This Is Fine
 
Forward Swift 2017: Media Frameworks and Swift: This Is Fine
Forward Swift 2017: Media Frameworks and Swift: This Is FineForward Swift 2017: Media Frameworks and Swift: This Is Fine
Forward Swift 2017: Media Frameworks and Swift: This Is Fine
 
Firebase: Totally Not Parse All Over Again (Unless It Is) (CocoaConf San Jose...
Firebase: Totally Not Parse All Over Again (Unless It Is) (CocoaConf San Jose...Firebase: Totally Not Parse All Over Again (Unless It Is) (CocoaConf San Jose...
Firebase: Totally Not Parse All Over Again (Unless It Is) (CocoaConf San Jose...
 
Firebase: Totally Not Parse All Over Again (Unless It Is)
Firebase: Totally Not Parse All Over Again (Unless It Is)Firebase: Totally Not Parse All Over Again (Unless It Is)
Firebase: Totally Not Parse All Over Again (Unless It Is)
 
Video Killed the Rolex Star (CocoaConf San Jose, November, 2015)
Video Killed the Rolex Star (CocoaConf San Jose, November, 2015)Video Killed the Rolex Star (CocoaConf San Jose, November, 2015)
Video Killed the Rolex Star (CocoaConf San Jose, November, 2015)
 
Video Killed the Rolex Star (CocoaConf Columbus, July 2015)
Video Killed the Rolex Star (CocoaConf Columbus, July 2015)Video Killed the Rolex Star (CocoaConf Columbus, July 2015)
Video Killed the Rolex Star (CocoaConf Columbus, July 2015)
 
Revenge of the 80s: Cut/Copy/Paste, Undo/Redo, and More Big Hits (CocoaConf C...
Revenge of the 80s: Cut/Copy/Paste, Undo/Redo, and More Big Hits (CocoaConf C...Revenge of the 80s: Cut/Copy/Paste, Undo/Redo, and More Big Hits (CocoaConf C...
Revenge of the 80s: Cut/Copy/Paste, Undo/Redo, and More Big Hits (CocoaConf C...
 
Core Image: The Most Fun API You're Not Using, CocoaConf Atlanta, December 2014
Core Image: The Most Fun API You're Not Using, CocoaConf Atlanta, December 2014Core Image: The Most Fun API You're Not Using, CocoaConf Atlanta, December 2014
Core Image: The Most Fun API You're Not Using, CocoaConf Atlanta, December 2014
 
Stupid Video Tricks, CocoaConf Seattle 2014
Stupid Video Tricks, CocoaConf Seattle 2014Stupid Video Tricks, CocoaConf Seattle 2014
Stupid Video Tricks, CocoaConf Seattle 2014
 
Stupid Video Tricks, CocoaConf Las Vegas
Stupid Video Tricks, CocoaConf Las VegasStupid Video Tricks, CocoaConf Las Vegas
Stupid Video Tricks, CocoaConf Las Vegas
 
Core Image: The Most Fun API You're Not Using (CocoaConf Columbus 2014)
Core Image: The Most Fun API You're Not Using (CocoaConf Columbus 2014)Core Image: The Most Fun API You're Not Using (CocoaConf Columbus 2014)
Core Image: The Most Fun API You're Not Using (CocoaConf Columbus 2014)
 
Stupid Video Tricks (CocoaConf DC, March 2014)
Stupid Video Tricks (CocoaConf DC, March 2014)Stupid Video Tricks (CocoaConf DC, March 2014)
Stupid Video Tricks (CocoaConf DC, March 2014)
 
Stupid Video Tricks
Stupid Video TricksStupid Video Tricks
Stupid Video Tricks
 
Introduction to the Roku SDK
Introduction to the Roku SDKIntroduction to the Roku SDK
Introduction to the Roku SDK
 
Get On The Audiobus (CocoaConf Atlanta, November 2013)
Get On The Audiobus (CocoaConf Atlanta, November 2013)Get On The Audiobus (CocoaConf Atlanta, November 2013)
Get On The Audiobus (CocoaConf Atlanta, November 2013)
 
Get On The Audiobus (CocoaConf Boston, October 2013)
Get On The Audiobus (CocoaConf Boston, October 2013)Get On The Audiobus (CocoaConf Boston, October 2013)
Get On The Audiobus (CocoaConf Boston, October 2013)
 
Glitch-Free A/V Encoding (CocoaConf Boston, October 2013)
Glitch-Free A/V Encoding (CocoaConf Boston, October 2013)Glitch-Free A/V Encoding (CocoaConf Boston, October 2013)
Glitch-Free A/V Encoding (CocoaConf Boston, October 2013)
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 

Fall Premieres: Media Frameworks in iOS 11, macOS 10.13, and tvOS 11 (CocoaConf Next Door, June 2017)

  • 1. Fall Premieres: Media for Apple Platforms in Late 2017 Chris Adamson • @invalidname CocoaConf Next Door • June, 2017
  • 2. Agenda • HEVC / H.265 • Apple Music API • Changes to Existing Frameworks • HTTP Live Streaming • Developments outside of Apple
  • 4. H.265 • "High Efficiency Video Codec" • Approximately double the data compression (or much better quality) of H.264 at same bitrate • Expected use-case: 4K video streaming • Work began in 2010, standard approved in 2013 • Versions 2, 3, and 4 approved since then
  • 5.
  • 6.
  • 7.
  • 8. Standardized Mac / iOS support Major Uses MPEG-1 1993 QuickTime 2.5 Video CD MPEG-2 1996 QuickTime 6 (optional) DVD, Digital TV H.264 2003 QuickTime 7 (MacOS X 10.4), iPhone OS 1 Blu-Ray, Digital TV, Streaming H.265 2013 macOS High Sierra, iOS 11 ???
  • 9. Patent Encumbrances • HEVC contains technology covered by hundreds (thousands?) of patents • Patent Pools: MPEG-LA, HEVC Advance, Velos Media • Don't even cover everything (Technicolor SA) • Much costlier than H.264 licenses (max $25M/yr [MPEG-LA] $40M/yr [HEVC Advance])
  • 10. VP9 • Google-supported competitor to HEVC • Royalty-free • Only patents (🤞) are held by Google • Supported by 75% of browsers (desktop + mobile) • Used extensively by YouTube for delivery to non- Apple platforms
  • 11.
  • 12. AV1 • Royalty-free codec from Alliance for Open Media (AV1 means "AOMedia Video 1") • Founding members: Amazon, Cisco, Intel, Google, Microsoft, Mozilla, Netflix • Successor to VP9 • Planned for release in 2017
  • 13. http://www.streamingmediaglobal.com/Articles/ReadArticle.aspx? ArticleID=118062 Then I asked where HEVC fit in. Aaron explained that Netflix currently deployed HEVC primarily on Smart TVs, and saw the codec as integral to its HDR strategy. For computers and mobile, however, H.264 and VP9 are Netflix's primary codecs, and the focus of most of its current research, which will soon include AV1. I asked about the future of HEVC given the imminent release of AV1, and the fact that Netflix was a founding member of the Alliance for Open Media. Ronca laughed, explaining that Netflix was still encoding in VC1 format for some older platforms, and that HEVC is important for their UHD/ HDR experience, though he noted that the HEVC license uncertainty is an ongoing concern. NAB 17 Codec Roundup
  • 14. Jan Ozer HEVC will do well in broadcast, no doubt. Still not available in any browser, iOS, and Netflix prefers VP9/AV1 over HEVC for Android. VP9 gets you most browsers and many smart TVs and OTT boxes (like Roku 4), so it's the smart money UHD codec if you don't need HDR. http://www.streamingmediaglobal.com/Articles/ ReadArticle.aspx?ArticleID=118062
  • 15. High Dynamic Range (HDR) http://www.streamingmedia.com/Articles/Editorial/Featured-Articles/HDR- The-More-Bits-the-Better-118643.aspx HDR: The More Bits, the Better Apple's new Macs feature 10-bit HEVC decoding for HDR video viewing. To understand why that's important, it's worth a look at an old technology—film cameras By Tim Siglin Posted on June 6, 2017 The aperture itself determines how deep or shallow the focus will be, which is where we get the terminology for depth of field that's now being tossed about for consumer smartphones. The Apple iPhone 7 "depth effect" feature makes use of two lenses to create a digital version of depth of field.
  • 16. HEVC in code • AVVideoCodecType.hevc • AVAssetExportPresetHEVC1920x1080, …3840x2160 • AVOutputSettingsPreset.hevc1920x1080, hevc3840x2160 • kCMVideoCodecType_HEVC • kVTCompressionPropertyKey_ProfileLevel values: Profile0_Level10, Profile0_Level45, Profile3_Level45
  • 17.
  • 19. AppleMusic TODOs • Web API (MusicKit) for getting Apple Music artists/albums/playlists, getting user's preferences • Working with Store Kit to actually access those items • Playing with Media Player
  • 20. MusicKit web service • APIs: artists, albums, songs, playlists, search, charts, recommendations • Must have a developer token to call • Must get a user token to access personalized features https://api.music.apple.com/{version}/catalog/{storefront}/{api}?[params]
  • 21. Subscription UI • If user isn't an Apple Music subscriber, you can show the subscription view, optionally showing specific content • Can embed your affil token
  • 22. Playback • MPMediaPlayer • Can create MPMediaItem (local songs), MPMusicPlayerStoreQueueDescriptor (Apple Music songs), MPMusicPlayerPlayParametersQueueDescript or (personalized collections)
  • 23.
  • 25. AVAudioEngine • Offline Rendering • Auto shutdown • Completion callbacks (.dataConsumed, .dataRendered, .dataPlayedB ack) • Important: AUGraph (Audio Toolbox) to be deprecated in 2018
  • 26.
  • 27.
  • 28. Also • watchOS recording • AUAudioUnit "preferred view configuration" API • Support for FLAC and Opus audio codecs • Spatial audio formats
  • 29.
  • 31. HLS updates • HLS approved for an actual RFC • Format war with MPEG-DASH continues • HEVC supported (of course), fMP4 only (not .ts) • New subtitle standard ISMC1 • Nice but esoteric features (variables in playlists) • FairPlay is still very much a thing. 🤐
  • 32.
  • 34. ReplayKit • Screen Capture + Livestreaming API
  • 35.
  • 36.
  • 37.
  • 41. Fall Premieres: Media for Apple Platforms in Late 2017 Chris Adamson • @invalidname CocoaConf Next Door • June, 2017