If you're not running a server, you probably don't need enigmamachine, because
there are already lots of great client-side batch processors for all kinds of
different operating systems. However, if you are running a web application,
and you want to process uploaded video, enigmamachine offers you a convenient
fire-and-forget video encoder.
The main problem with encoding video on a server is that it takes a really,
really long time - you don't want to do it within the scope of a single HTTP
request, because you want the user's browser to return to their control as
soon as the upload is finished. If the video took ten minutes to upload,
you don't want to keep their browser (and your webapp) busy for a
further ten minutes while the encoding happens.
The right way to deal with the uploaded video is to fire up a new thread which
can take over responsibility for encoding the video, while your web app goes
on its merry way. Unfortunately, this is difficult in some languages (PHP, for
example, doesn't have lightweight threading support), and even in languages
with good threading support it still sort of sucks. With Enigmamachine, all you
need to do to trigger encoding of a video is shoot off an HTTP request, and
everything else is handled for you.
Once you've installed the gem (see below), you can do something like: