diff options
author | VG <vg@devys.org> | 2016-04-20 19:49:44 +0200 |
---|---|---|
committer | VG <vg@devys.org> | 2016-04-20 19:49:44 +0200 |
commit | 95573b5e90d88574e9110399df02865305b99f7c (patch) | |
tree | 9a82bad67f6771e32e7d7cf87737e3888f4408b7 | |
parent | 4f46cb62cecd1ec3390536c21314a3c3ca1d27cb (diff) | |
download | teaqueue-95573b5e90d88574e9110399df02865305b99f7c.tar.gz teaqueue-95573b5e90d88574e9110399df02865305b99f7c.tar.bz2 teaqueue-95573b5e90d88574e9110399df02865305b99f7c.zip |
Auto-commit on 807fe7afb37fe2cfcf15c9457d04f64fa11b7511
-rw-r--r-- | readme.rst | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -69,6 +69,15 @@ Then run again `teaqueue`:: program to convert your videos. The important point is the script should be able to be interruptible without interrupting the underlying job. +.. code:: shell + + #!/bin/sh + flock -x /var/lock/transcode_my_file.sh.lock ffmpeg -i "$1" -arg -arg & + +The first `ffmpeg` command will go to background then, the second will wait +until the first `ffmpeg` finishes. If the `teaqueue` command is interrupted, +it can be run again without effectively interrupting the current `ffmpeg` job. + History ======= |