Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2016 DECE, LLC – DECE CONFIDENTIAL CF Encoding and Validation Tools 1.

Similar presentations


Presentation on theme: "© 2016 DECE, LLC – DECE CONFIDENTIAL CF Encoding and Validation Tools 1."— Presentation transcript:

1 © 2016 DECE, LLC – DECE CONFIDENTIAL CF Encoding and Validation Tools 1

2 © 2016 DECE, LLC – DECE CONFIDENTIAL Outline CF Specifications Inheritance – Specifications that are inherited, extended, or constrained by DECE CF Specifications CF Creation – DECE CF Generator: CFFGen – Test files CF Validation Tool – DECE CF Verifier: DECEMate – What it validates – What it does not validate – Usage 2

3 © 2016 DECE, LLC – DECE CONFIDENTIAL CF Specifications Inheritance 3

4 © 2016 DECE, LLC – DECE CONFIDENTIAL CFFGen Created for testing Devices and testing the Verifier – Engineering-level tool – Able to create unusual or incorrect files as well as valid files – Not user-friendly – Not set up for commercial workflows Input is – XML file referencing other inputs and setting options (single-track or multi-track file, metadata schema versions, APID, etc.) – Metadata XML – Properly-encoded Video and/or Audio and/or CF-TT (text, or image with pngs) – Encryption keys, seed for random keys, or use randomly-generated keys Output is – Single-track or Multi-track file – Key list in.csv file – If output is single-track files DMP with accompanying XML (TOC, etc.) is built manually and packaged with 7-Zip MPD is built manually 4

5 © 2016 DECE, LLC – DECE CONFIDENTIAL CF Sample and Test Files Over 100 files created Most are multi-track files Some single-track files have been created to test media packages and streaming A subset of sample files are available at http://uvvuwiki.com/cffhttp://uvvuwiki.com/cff – All files at that URL are multi-track files – Files are unencrypted In addition to files specifically created for testing, a number of commercially-created CF files exist 5

6 © 2016 DECE, LLC – DECE CONFIDENTIAL CF Verifier CF Verifier executables available to DECE Members and Licensees – Available as Windows, Mac, and Linux executables – Includes a user guide and other documentation Validates single-track files, either by themselves or as part of DMPs or referenced by MPDs Validates DMPs and MPDs Violations of “SHALL” statements in specifications result in errors Violations of “SHOULD” statements result in warnings To be considered compliant with the specifications, files must have zero errors 6

7 © 2016 DECE, LLC – DECE CONFIDENTIAL Key Verifier Features Parse CF boxes Extract “essence” streams such as audio, video, subtitles, and metadata – Note that extracted (demultiplexed) video and most audio is not playable as CF creation strips out header information; only demuxed AC-3 audio can be played – Subtitles are extracted exactly as they are found (including comments and whitespace) Decrypt encrypted content before demultiplexing, provided the decryption keys are available Evaluate files within Digital Media Packages (DMPs), including the DMP file structure Perform Hypothetical Reference Decoder (HRD) analysis on HEVC tracks Evaluate – Multi-track files – Single-track CF files – Bare CF-TT (subtitle) files 7

8 © 2016 DECE, LLC – DECE CONFIDENTIAL Conformance Points File structure – Headers and footers – Box order and fields – Fragment ordering and duration – Number of tracks required/allowed Encoding – AVC Video constraints – HEVC Video constraints – Codec-specific audio constraints AAC DTS Dolby Encryption – Number and format of keys – Box types for encrypted track data CF-TT – CF-TT constraints – Rendering rate – Document structure and schema validation – Size and frame rate same as video – Rendering within region Metadata – Schema validation – Validation against track data – Image format and size as applicable – Required and optional metadata Media packages – Required XML files – File structure Details available in the Verifier Verification Matrix document which accompanies each release 8

9 © 2016 DECE, LLC – DECE CONFIDENTIAL Items Not Evaluated by the Verifier Video quality (macroblocking, tearing) Audio quality (noise) Subtitle rendering when using non-recommended fonts (other than proportional sans serif or monospace serif) – Subtitles that use proportional sans serif or monospace serif fonts are rendered and validated against region size Subtitle readability or placement vs. video content/safe area Presence of content referenced by external URLs – The Verifier was designed to be executable without access to the internet Metadata matching track data when equivalence is not called out in the specifications Inter-track synchronization of video, audio, and subtitles Full validation of video to AVC or HEVC specification Compliance of individual files (other than subtitle files) that could be used to create a CF file. For example, the Verifier cannot be used to validate an AVC video file Portable-Definition (PD), Dolby Vision (DV), HDR10, or HDR12 media profiles 9

10 © 2016 DECE, LLC – DECE CONFIDENTIAL Verifier Options Verifier is a command-line tool A number of options are available to indicate what should be evaluated, as well as output level (error, warning, info) Input flags include: – -x: Demux video and audio tracks – -u: Validate subtitles – -k : Use given Key ID: Value pair to decrypt track data – -j: Evaluate DMP file – -q: Evaluate a set of single-track files referenced by an MPD A configuration file can be used to pass common flags to the Verifier and to reference schema and font file locations 10

11 © 2016 DECE, LLC – DECE CONFIDENTIAL Verifier Output Subtitle tracks (if present) as TTML, including images for image subtitles Required Metadata as XML, including images Optional Metadata as XML, including images Demuxed video and audio track data Box maps in both text and XML format For files with HEVC, HRD plots for buffer fullness and access unit size Verifier Report, which includes DMP files return an overview MPReport for the DMP, and sub-reports for each track analyzed Likewise, MPD files return an overview MPDReport for the DMP, and sub-reports for each track analyzed 11 Input Filename Verifier Version Compliant Options Used APID and Content ID Media Profile Number and types of Errors and Warnings Video format Audio codecs and number of channels Number of image and text subtitle tracks

12 © 2016 DECE, LLC – DECE CONFIDENTIAL Verifier Report: Error Example <error error_code="trun.12" file_offset="1972266" file_offset_hex="0x1e182a" section="A.4, A.5, B.4, B.5, C.4, C.5" specification="CFF Media Format v1.0.7"> fragment duration exceeds maximum found 4.170833 seconds, expected no more than 3.003000 seconds for 'vide' track 12 Unique Error Code Offset from start of file Specification reference for violation Error text

13 © 2016 DECE, LLC – DECE CONFIDENTIAL Verifier File Output Example: Multi-Track File 13

14 © 2016 DECE, LLC – DECE CONFIDENTIAL Verifier Usage Determine whether files meet specifications when created by Content Providers Command-line interface and use of config files lends itself to scripting/chron jobs Use script to set up watched folders Parse XML output to look for errors Extract and evaluate subtitle data – Determine subtitle format – Check subtitle timing and presence Determine which DRM systems have written licenses to the file Check for values not exposed when playing files Extract and evaluate metadata, including images for chapter thumbnails Compare file structure and settings (e.g., flags) to other files 14

15 © 2016 DECE, LLC – DECE CONFIDENTIAL Summary CF is a well tested format and is considered stable. CF Content and the Verifier have been in testing since 2011, involving multiple different companies and implementations. Many specification corrections and clarifications were made during the implementation of the CF Generator and Verifier. Over 100 Sample Files exist for Verification. – Some of these files have been adapted for use other organizations, such as IMSC (Internet Media Subtitles and Captions) Thousands of files for commercial titles have been created. The CF Verifier has over 1000 different conformance tests, outlined in the Verifier Verification Matrix. 15


Download ppt "© 2016 DECE, LLC – DECE CONFIDENTIAL CF Encoding and Validation Tools 1."

Similar presentations


Ads by Google