Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is...

15
Protected Interoperable File Format (PIFF) The “Athens” Project Microsoft Corporation September 23, 2009 J. Simmons, M. Jeffrey TM4299 rev1

Transcript of Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is...

Page 1: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Protected Interoperable File Format (PIFF)

The “Athens” Project

Microsoft Corporation

September 23, 2009

J. Simmons, M. Jeffrey

TM4299 rev1

Page 2: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Agenda

• A vision of the future

• The digital rights management dilemma

• Protected interoperable file format (PIFF)

• PIFF supported scenarios

• PIFF feature summary

• Protection System Specific Header box

• Track Encryption box

• Sample Encryption box

• References

23/9/2009Microsoft Corporation2

Page 3: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

A Vision of the FuturePortable, protected online video content

• Will be accessible on all endpoints

• Will enable all key consumption scenarios

23/9/2009Microsoft Corporation3

Ubiquitous content protection• Will meet requirements of content providers• Will support interoperability between manufacturers• Will support extensibility for new manufacturers

Supply chain optimised • The key to online video market expansion• Will prevent a hodgepodge of walled gardens

Page 4: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Hi Def.

PlayReady

Marlin

OMA DRM

Other

Std Def.

PlayReady

Marlin

OMA DRM

Other

Low Def.

PlayReady

Marlin

OMA DRM

Other

Mobile

PlayReady

Marlin

OMA DRM

Other

Cost of Encoding a TV Episode

23/9/2009Microsoft Corporation4

Hi Hi

● OMA DRM

● Other

● PlayReady

● Marlin

● OMA DRM

● Other

● PlayReady

● Marlin

● OMA DRM

● Other

● PlayReady

Std Std Low Low

● OMA DRM

● Other

● PlayReady

● Marlin

● OMA DRM

● Other

● PlayReady

● Marlin

● OMA DRM

● Other

● PlayReady

MobileMobile

● OMA DRM

● Other

● PlayReady

● Marlin

● OMA DRM

● Other

● PlayReady

● Marlin

● OMA DRM

● Other

● PlayReady

Page 5: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Container &

Encryption

DRM Interoperability is achieved by

standardising the container & encryption.

The Digital Rights Management DilemmaImplementations are always proprietary, so how to make interoperable?

23/9/2009 Microsoft Corporation 5

Container &

Encryption

Rights Expressi

on Languag

e

Licensing Regime

Key Mgt System

Ease of StandardisationDifficult Easy

Nearly standardised today. Easy.

Always present & proprietary.

Tied to compliance rules

of licensing regime

Tied to authentication of licensing regime.

Page 6: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Protected Interoperable File Format (PIFF)

23/9/2009 Microsoft Corporation 6

• Standardisation of the encryption algorithm (AES-128, CTR or CBC mode)

• Generalisation of the ISO Base Media File Format “Scheme Signaling” mechanism to cover multiple DRM systems

• Support for all key use scenarios to address the supply chain optimisation problem.

Page 7: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Hi Def.PIFF

Std Def.PIFF

Low Def.PIFF

MobilePIFF

Optimising the Supply Chain

23/9/2009Microsoft Corporation7

Hi

Hi

● PIFF

Std

Std

● PIFF

Low

Low

● PIFF

Mobile

Mobile

• Also, the same format can be used for both streaming and download (e.g. rental or download to own)

• Studios can afford to encode more titles• Ecosystem becomes richer, more interoperable,

and much more convenient for consumers

Page 8: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

PIFF Supported Scenarios

23/9/2009 Microsoft Corporation 8

• Adaptive bit rate streaming

• Second session or digital copy

• Internet download

• Progressive download and playback

• Side loading onto portable devices

• DRM interoperability and extensibility

• Late binding/muxing of alternate tracks

• Client targeted advertising

Page 9: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

PIFF Feature Summary

23/9/2009 Microsoft Corporation 9

• Seamless adaptive bit rate streaming using fragmented form of ISO Base Media File Format

• Multiple DRM support using a standard encryption method and addition of three “uuid” boxes

– Protection System Specific Header Box

– Track Encryption Box

– Sample Encryption Box

Page 10: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Protection System Specific Header Box

23/9/2009 Microsoft Corporation 10

File Type

('ftyp')Movie ('moov')

Movie Header ('mvhd')

Protection System Specific Header ('uuid')

Track ('trak') x

[# tracks] ...

Movie Extends ('mvex')

Movie Extends Header ('mehd')

Track Extends ('trex')

Fragment x

[# fragments]

Movie Fragment Random Access

('mfra')

Track Fragment Random Access ('tfra') x

[# tracks]

Movie Fragment Random Access Offset ('mfro')

The Protection System Specific Header Box contains the data needed by a Content Protection System to play back the content. There can be any number of these boxes, added at any time.

Page 11: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Track Encryption Box

23/9/2009 Microsoft Corporation 11

Original Sample Entry with protected type

Protection Scheme Info ('sinf')

Original Format Box ('frma')

Scheme Type Box ('schm')

Scheme Information Box ('schi')

Track Encryption BoxThe Track Encryption box contains default values for the AlgorithmID, IV_size, and KID for the entire track. All Content Protection Systems use the same encryption algorithm. There is no DRM-Specific metadata at the track or sample level.

Page 12: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Movie Fragment ('moof')

Movie Fragment Header ('mfhd')

Track Fragment ('traf')

Track Fragment Header ('tfhd')

Track Fragment Run

('trun')

Independent and

Disposable Samples ('sdtp')

Sample Encryptio

n

Media Data

('mdat')

Sample Encryption Box

23/9/2009Microsoft Corporation12

Movie Fragment ('moof')

● Movie Fragment Header ('mfhd')

● Track Fragment ('traf')

Media Data ('mdat')

● Movie Fragment Header ('mfhd')

● Track Fragment Header ('tfhd')

●Track Fragment Run ('trun

●Independent and Disposable Samples ('sdtp')

●Sample Encryption

● Track Fragment ('traf')

● Track Fragment Header ('tfhd')

●Track Fragment Run ('trun

●Independent and Disposable Samples ('sdtp')

●Sample Encryption

The Sample Encryption Box contains the sample specific encryption data, including whether the sample is encrypted or not.

Page 13: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

References

• Smooth Streaming Transport Protocol, http://learn.iis.net/page.aspx/684/smooth-streaming-transport-protocol/

• Protected Interoperable File Format (PIFF), http://learn.iis.net/page.aspx/685/protected-interoperable-file-format/

• Microsoft Community Promise, http://www.microsoft.com/interop/cp/default.mspx

23/9/2009Microsoft Corporation13

Page 14: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Standardisation Plans

• PIFF was announced at IBC, and is available on the web

• License is open to all and royalty-free

– See the Microsoft Community Promise for details

• Microsoft intends to work with others to seek formal standardisation of both PIFF and the associated Smooth Streaming protocols

• Exactly where these standards would be developed is not yet decided; however DVB is one possibility

• Companies interested in taking these ideas forward should contact [email protected]

23/9/2009Microsoft Corporation14

Page 15: Protected Interoperable File Format (PIFF) PIFF... · • PIFF was announced at IBC, and is available on the web • License is open to all and royalty-free – See the Microsoft

Thank You

M

23/9/2009 Microsoft Corporation 15