Update Linux framework laptop for AMD board.

Unfortunately, FreeBSD does not seem to boot so it is not being updated in this commit.
This commit is contained in:
Tom Alexander
2023-12-06 21:14:38 -05:00
parent 9d54609a12
commit a7fe6ff42d
9 changed files with 56 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
#
ffmpeg -re -vaapi_device /dev/dri/renderD128 -i "$1" -vf 'format=nv12,hwupload' -c:v h264_vaapi -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