File size: 226 Bytes
07ae658
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

echo "starting the video collection stream.."
while true; do
    sleep 1
    for f in $WEBTV_VIDEO_STORAGE_PATH*.mp4
    do
        ffmpeg -re -i "$f" -vcodec copy -f mpegts -y video.pipe 2>/dev/null
    done
done