From 1b1c9d16996e7b80607fbdbcf97286478f323ff7 Mon Sep 17 00:00:00 2001 From: legop3 Date: Thu, 27 Nov 2025 20:22:13 -0500 Subject: [PATCH] raaah --- pi/bin/video-publisher.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pi/bin/video-publisher.sh b/pi/bin/video-publisher.sh index ea6dc42e..dcd06a3b 100644 --- a/pi/bin/video-publisher.sh +++ b/pi/bin/video-publisher.sh @@ -82,15 +82,16 @@ run_pipeline() { -f h264 \ -i pipe:0 \ -f alsa \ - -thread_queue_size 1024 \ + -thread_queue_size 2048 \ -ac "${AUDIO_CHANNELS}" \ -ar "${AUDIO_RATE}" \ -i "${AUDIO_DEVICE}" \ -c:v copy \ -c:a aac \ -b:a "${AUDIO_BITRATE}" \ - -ac:a 1 \ - -ar:a 24000 \ + -ac:a "${AUDIO_CHANNELS}" \ + -ar:a "${AUDIO_RATE}" \ + -af "aresample=async=1:min_hard_comp=0.050:first_pts=0" \ -flush_packets 1 \ -f mpegts \ "${PUBLISH_URL}"