]> git.parisson.com Git - telecaster-server.git/commitdiff
cleanup
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Wed, 7 Feb 2024 11:13:19 +0000 (12:13 +0100)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Wed, 7 Feb 2024 11:13:19 +0000 (12:13 +0100)
bin/streaming/new/tc_video_simple_webm_stream-gst1-h264.sh [deleted file]
bin/streaming/old/tc_audio_mp3_icecast-gst1.sh [new file with mode: 0755]
bin/streaming/old/tc_start.sh [new file with mode: 0755]
bin/streaming/old/tc_video_simple_webm_stream-gst1-double.sh [new file with mode: 0755]
bin/streaming/old/tc_video_simple_webm_stream-gst1-h264.sh [new file with mode: 0755]
bin/streaming/old/tc_video_simple_webm_stream-gst1.sh [new file with mode: 0755]
bin/streaming/tc_audio_mp3_icecast-gst1.sh [deleted file]
bin/streaming/tc_start.sh [deleted file]
bin/streaming/tc_video_simple_webm_stream-gst1-double.sh [deleted file]
bin/streaming/tc_video_simple_webm_stream-gst1.sh [deleted file]

diff --git a/bin/streaming/new/tc_video_simple_webm_stream-gst1-h264.sh b/bin/streaming/new/tc_video_simple_webm_stream-gst1-h264.sh
deleted file mode 100755 (executable)
index 44043a4..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-# Default TeleCaster video parameters
-
-# v4l2
-V4L2_ID=0
-V4L2_ZOOM=140
-V4L2_SHARPNESS=128
-
-# C920
-#VIDEO_WIDTH=864
-#VIDEO_HEIGHT=480
-#VIDEO_FRAMERATE=24
-
-# C922
-VIDEO_WIDTH=864
-VIDEO_HEIGHT=480
-VIDEO_FRAMERATE=24
-VIDEO_FLIP=none
-
-# Audio
-AUDIO_CHANNELS=2
-AUDIO_OPUS_BITRATE=96000
-AUDIO_GAIN_PRE=2.5
-AUDIO_GAIN_POST=1.5
-
-source /etc/telecaster/telecaster.conf
-
-# V4L2 setup
-v4l2-ctl -d $V4L2_ID -c power_line_frequency=1
-v4l2-ctl -d $V4L2_ID -c zoom_absolute=$V4L2_ZOOM
-v4l2-ctl -d $V4L2_ID -c focus_auto=0
-v4l2-ctl -d $V4L2_ID -c focus_absolute=1
-v4l2-ctl -d $V4L2_ID -c sharpness=$V4L2_SHARPNESS
-
-# GST launch
-gst-launch-1.0 v4l2src device=/dev/video$V4L2_ID ! video/x-h264, width=$VIDEO_WIDTH, height=$VIDEO_HEIGHT, framerate=$VIDEO_FRAMERATE/1  \
-       ! queue ! avdec_h264 \
-       ! queue ! videoflip method=$VIDEO_FLIP \
-       ! queue ! videoconvert \
-       ! queue ! vp8enc threads=4 deadline=2 \
-       ! queue ! muxout. \
-       jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
-       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
-       ! queue ! volume volume=$AUDIO_GAIN_PRE \
-       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
-    ! queue ! volume volume=$AUDIO_GAIN_POST \
-       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
-       ! queue ! audioconvert \
-       ! queue ! opusenc bitrate=$AUDIO_OPUS_BITRATE \
-       ! queue ! muxout. \
-       webmmux streamable=true name=muxout \
-       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live.webm
-       > /dev/null
diff --git a/bin/streaming/old/tc_audio_mp3_icecast-gst1.sh b/bin/streaming/old/tc_audio_mp3_icecast-gst1.sh
new file mode 100755 (executable)
index 0000000..6ca87d6
--- /dev/null
@@ -0,0 +1,25 @@
+#!/usr/bin/env bash
+
+set -e
+
+# Audio
+AUDIO_CHANNELS=2
+AUDIO_OPUS_BITRATE=96000
+AUDIO_MP3_QUALITY=4.0
+AUDIO_GAIN_PRE=2.5
+AUDIO_GAIN_POST=1.5
+
+source /etc/telecaster/telecaster.conf
+
+# GST launch
+gst-launch-1.0 jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
+       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
+       ! queue ! volume volume=$AUDIO_GAIN_PRE \
+       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
+    ! queue ! volume volume=$AUDIO_GAIN_POST \
+       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
+       ! queue ! audioconvert \
+       ! queue ! lamemp3enc quality=$AUDIO_MP3_QUALITY \
+       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live.mp3
+       > /dev/null
+
diff --git a/bin/streaming/old/tc_start.sh b/bin/streaming/old/tc_start.sh
new file mode 100755 (executable)
index 0000000..37259a7
--- /dev/null
@@ -0,0 +1,60 @@
+#!/bin/bash
+
+set -e
+
+source /etc/telecaster/telecaster.conf
+
+TELECASTER_PATH=/srv/telecaster/telecaster-server/
+
+# jackd
+
+jackd $JACK_OPTIONS &
+
+sleep 2
+
+# telecaster
+
+konsole &
+
+qjackctl &
+
+sleep 1
+
+$TELECASTER_PATH/bin/streaming/tc_audio_mp3_icecast-gst1.sh &
+
+sleep 1
+
+$TELECASTER_PATH/bin/streaming/tc_video_simple_webm_stream-gst1-double.sh &
+
+sleep 3
+
+# JACK ports setup
+
+# STEREO setup
+# 1: L
+# 2: R
+
+#jack_disconnect system:capture_1 gst-launch-1.0:in_jackaudiosrc0_1
+#jack_disconnect system:capture_2 gst-launch-1.0:in_jackaudiosrc0_2
+
+#jack_disconnect system:capture_1 gst-launch-1.0-01:in_jackaudiosrc0_1
+#jack_disconnect system:capture_2 gst-launch-1.0-01:in_jackaudiosrc0_2
+
+#jack_connect system:capture_1 gst-launch-1.0:in_jackaudiosrc0_1
+#jack_connect system:capture_2 gst-launch-1.0:in_jackaudiosrc0_2
+
+# ADDITIONAL mics
+# 3: C
+
+# jack_connect system:capture_3 gst-launch-1.0:in_jackaudiosrc0_1
+# jack_connect system:capture_3 gst-launch-1.0:in_jackaudiosrc0_2
+
+# jack_connect system:capture_3 gst-launch-1.0-01:in_jackaudiosrc0_1
+# jack_connect system:capture_3 gst-launch-1.0-01:in_jackaudiosrc0_2
+
+#Audio monitor
+deefuzzer $TELECASTER_PATH/etc/telecaster/deefuzzer/telecaster_mp3_monitor.yaml &
+
+#Video monitor
+deefuzzer $TELECASTER_PATH/etc/telecaster/deefuzzer/telecaster_webm_monitor_double.yaml &
+
diff --git a/bin/streaming/old/tc_video_simple_webm_stream-gst1-double.sh b/bin/streaming/old/tc_video_simple_webm_stream-gst1-double.sh
new file mode 100755 (executable)
index 0000000..04571da
--- /dev/null
@@ -0,0 +1,66 @@
+#!/usr/bin/env bash
+
+set -e
+
+# Default TeleCaster video parameters
+
+source /etc/telecaster/telecaster.conf
+
+# VIDEO setup
+if [ ! -z "${VIDEO_ZOOM_1-}" ]; then
+v4l2-ctl -d $VIDEO_ID_1 -c power_line_frequency=1
+v4l2-ctl -d $VIDEO_ID_1 -c zoom_absolute=$VIDEO_ZOOM_1
+v4l2-ctl -d $VIDEO_ID_1 -c focus_auto=0
+v4l2-ctl -d $VIDEO_ID_1 -c focus_absolute=1
+v4l2-ctl -d $VIDEO_ID_1 -c sharpness=$VIDEO_SHARPNESS_1
+fi
+
+gst-launch-1.0 v4l2src device=/dev/video$VIDEO_ID_1 ! $VIDEO_FORMAT_1, width=$VIDEO_WIDTH_1, height=$VIDEO_HEIGHT_1, framerate=$VIDEO_FRAMERATE_1/1  \
+       ! queue ! $VIDEO_DEC_1 \
+       ! queue ! videoflip method=$VIDEO_FLIP_1 \
+       ! queue ! videoconvert \
+       ! queue ! vp8enc threads=4 deadline=2 \
+       ! queue ! muxout. \
+       jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
+       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
+       ! queue ! volume volume=$AUDIO_GAIN_PRE \
+       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
+    ! queue ! volume volume=$AUDIO_GAIN_POST \
+       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
+       ! queue ! audioconvert \
+       ! queue ! opusenc bitrate=$AUDIO_OPUS_BITRATE \
+       ! queue ! muxout. \
+       webmmux streamable=true name=muxout \
+       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live_$VIDEO_ID_1.webm \
+       > /dev/null &
+
+
+# VIDEO setup
+if [ ! -z "${VIDEO_ZOOM_2-}" ]; then
+v4l2-ctl -d $VIDEO_ID_2 -c power_line_frequency=1
+v4l2-ctl -d $VIDEO_ID_2 -c zoom_absolute=$VIDEO_ZOOM_2
+v4l2-ctl -d $VIDEO_ID_2 -c focus_auto=0
+v4l2-ctl -d $VIDEO_ID_2 -c focus_absolute=1
+v4l2-ctl -d $VIDEO_ID_2 -c sharpness=$VIDEO_SHARPNESS_2
+fi
+
+
+gst-launch-1.0 v4l2src device=/dev/video$VIDEO_ID_2 ! $VIDEO_FORMAT_2, width=$VIDEO_WIDTH_2, height=$VIDEO_HEIGHT_2, framerate=$VIDEO_FRAMERATE_2/1  \
+       ! queue ! $VIDEO_DEC_2 \
+       ! queue ! videoflip method=$VIDEO_FLIP_2 \
+       ! queue ! videoconvert \
+       ! queue ! vp8enc threads=4 deadline=2 \
+       ! queue ! muxout. \
+       jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
+       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
+       ! queue ! volume volume=$AUDIO_GAIN_PRE \
+       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
+    ! queue ! volume volume=$AUDIO_GAIN_POST \
+       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
+       ! queue ! audioconvert \
+       ! queue ! opusenc bitrate=$AUDIO_OPUS_BITRATE \
+       ! queue ! muxout. \
+       webmmux streamable=true name=muxout \
+       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live_$VIDEO_ID_2.webm \
+       > /dev/null &
+
diff --git a/bin/streaming/old/tc_video_simple_webm_stream-gst1-h264.sh b/bin/streaming/old/tc_video_simple_webm_stream-gst1-h264.sh
new file mode 100755 (executable)
index 0000000..44043a4
--- /dev/null
@@ -0,0 +1,56 @@
+#!/usr/bin/env bash
+
+set -e
+
+# Default TeleCaster video parameters
+
+# v4l2
+V4L2_ID=0
+V4L2_ZOOM=140
+V4L2_SHARPNESS=128
+
+# C920
+#VIDEO_WIDTH=864
+#VIDEO_HEIGHT=480
+#VIDEO_FRAMERATE=24
+
+# C922
+VIDEO_WIDTH=864
+VIDEO_HEIGHT=480
+VIDEO_FRAMERATE=24
+VIDEO_FLIP=none
+
+# Audio
+AUDIO_CHANNELS=2
+AUDIO_OPUS_BITRATE=96000
+AUDIO_GAIN_PRE=2.5
+AUDIO_GAIN_POST=1.5
+
+source /etc/telecaster/telecaster.conf
+
+# V4L2 setup
+v4l2-ctl -d $V4L2_ID -c power_line_frequency=1
+v4l2-ctl -d $V4L2_ID -c zoom_absolute=$V4L2_ZOOM
+v4l2-ctl -d $V4L2_ID -c focus_auto=0
+v4l2-ctl -d $V4L2_ID -c focus_absolute=1
+v4l2-ctl -d $V4L2_ID -c sharpness=$V4L2_SHARPNESS
+
+# GST launch
+gst-launch-1.0 v4l2src device=/dev/video$V4L2_ID ! video/x-h264, width=$VIDEO_WIDTH, height=$VIDEO_HEIGHT, framerate=$VIDEO_FRAMERATE/1  \
+       ! queue ! avdec_h264 \
+       ! queue ! videoflip method=$VIDEO_FLIP \
+       ! queue ! videoconvert \
+       ! queue ! vp8enc threads=4 deadline=2 \
+       ! queue ! muxout. \
+       jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
+       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
+       ! queue ! volume volume=$AUDIO_GAIN_PRE \
+       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
+    ! queue ! volume volume=$AUDIO_GAIN_POST \
+       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
+       ! queue ! audioconvert \
+       ! queue ! opusenc bitrate=$AUDIO_OPUS_BITRATE \
+       ! queue ! muxout. \
+       webmmux streamable=true name=muxout \
+       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live.webm
+       > /dev/null
diff --git a/bin/streaming/old/tc_video_simple_webm_stream-gst1.sh b/bin/streaming/old/tc_video_simple_webm_stream-gst1.sh
new file mode 100755 (executable)
index 0000000..108fb78
--- /dev/null
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+
+set -e
+
+# Default TeleCaster video parameters
+
+source /etc/telecaster/telecaster.conf
+
+# V4L2 setup
+if [ ! -z "${V4L2_ZOOM-}" ]; then
+v4l2-ctl -d $V4L2_ID -c power_line_frequency=1
+v4l2-ctl -d $V4L2_ID -c zoom_absolute=$V4L2_ZOOM
+v4l2-ctl -d $V4L2_ID -c focus_auto=0
+v4l2-ctl -d $V4L2_ID -c focus_absolute=1
+v4l2-ctl -d $V4L2_ID -c sharpness=$V4L2_SHARPNESS
+fi
+
+gst-launch-1.0 v4l2src device=/dev/video$V4L2_ID ! $V4L2_FORMAT, width=$VIDEO_WIDTH, height=$VIDEO_HEIGHT, framerate=$VIDEO_FRAMERATE/1  \
+       ! queue ! $V4L2_DEC \
+       ! queue ! videoflip method=$VIDEO_FLIP \
+       ! queue ! videoconvert \
+       ! queue ! vp8enc threads=4 deadline=2 \
+       ! queue ! muxout. \
+       jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
+       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
+       ! queue ! volume volume=$AUDIO_GAIN_PRE \
+       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
+    ! queue ! volume volume=$AUDIO_GAIN_POST \
+       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
+       ! queue ! audioconvert \
+       ! queue ! opusenc bitrate=$AUDIO_OPUS_BITRATE \
+       ! queue ! muxout. \
+       webmmux streamable=true name=muxout \
+       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live_$V4L2_ID.webm
+       > /dev/null
+
+done
diff --git a/bin/streaming/tc_audio_mp3_icecast-gst1.sh b/bin/streaming/tc_audio_mp3_icecast-gst1.sh
deleted file mode 100755 (executable)
index 6ca87d6..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-# Audio
-AUDIO_CHANNELS=2
-AUDIO_OPUS_BITRATE=96000
-AUDIO_MP3_QUALITY=4.0
-AUDIO_GAIN_PRE=2.5
-AUDIO_GAIN_POST=1.5
-
-source /etc/telecaster/telecaster.conf
-
-# GST launch
-gst-launch-1.0 jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
-       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
-       ! queue ! volume volume=$AUDIO_GAIN_PRE \
-       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
-    ! queue ! volume volume=$AUDIO_GAIN_POST \
-       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
-       ! queue ! audioconvert \
-       ! queue ! lamemp3enc quality=$AUDIO_MP3_QUALITY \
-       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live.mp3
-       > /dev/null
-
diff --git a/bin/streaming/tc_start.sh b/bin/streaming/tc_start.sh
deleted file mode 100755 (executable)
index 37259a7..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-set -e
-
-source /etc/telecaster/telecaster.conf
-
-TELECASTER_PATH=/srv/telecaster/telecaster-server/
-
-# jackd
-
-jackd $JACK_OPTIONS &
-
-sleep 2
-
-# telecaster
-
-konsole &
-
-qjackctl &
-
-sleep 1
-
-$TELECASTER_PATH/bin/streaming/tc_audio_mp3_icecast-gst1.sh &
-
-sleep 1
-
-$TELECASTER_PATH/bin/streaming/tc_video_simple_webm_stream-gst1-double.sh &
-
-sleep 3
-
-# JACK ports setup
-
-# STEREO setup
-# 1: L
-# 2: R
-
-#jack_disconnect system:capture_1 gst-launch-1.0:in_jackaudiosrc0_1
-#jack_disconnect system:capture_2 gst-launch-1.0:in_jackaudiosrc0_2
-
-#jack_disconnect system:capture_1 gst-launch-1.0-01:in_jackaudiosrc0_1
-#jack_disconnect system:capture_2 gst-launch-1.0-01:in_jackaudiosrc0_2
-
-#jack_connect system:capture_1 gst-launch-1.0:in_jackaudiosrc0_1
-#jack_connect system:capture_2 gst-launch-1.0:in_jackaudiosrc0_2
-
-# ADDITIONAL mics
-# 3: C
-
-# jack_connect system:capture_3 gst-launch-1.0:in_jackaudiosrc0_1
-# jack_connect system:capture_3 gst-launch-1.0:in_jackaudiosrc0_2
-
-# jack_connect system:capture_3 gst-launch-1.0-01:in_jackaudiosrc0_1
-# jack_connect system:capture_3 gst-launch-1.0-01:in_jackaudiosrc0_2
-
-#Audio monitor
-deefuzzer $TELECASTER_PATH/etc/telecaster/deefuzzer/telecaster_mp3_monitor.yaml &
-
-#Video monitor
-deefuzzer $TELECASTER_PATH/etc/telecaster/deefuzzer/telecaster_webm_monitor_double.yaml &
-
diff --git a/bin/streaming/tc_video_simple_webm_stream-gst1-double.sh b/bin/streaming/tc_video_simple_webm_stream-gst1-double.sh
deleted file mode 100755 (executable)
index 04571da..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-# Default TeleCaster video parameters
-
-source /etc/telecaster/telecaster.conf
-
-# VIDEO setup
-if [ ! -z "${VIDEO_ZOOM_1-}" ]; then
-v4l2-ctl -d $VIDEO_ID_1 -c power_line_frequency=1
-v4l2-ctl -d $VIDEO_ID_1 -c zoom_absolute=$VIDEO_ZOOM_1
-v4l2-ctl -d $VIDEO_ID_1 -c focus_auto=0
-v4l2-ctl -d $VIDEO_ID_1 -c focus_absolute=1
-v4l2-ctl -d $VIDEO_ID_1 -c sharpness=$VIDEO_SHARPNESS_1
-fi
-
-gst-launch-1.0 v4l2src device=/dev/video$VIDEO_ID_1 ! $VIDEO_FORMAT_1, width=$VIDEO_WIDTH_1, height=$VIDEO_HEIGHT_1, framerate=$VIDEO_FRAMERATE_1/1  \
-       ! queue ! $VIDEO_DEC_1 \
-       ! queue ! videoflip method=$VIDEO_FLIP_1 \
-       ! queue ! videoconvert \
-       ! queue ! vp8enc threads=4 deadline=2 \
-       ! queue ! muxout. \
-       jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
-       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
-       ! queue ! volume volume=$AUDIO_GAIN_PRE \
-       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
-    ! queue ! volume volume=$AUDIO_GAIN_POST \
-       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
-       ! queue ! audioconvert \
-       ! queue ! opusenc bitrate=$AUDIO_OPUS_BITRATE \
-       ! queue ! muxout. \
-       webmmux streamable=true name=muxout \
-       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live_$VIDEO_ID_1.webm \
-       > /dev/null &
-
-
-# VIDEO setup
-if [ ! -z "${VIDEO_ZOOM_2-}" ]; then
-v4l2-ctl -d $VIDEO_ID_2 -c power_line_frequency=1
-v4l2-ctl -d $VIDEO_ID_2 -c zoom_absolute=$VIDEO_ZOOM_2
-v4l2-ctl -d $VIDEO_ID_2 -c focus_auto=0
-v4l2-ctl -d $VIDEO_ID_2 -c focus_absolute=1
-v4l2-ctl -d $VIDEO_ID_2 -c sharpness=$VIDEO_SHARPNESS_2
-fi
-
-
-gst-launch-1.0 v4l2src device=/dev/video$VIDEO_ID_2 ! $VIDEO_FORMAT_2, width=$VIDEO_WIDTH_2, height=$VIDEO_HEIGHT_2, framerate=$VIDEO_FRAMERATE_2/1  \
-       ! queue ! $VIDEO_DEC_2 \
-       ! queue ! videoflip method=$VIDEO_FLIP_2 \
-       ! queue ! videoconvert \
-       ! queue ! vp8enc threads=4 deadline=2 \
-       ! queue ! muxout. \
-       jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
-       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
-       ! queue ! volume volume=$AUDIO_GAIN_PRE \
-       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
-    ! queue ! volume volume=$AUDIO_GAIN_POST \
-       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
-       ! queue ! audioconvert \
-       ! queue ! opusenc bitrate=$AUDIO_OPUS_BITRATE \
-       ! queue ! muxout. \
-       webmmux streamable=true name=muxout \
-       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live_$VIDEO_ID_2.webm \
-       > /dev/null &
-
diff --git a/bin/streaming/tc_video_simple_webm_stream-gst1.sh b/bin/streaming/tc_video_simple_webm_stream-gst1.sh
deleted file mode 100755 (executable)
index 108fb78..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-# Default TeleCaster video parameters
-
-source /etc/telecaster/telecaster.conf
-
-# V4L2 setup
-if [ ! -z "${V4L2_ZOOM-}" ]; then
-v4l2-ctl -d $V4L2_ID -c power_line_frequency=1
-v4l2-ctl -d $V4L2_ID -c zoom_absolute=$V4L2_ZOOM
-v4l2-ctl -d $V4L2_ID -c focus_auto=0
-v4l2-ctl -d $V4L2_ID -c focus_absolute=1
-v4l2-ctl -d $V4L2_ID -c sharpness=$V4L2_SHARPNESS
-fi
-
-gst-launch-1.0 v4l2src device=/dev/video$V4L2_ID ! $V4L2_FORMAT, width=$VIDEO_WIDTH, height=$VIDEO_HEIGHT, framerate=$VIDEO_FRAMERATE/1  \
-       ! queue ! $V4L2_DEC \
-       ! queue ! videoflip method=$VIDEO_FLIP \
-       ! queue ! videoconvert \
-       ! queue ! vp8enc threads=4 deadline=2 \
-       ! queue ! muxout. \
-       jackaudiosrc connect=2 ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \
-       ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
-       ! queue ! volume volume=$AUDIO_GAIN_PRE \
-       ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \
-    ! queue ! volume volume=$AUDIO_GAIN_POST \
-       ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
-       ! queue ! audioconvert \
-       ! queue ! opusenc bitrate=$AUDIO_OPUS_BITRATE \
-       ! queue ! muxout. \
-       webmmux streamable=true name=muxout \
-       ! queue ! shout2send ip=127.0.0.1 port=8000 password=source2parisson mount=telecaster_live_$V4L2_ID.webm
-       > /dev/null
-
-done