]> git.parisson.com Git - telecaster-server.git/commitdiff
add target-bitrate
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 2 Oct 2024 08:30:18 +0000 (10:30 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 2 Oct 2024 08:49:30 +0000 (10:49 +0200)
tests/tc_video_pw.sh

index 6a4b43b38b81150bc316fc501bfddf41f53e9404..23b6ab4ce91f92911c8a524a50023e38d122ee22 100755 (executable)
@@ -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 \