summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/stream4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/stream b/bin/stream
index 21f0fe5..77d59a3 100755
--- a/bin/stream
+++ b/bin/stream
@@ -143,9 +143,9 @@ tee_rtp() { stream=$1; pt=$2; port=$3;
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:+-re -i "$XFILE"} \
+ ${XFILE:+-re${SEEK:+ -ss $SEEK} -i "$XFILE"} \
${IIDC:+-f libdc1394 -video_size 640x480 -framerate 15 -thread_queue_size 256 -i "$IIDC"} \
- ${VFILE:+-re -i "$VFILE"} \
+ ${VFILE:+-re${SEEK:+ -ss $SEEK} -i "$VFILE"} \
${LOGO:+-i "$LOGO"} \
${HASVIDEO:+-filter_complex \
"$(filter_split_height);