summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-04 14:04:36 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-04 14:04:36 +0200
commit058eb8b2f7258c0afef819e6b01e05f7f839fcda (patch)
treed8d9cafb4a225a2a3fe9167f71f0dfc8423f53cb /bin
parent30d52bfd1b2451f7223b8888ddbbff63d3d76dd5 (diff)
Tidy comments: Reorganize. Add reference to routing using tee.
Diffstat (limited to 'bin')
-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} \