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 899f763dd7
test: Fix data directory computation (#1239)
The `__FILE__` macro does not always get you an absolute path, so our
assumptions about it in test_data_util.cc were flawed.

If `foo.c` references `__FILE__`, something like `gcc -c foo.c`, will
define `__FILE__` as `"foo.c"`. If you use `gcc -c /path/to/foo.c`, then
`__FILE__` will be `"/path/to/foo.c"`.

The Ninja generator for CMake only generates absolute paths for source
files in certain CMake versions. (Exact range unknown.) Rather than
require newer CMake versions and depend on CMake's Ninja generator
maintaining the latest behavior forever, set the macro TEST_DATA_DIR to
point to the test data folder. This is consistent and never depends on
unspecified behavior.

This change will allow the use of the Ninja generator with older
versions of CMake, as found in most of our Docker builds.
2023-07-17 10:06:10 -07:00
.github fix: Fix compilation on Arch Linux (#1233) 2023-07-14 12:40:12 -07:00
docs Merge remote-tracking branch 'upstream/main' into cmake 2023-07-05 19:51:52 -07:00
npm chore: Update URLs after moving projects (#1042) 2022-03-07 11:56:34 -08:00
packager test: Fix data directory computation (#1239) 2023-07-17 10:06:10 -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 test: Add Mongoose embedded HTTP server (#1231) 2023-07-13 16:36:42 -07:00
.gitmodules chore: Revert to upstream mongoose (#1235) 2023-07-16 16:49:29 -07:00
AUTHORS Merge remote-tracking branch 'upstream/main' into cmake 2023-07-05 19:51:52 -07:00
CHANGELOG.md chore: Update URLs after moving projects (#1042) 2022-03-07 11:56:34 -08:00
CMakeLists.txt chore: Split out CMake policies into package/policies.cmake (#1236) 2023-07-17 06:41:23 -07:00
CONTRIBUTING.md Add AUTHORS, CONTRIBUTORS, CONTRIBUTING.md, and README.md 2014-04-19 00:05:38 +00:00
CONTRIBUTORS docs: Update CONTRIBUTORS (#1190) 2023-07-05 14:32:24 -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.