diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-11 14:12:30 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-11 14:12:30 +0200 |
commit | 3814d318885097515966eb5cdf3c15db42d43c8c (patch) | |
tree | 2baaa2c1d66508ef8d351b7ab51e05d84fa6629c /bin | |
parent | f42f77c048305bc1896ec23e1c5cb9d3e7acbe24 (diff) |
Fix set realtime flag only for file sources.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/stream | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |