diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-11 14:13:56 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-11 14:13:56 +0200 |
commit | 44c56454c3463e6c7058b1b183a91fbe318c3791 (patch) | |
tree | e51b94e0cced873eb6d2671e229d12a842a7d32d /bin | |
parent | 3814d318885097515966eb5cdf3c15db42d43c8c (diff) |
Support SEEKing in file sources.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/stream | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |