#!/usr/bin/env bash # bash shell filePath Start end rtmp rtspUrl=$1 videoName=$2 # echo 'videoFilePath:'$videoFilePath ffmpeg -y -re -stream_loop -1 -f concat -safe 0 -i tt.txt -c:v libx264 -preset fast -profile:v baseline -g 30 -sc_threshold 0 -b:v 1500k -f flv "$rtspUrl"