summaryrefslogtreecommitdiff
path: root/bin/stream
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stream')
-rwxr-xr-xbin/stream6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/stream b/bin/stream
index c248c0a..21f0fe5 100755
--- a/bin/stream
+++ b/bin/stream
@@ -140,12 +140,12 @@ tee_rtp() { stream=$1; pt=$2; port=$3;
# * VP8 encoding based on http://www.webmproject.org/docs/encoder-parameters/#real-time-cbr-encoding-and-streaming
# + Add 1s latency (deadline)
# * Use same RTP payload types as GStreamer
-ffmpeg -hide_banner -threads auto -re \
+ffmpeg -hide_banner -threads auto \
${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"} \
+ ${XFILE:+-re -i "$XFILE"} \
${IIDC:+-f libdc1394 -video_size 640x480 -framerate 15 -thread_queue_size 256 -i "$IIDC"} \
- ${VFILE:+-i "$VFILE"} \
+ ${VFILE:+-re -i "$VFILE"} \
${LOGO:+-i "$LOGO"} \
${HASVIDEO:+-filter_complex \
"$(filter_split_height);