Package: avbroadcast
avbroadcastAboutavbroadcastrepublishes media streams for mass consumption.
It is a wrapper around the fineffmpegandpackagerprograms,
so it is standing on the shoulders of giants.Attention!Please note some of its functionality is based on the newHTTP upload featureof Shaka Packager which is a work in progress. It is currently living
in thehttp-upload branchand is being tracked atissue #149.Please use the beta-buildpackager-linuxfor your own experiments,
which is also available through the corresponding Docker baseline image.Getting startedInstallIf you know your way around Python, installing this software is really easy:pip install avbroadcastPlease refer to thevirtualenvpage about further guidelines how to install and use this software.UsageIngest media stream:avbroadcast ingest \
    --stream="rtmp://184.72.239.149/vod/mp4:bigbuckbunny_450.mp4?reuse=1" \
    --base-port=50000 \
    --verbosePackage using HLS and publish to HTTP server:avbroadcast publish \
    --name="bigbuckbunny" \
    --base-port=50000 \
    --target="http://localhost:6767/hls-live" \
    --verboseAltogether now:avbroadcast io \
    --name="bigbuckbunny" \
    --stream="rtmp://184.72.239.149/vod/mp4:bigbuckbunny_450.mp4?reuse=1" \
    --target="http://localhost:6767/hls-live" \
    --verboseWatch output directory:avbroadcast watch --path=/var/spool/hls-localUsage with DockerBuild Docker image"mediatoolbox/avbroadcast:analyzer":make build-docker-imageYou might want to skip this step as Docker images are already available
athttps://hub.docker.com/r/mediatoolbox/avbroadcastMake alias for easy access:# Use avbroadcast shipped with Docker image.
alias avbroadcast='docker run --name avb --interactive --tty --rm mediatoolbox/avbroadcast:analyzer avbroadcast'

# Alternatively, use avbroadcast from working tree.
alias avbroadcast='docker run --name avb --volume `pwd`:/avbroadcast --interactive --tty --rm mediatoolbox/avbroadcast:analyzer avbroadcast'Pre-flight check:avbroadcast --versionAttach to running transcoder:docker exec --interactive --tty avb /bin/bashUsage with tmuxavbroadcast ... --tmux --analyzeAttach to Docker container and tmux manager at once:docker exec --interactive --tty avb tmux attach -t avbQuit pipeline either by detaching fromtmux:CTRL+B, Dor exit each program individually by typing:4x CTRL+CIn both cases, the Docker container will stop - and also self-destroy when running with--rm.Project informationavbroadcastis released under the terms of the GNU AGPL 3.0 license.
The code and documentation live onGitHub,
the Python package is published toPyPI.The software has been tested on Python 3.5 and Python 3.7.ContributingIf you’d like to contribute you’re most welcome!
Spend some time taking a look around, locate a bug, design issue or
spelling mistake and then send us a pull request or create an issue.Thanks in advance for your efforts, we really appreciate any help or feedback.LicenseThis software is copyright (c) 2018-2019 The avbroadcast authors. All rights reserved.It is and will always befree and open source software.Use of the source code included here is governed by theGNU Affero General Public Licenseand theEuropean Union Public License.Have fun!