media-server / scripts /stream2.sh
jbilcke-hf's picture
jbilcke-hf HF Staff
up
c9f8f7f
raw
history blame
277 Bytes
#!/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