From: Guillaume Pellerin Date: Wed, 2 Oct 2024 08:30:18 +0000 (+0200) Subject: add target-bitrate X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0e55ac645a3217e42a1132dbc8bd08907d0c2059;p=telecaster-server.git add target-bitrate --- diff --git a/tests/tc_video_pw.sh b/tests/tc_video_pw.sh index 6a4b43b..23b6ab4 100755 --- a/tests/tc_video_pw.sh +++ b/tests/tc_video_pw.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +# !/usr/bin/env bash set -e @@ -9,7 +9,7 @@ source /etc/telecaster/telecaster.conf gst-launch-1.0 pipewiresrc client-name="video_streaming" ! $VIDEO_FORMAT, width=$VIDEO_WIDTH, height=$VIDEO_HEIGHT, framerate=$VIDEO_FRAMERATE/1 \ ! queue ! $VIDEO_DECODER \ ! queue ! videoconvert \ - ! queue ! vp8enc threads=4 deadline=2 \ + ! queue ! vp8enc threads=4 deadline=2 target-bitrate=2000000 \ ! queue ! muxout. \ pipewiresrc client-name="video_streaming" target-object="audio_processing" ! audio/x-raw, format=F32LE, channels=$AUDIO_CHANNELS \ ! queue ! audioconvert \