#!/bin/bash COUNT=0 echo "Starting FFMPEG live stream for channel 2" while true; do ffmpeg -y -nostdin -re -f concat -safe 0 -i channel_2_video.txt -loglevel error -c:v libx264 -preset veryfast -tune zerolatency -c:a aac -ar 44100 -f flv rtmp://localhost/live/webtv2 done