Add a media role for image/video viewers/editors.

This commit is contained in:
Tom Alexander
2022-11-26 18:41:41 -05:00
parent ef6a89042f
commit 1c41d23474
13 changed files with 134 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
#
ffmpeg -re -i "$1" -vcodec h264_nvenc -r 30 -g 30 -loop -1 -c:a aac -b:a 160k -ar 44100 -strict -2 -f flv rtmp:172.16.16.44/live/test &
ffmpegpid=$!
sleep 1
castnow --exit 'https://broadcast.fizz.buzz/hls/hls/test.m3u8'
wait "$ffmpegpid"
sleep 10