A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
Go to file
Joey Parrish 7b33f2065f
feat: Port AES and RSA crypto to mbedtls (#1119)
mbedtls works very differently from BoringSSL, and many changes had to
be made in the details of AES decryption to accomodate this.

Beyond the basic changes required for mbedtls, part of the CTS padding
implementation had to be rewritten. I believe this is because of an
assumption that held for BoringSSL, but not for mbedtls. I was unable to
determine what it was, so I rewrote the CTS decryption using reference
materials. After this, tests passed.

The deterministc PRNG I used with mbedtls in the RSA tests differs
somewhat from the old one, so the expected vectors had to be
regenerated. The old determinstic tests were also disabled, and are now
re-enabled.

Since cryptography is sensitive code, and because there were far more
changes needed here than just updating some headers and utility function
calls, this has been split into its own PR for separate review from the
rest of the media/base porting work.

Issue #1047 (CMake porting)
Issue #346 (absl porting)
2022-11-02 08:34:06 -07:00
.github ci: Fix build workflow in arm64 self-hosted (#1111) 2022-10-25 10:07:45 -07:00
docs ci: Fix docs build in GitHub Actions (#1109) 2022-10-21 11:27:58 -07:00
npm chore: Update URLs after moving projects (#1042) 2022-03-07 11:56:34 -08:00
packager feat: Port AES and RSA crypto to mbedtls (#1119) 2022-11-02 08:34:06 -07:00
.clang-format Use Chromium style for clang-format 2014-07-02 22:49:46 +00:00
.dockerignore Reduce Docker image size 2018-12-20 13:31:03 -08:00
.gitignore feat: Move all third-party deps into git submodules (#1083) 2022-08-17 10:42:00 -07:00
.gitmodules feat: Move all third-party deps into git submodules (#1083) 2022-08-17 10:42:00 -07:00
AUTHORS chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
CHANGELOG.md chore: Update URLs after moving projects (#1042) 2022-03-07 11:56:34 -08:00
CMakeLists.txt feat: Add CMake module for building protobufs (#1112) 2022-10-26 10:07:01 -07:00
CONTRIBUTING.md Add AUTHORS, CONTRIBUTORS, CONTRIBUTING.md, and README.md 2014-04-19 00:05:38 +00:00
CONTRIBUTORS feat: Add xHE-AAC support (#1092) 2022-10-18 10:16:55 -07:00
Dockerfile feat: First phase of CMake build system implementation (#1072) 2022-08-16 11:34:51 -07:00
LICENSE chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
README.md docs: Deprecate the mailing list for releases (#1071) 2022-06-28 09:58:17 -07:00
chromium-LICENSE chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00

README.md

Shaka Packager

Shaka Packager is a tool and a media packaging SDK for DASH and HLS packaging and encryption. It can prepare and package media content for online streaming.

Shaka Packager supports:

  • Both Video-On-Demand and Live.

  • Streaming formats:

  • Key systems:

  • Encryption standards:

  • Media Containers and codecs

    Codecs ISO-BMFF WebM MPEG2-TS WVM Packed Audio²
    H264 (AVC) I / O - I / O I -
    H265 (HEVC) I / O - I - -
    VP8 I / O I / O - - -
    VP9 I / O I / O - - -
    AV1 I / O I / O - - -
    AAC I / O - I / O I O
    MP3 O - I / O - O
    Dolby AC3 I / O - I / O - O
    Dolby EAC3 I / O - O - O
    MPEG-H Audio I / O - - - -
    Dolby AC4 I / O - - - -
    DTS I / O - - - -
    FLAC I / O - - - -
    Opus I / O³ I / O - - -
    Vorbis - I / O - - -

    NOTES:

  • Subtitles

    Format Input Output
    Text WebVTT Y Y
    WebVTT in MP4 #405 Y
    Text TTML Y
    TTML in MP4 - Y
    DVB-SUB Y -
    Teletext #272 -
    • ⁴: TTML input is only supported with TTML output (pass-through, DASH only), see also #584.
  • Platforms
    • Linux
    • Mac
    • Windows
    • Cross compiling for ARM is also supported.

1: Limited support

Getting Shaka Packager

There are several ways you can get Shaka Packager.

Useful Links

Contributing

If you have improvements or fixes, we would love to have your contributions. See https://github.com/shaka-project/shaka-packager/blob/main/CONTRIBUTING.md for details.