summaryrefslogtreecommitdiff
path: root/example-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts')
-rw-r--r--example-scripts/systemd-units/voctomix-bgloop-source.service14
-rw-r--r--example-scripts/systemd-units/voctomix-cam1-source.service14
-rw-r--r--example-scripts/systemd-units/voctomix-cam2-source.service14
-rw-r--r--example-scripts/systemd-units/voctomix-grabber-source.service14
-rw-r--r--example-scripts/systemd-units/voctomix-music-source.service14
-rw-r--r--example-scripts/systemd-units/voctomix-pause-source.service14
-rw-r--r--example-scripts/systemd-units/voctomix-recording-sink.service14
-rw-r--r--example-scripts/systemd-units/voctomix-streaming-sink.service14
-rw-r--r--example-scripts/systemd-units/voctomix-voctocore.service13
9 files changed, 125 insertions, 0 deletions
diff --git a/example-scripts/systemd-units/voctomix-bgloop-source.service b/example-scripts/systemd-units/voctomix-bgloop-source.service
new file mode 100644
index 0000000..3138e81
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-bgloop-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix bgloop-source
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service
diff --git a/example-scripts/systemd-units/voctomix-cam1-source.service b/example-scripts/systemd-units/voctomix-cam1-source.service
new file mode 100644
index 0000000..e600575
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-cam1-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix test-video-source cam1
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service
diff --git a/example-scripts/systemd-units/voctomix-cam2-source.service b/example-scripts/systemd-units/voctomix-cam2-source.service
new file mode 100644
index 0000000..70707ad
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-cam2-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix test-video-source cam2
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service
diff --git a/example-scripts/systemd-units/voctomix-grabber-source.service b/example-scripts/systemd-units/voctomix-grabber-source.service
new file mode 100644
index 0000000..8d3ba8c
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-grabber-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix video-source for framegrabber
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service
diff --git a/example-scripts/systemd-units/voctomix-music-source.service b/example-scripts/systemd-units/voctomix-music-source.service
new file mode 100644
index 0000000..97a9ba2
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-music-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix music-source
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/ffmpeg/source-nostream-music.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service
diff --git a/example-scripts/systemd-units/voctomix-pause-source.service b/example-scripts/systemd-units/voctomix-pause-source.service
new file mode 100644
index 0000000..c8f7c55
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-pause-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix pause-source
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/ffmpeg/source-nostream-pause-loop.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service
diff --git a/example-scripts/systemd-units/voctomix-recording-sink.service b/example-scripts/systemd-units/voctomix-recording-sink.service
new file mode 100644
index 0000000..a38773e
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-recording-sink.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix recording-sink
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/ffmpeg/record-mixed-ffmpeg-segmented.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service
diff --git a/example-scripts/systemd-units/voctomix-streaming-sink.service b/example-scripts/systemd-units/voctomix-streaming-sink.service
new file mode 100644
index 0000000..8cc53cc
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-streaming-sink.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix streaming-hd sink
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/ffmpeg/stream-hd.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service
diff --git a/example-scripts/systemd-units/voctomix-voctocore.service b/example-scripts/systemd-units/voctomix-voctocore.service
new file mode 100644
index 0000000..9f5a759
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-voctocore.service
@@ -0,0 +1,13 @@
+[Unit]
+Description = voctomix core
+After=network.target
+
+[Service]
+Type = simple
+ExecStart = /usr/share/voctomix/voctocore/voctocore.py -vv
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = multi-user.target