Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Latest commit

 

History

History
74 lines (55 loc) · 2.34 KB

README.md

File metadata and controls

74 lines (55 loc) · 2.34 KB

DEPRECATED

This repository is deprecated and should no longer be used, please see unifiedstreaming/cli-tools for an updated repository that includes all of the tools.

Updated Docker images are available from Docker Hub:

  • unifiedstreaming/mp4split
  • unifiedstreaming/cpix_verify
  • unifiedstreaming/manifest_edit
  • unifiedstreaming/push_input_stream
  • unifiedstreaming/unified_capture
  • unifiedstreaming/unified_remix

logo

Unified Packager

Unified Packager is a software program that uses MP4 files to produce segmented output in HDS, HLS, MPEG-DASH and HSS formats.

DRM can also be applied using the command-line options. It smoothly handles advanced features for adding multiple audio codecs, such as Dolby Digital Plus (E-AC-3), DTS Express and Fraunhofer HE-AAC v2 (multichannel).

Documentation: http://docs.unified-streaming.com/documentation/package/index.html

Note that latest correlates to the latest GA version (see the release notes at http://docs.unified-streaming.com/release-notes/index.html).

Docker usage instructions:

Run a container and pass the usual commands to mp4split.

export UspLicenseKey=<your_license_key> 

docker run \
  -e UspLicenseKey=<license_key> \
  -v $PWD:/data \
  unifiedstreaming/packager \
  -o /data/<output_filename> \
  /data/<input_filename>

Custom images

You can also build your own images using our Alpine repository:

ARG ALPINEVERSION=3.13

FROM alpine:$ALPINEVERSION

# Get USP public key
RUN wget -q -O /etc/apk/keys/[email protected] \
    https://stable.apk.unified-streaming.com/[email protected]
    
# ARGs declared before FROM are in a different scope, so need to be stated again
# https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
ARG ALPINEVERSION
ARG BETA_REPO=https://beta.apk.unified-streaming.com/alpine/
ARG STABLE_REPO=https://stable.apk.unified-streaming.com/alpine/
ARG VERSION=1.11.1

# Install Software
RUN apk \
    --update \
    --repository $BETA_REPO/v$ALPINEVERSION \
    --repository $STABLE_REPO/v$ALPINEVERSION \
    add \
        mp4split~$VERSION \
&&  rm -f /var/cache/apk/*