You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Mike Lang 3d9ba77745 common: add allow_holes option to get_best_segments() to abort early if holes found
This is a performance optimization, allowing us to fail out early (potentially avoiding a LOT
of work) if we know we're going to reject any result that contains holes.

We add a new exception ContainsHoles that is raised in this condition.
6 years ago
backfiller Renaming a variable that should have been part of the last commit 6 years ago
common common: add allow_holes option to get_best_segments() to abort early if holes found 6 years ago
cutter cutter: Add initial outline 6 years ago
downloader downloader: Start backdoor later so workers is in locals 6 years ago
restreamer restreamer: Use correct name for dateutil 6 years ago
thrimshim updated thrimshim to handle all non-null edit columns 6 years ago
.gitignore
.travis.yml
DATABASE.md database: Add constraints on edit inputs that they must be non-NULL if state != UNEDITED 6 years ago
LICENSE
README.md
build cutter: Add initial outline 6 years ago
docker-compose.jsonnet improvements suggested by ekim 6 years ago
generate-docker-compose
generate-flamegraph generate-flamegraph: Script to create a flamegraph by querying prometheus 6 years ago
initial-design-doc.pdf

README.md

Wubloader is a system for saving, re-serving and cutting into videos of a target twitch (or probably other HLS, but some twitch specifics are assumed) stream.

It was designed to serve the needs of the Video Strike Team as part of Desert Bus For Hope.

A full design doc can be read at initial-design-doc.pdf, but a brief overview of the components:

  • Downloader grabs segments from twitch and saves them to disk
  • Restreamer serves segments from disk as well as playlist files allowing them to be streamed
  • Backfiller queries restreamers of other servers in order to pick up segments this server doesn't have already, ie. it replicates missing segments.
  • Cutter interacts with a database to perform cutting jobs
  • Sheet Sync syncs specifc database columns to a google doc which is the primary operator interface.

Usage

All components are built as docker images. Components which access the disk expect a shared directory mounted at /mnt.

A docker-compose file is provided to run all components. See docker-compose.jsonnet to set configuration options, then generate the compose file with ./generate-docker-compose. Then run docker-compose up.