224b597b48
It is not always possible to align segment duration to target duration exactly. For example, for AAC with sampling rate of 44100, there are always 1024 audio frames per sample, so the sample duration is 1024/44100. For a target duration of 2 seconds, the closest segment duration would be 1.984 or 2.00533. This feature allows MPD generator to treat these segments as having the same duration, thus allows MPD generator to generate less SegmentTimeline entries and potentially no SegmentTimeline entries (replaced with SegmentTemplate@duration instead if --segment_template_constant_duration flag is enabled). Under flag --allow_approximate_segment_timeline. Disabled by default. Fixes #330. Change-Id: I5044eaa348ebbf45bf792a2af53fc95a115ae21b |
||
---|---|---|
.github | ||
docs | ||
kokoro | ||
packager | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AUTHORS | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
DEPS | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
appveyor.yml | ||
chromium-LICENSE | ||
gyp_packager.py |
README.md
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 H264 (AVC) I / O - I / O I H265 (HEVC) I / O - I - VP8 I / O I / O - - VP9 I / O I / O - - AAC I / O - I / O I Dolby AC3/EAC3 I / O - I - DTS I / O - - - Opus I / O I / O - - Vorbis - I / O - - ** I for input and O for output. ** Opus support in ISO-BMFF is experimental.
-
Subtitles
- WebVTT in both text form and embedded in MP4
- TTML in text form (DASH only)
-
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.
- Using Docker. Instructions are available here.
- Get prebuilt binaries from release.
- Built from source, see Build Instructions for details.
Useful Links
- Announcement List (join for release announcements and surveys)
- Documentation
- Tutorials
- Several open source players:
Contributing
If you have improvements or fixes, we would love to have your contributions. See https://github.com/google/shaka-packager/blob/master/CONTRIBUTING.md for details.