From cdc8cabc4fe628eb1f524b0a67781460974c82de Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 7 May 2017 01:23:50 +0200 Subject: Raise ALSA buffers to 2048. --- bin/stream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/stream b/bin/stream index 1c20f13..8ecbf78 100755 --- a/bin/stream +++ b/bin/stream @@ -141,7 +141,7 @@ tee_rtp() { stream=$1; pt=$2; port=$3; # + Add 1s latency (deadline) # * Use same RTP payload types as GStreamer ffmpeg -hide_banner -threads auto -re \ - ${ALSA:+-f alsa -sample_rate "$AFRAMERATE" -channels "$ACHANNELS" -thread_queue_size 1024 -i "$ALSA"} \ + ${ALSA:+-f alsa -sample_rate "$AFRAMERATE" -channels "$ACHANNELS" -thread_queue_size 2048 -i "$ALSA"} \ ${DVCAM:+-f iec61883 -thread_queue_size 64 -i $DVCAM} \ ${XFILE:+-i "$XFILE"} \ ${IIDC:+-f libdc1394 -video_size 640x480 -framerate 15 -thread_queue_size 256 -i "$IIDC"} \ -- cgit v1.2.3