]> git.parisson.com Git - telecaster-server.git/commitdiff
use TC-12 as a first testing source, fix loopback feature/loopback
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 29 Jan 2024 09:51:47 +0000 (10:51 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 29 Jan 2024 10:08:30 +0000 (11:08 +0100)
src/home/telecaster/.fluxbox/scripts/launch-url2video.sh
src/home/telecaster/.fluxbox/scripts/launch-v4l2loopback.sh

index 212228c416a7591a176cbbba686056a636af4cab..00bdcbbf180c0d12c816877c128f8c8b7f5b755f 100755 (executable)
@@ -1,14 +1,17 @@
 #!/bin/bash
 
-URL=https://e-learning.crfpa.pre-barreau.com/media/Pre-Barreau/CRFPA/2021/Libertes_-_Cours/3cf774cb990d9987/crfpa-libertes-cours-09_16_21-09:45:47.mp4
+#URL=https://e-learning.crfpa.pre-barreau.com/media/Pre-Barreau/CRFPA/2021/Libertes_-_Cours/3cf774cb990d9987/crfpa-libertes-cours-09_16_21-09:45:47.mp4
+
+URL=http://TC-12:8080/consume/monitor
+
+#URL=http://TC-12:9000
 
 VIDEO_SINK_NAME="/dev/video12"
 AUDIO_SINK_NAME="mix-for-virtual-mic"
 
 gst-launch-1.0 uridecodebin uri="$URL" name=uridec do-timestamp=true live=true \
-      ! videoconvert \
+      ! queue ! videoconvert \
       ! v4l2sink device=$VIDEO_SINK_NAME sync=true \
       uridec. \
-      ! queue \
-      ! audioconvert \
+      ! queue ! audioconvert \
       ! pulsesink device=$AUDIO_SINK_NAME sync=true
index a5061dc26e52a9a0a0504819b7502f0d76a622de..6570219f8bb194eed6536ee2c996e91a60d5ec38 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/bash
 
-sudo modprobe v4l2loopback devices=1 video_nr=12 card_label="virtual webcam" exclusive_caps=1 max_buffers=2
+sudo modprobe v4l2loopback device=3 video_nr=12 card_label="virtual webcam" exclusive_caps=1 max-buffer=3