SReview

This SReview, a video review system. It takes input files, stores their lengths in a database, combines those lengths and their starttime with a schedule it has of an event to see which talks are fully recorded, and creates a preview. After that, magic happens, and eventually a fully transcoded quality video rolls out of the system.

Note that while SReview has been used in production for FOSDEM 2017 and DebConf 2017, there is still some missing functionality in some areas. Patches welcome! :-)

States

SReview is fairly minimalistic; it tries to assume as little as possible about video workflow. There are, however, state machines that you should be aware of. First, there is the main state:

waiting_for_files
cutting
generating_previews
notification
preview
transcoding
uploading
done
broken
needs_work
lost

Next, there is the job state:

waiting
scheduled
running
done
failed

Every talk is in one of the main states as well as in one of the job. The following list explains what each of the main states means:

The job states, then, mean:

Components

SReview consists of two major components: a webinterface (written in Perl with Mojolicious), and a backend which consists of another set of perl scripts.

To run the webinterface in a test environment, copy the config.pl.template file in the web directory to config.pl, edit it, run "./sreview daemon", and browse to the URL given. To run the webinterface in production, see Mojo::Server::Hypnotoad (or some of the other guides over there).

To run the backend, it is recommended that you install gridengine first. In theory, the backend should work without gridengine, but that is not tested. Additionally, you will then need to run a dispatcher per CPU, rather than having just one dispatcher in the whole network (which is annoying).

Once gridengine has been installed, copy the config.pl.template file in the scripts directory to config.pl, edit it, and run perl dispatch.

If you want to modify the output formats, you should edit the transcode script where you can add and/or remove ffmpeg command lines.

If you want to modify the look and feel of the webinterface, you should edit the files in the web/templates directory.

If you have any issues with SReview, please file an issue (or better yet, a pull request) on the github issue tracker.

Further reading

See the documentation