summaryrefslogtreecommitdiff
path: root/bin/stream
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stream')
-rwxr-xr-xbin/stream9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/stream b/bin/stream
index 2fad692..0899879 100755
--- a/bin/stream
+++ b/bin/stream
@@ -80,10 +80,11 @@ VBITRATE=256000
SAVESTEM="$SAVEDIR/$(date +%Y%m%d-%H%M%S)"
${SAVEDIR:+export FFREPORT=file="$SAVESTEM.log"}
-# based on http://www.webmproject.org/docs/encoder-parameters/#real-time-cbr-encoding-and-streaming
-# + scale+watermark trick based on http://stackoverflow.com/a/10937357
-# + Add 1s latency (deadline)
-# + Use same RTP payload types as GStreamer
+# * scale+watermark trick based on http://stackoverflow.com/a/10937357
+# * routing based on http://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs#Teepseudo-muxer
+# * 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 \
${ALSA:+-f alsa -sample_rate "$AFRAMERATE" -channels "$ACHANNELS" -thread_queue_size 1024 -i "$ALSA"} \
${DVCAM:+-f iec61883 -thread_queue_size 64 -i $DVCAM} \