From: Guillaume Pellerin Date: Tue, 4 Feb 2025 11:30:51 +0000 (+0100) Subject: chmod X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6e026588ead5fa17994e5cda5ef6113935f3c37c;p=telecaster-server.git chmod --- diff --git a/etc/telecaster/telecaster_local.yml b/etc/telecaster/telecaster_local.yml new file mode 100644 index 0000000..18b11d3 --- /dev/null +++ b/etc/telecaster/telecaster_local.yml @@ -0,0 +1,31 @@ +telecaster: + server: + ip: 127.0.0.1 + port: 8000 + password: hackme + type: icecast + video: + - + id: 0 + width: 848 + height: 480 + framerate: 30 + flip: rotate-180 + zoom: 140 + sharpness: 144 + format: image/jpeg + decoder: jpegdec + # logitech: true + audio: + channels: 2 + opus_bitrate: 96000 + mp3_quality: 4.0 + gain_pre: 2.5 + gain_post: 1.5 + jack: + driver: alsa + samplerate: 48000 + ring_buffers: 3 + phw: 3 + chw: 3 + diff --git a/tests/tc_video_pw_local.sh b/tests/tc_video_pw_local.sh new file mode 100755 index 0000000..083aee9 --- /dev/null +++ b/tests/tc_video_pw_local.sh @@ -0,0 +1,19 @@ +# !/usr/bin/env bash + +set -e + +# Default TeleCaster video parameters + +source /etc/telecaster/telecaster.conf + +VIDEO_WIDTH=1280 +VIDEO_HEIGHT=720 +VIDEO_FRAMERATE=30 +VIDEO_FORMAT="image/jpeg" + +gst-launch-1.0 pipewiresrc client-name="video_streaming" path="247" \ + ! $VIDEO_FORMAT, width=$VIDEO_WIDTH, height=$VIDEO_HEIGHT, framerate=$VIDEO_FRAMERATE/1 \ + ! queue ! jpegdec \ + ! queue ! videoflip method=clockwise \ + ! queue ! videoconvert \ + ! queue ! autovideosink