summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-11 12:21:40 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-11 12:21:40 +0200
commitf42f77c048305bc1896ec23e1c5cb9d3e7acbe24 (patch)
tree919dd97bddb37a7414263d39759efe9826b5c07d
parenta5c60b6d3a267b5b0f4215620ec59e71c62ec6aa (diff)
Use single mpegts stream via raw udp for MPEG.
-rwxr-xr-xbin/stream6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/stream b/bin/stream
index 55a95e0..c248c0a 100755
--- a/bin/stream
+++ b/bin/stream
@@ -179,8 +179,4 @@ ffmpeg -hide_banner -threads auto -re \
-pix_fmt yuv420p \
-codec:v libx264 -tune zerolatency -preset ultrafast \
-maxrate "$VBITRATE" -bufsize "$((VBITRATE*2))" -crf 23 } \
- -f tee \
- "${HASAUDIO:+\
- $(tee_rtp a 96 $((FIRSTPORT+4)))|\
- }${HASVIDEO:+\
- $(tee_rtp v 97 $((FIRSTPORT+6)))}" }
+ -f mpegts udp://$IP:10000 }