From 29c900b8f9fe244dcc18174b874df41f3cb1a955 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 2 Oct 2024 10:30:18 +0200 Subject: [PATCH] add target-bitrate --- tests/tc_video_pw.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 \ -- 2.39.5