mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 03:23:40 -05:00
copy working changes from server (yes i did a force push, sorry)
This commit is contained in:
parent
7c9c534fb9
commit
ed627a4786
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ bash -c "DISPLAY=:99 xvfb-run \
|
|||
|
||||
sleep 3
|
||||
|
||||
until bash -c "DISPLAY=:99 ffmpeg -xerror -f x11grab -r 30 -s 1920x1080 -draw_mouse 0 -i :99.0 -f pulse -ac 2 -i default -vcodec libx264 -preset faster -b:v 6000k -bufsize 12000k -framerate 30 -g 60 -pix_fmt yuv420p -acodec aac -f flv -flvflags no_duration_filesize rtmp://x.rtmp.youtube.com/live2/$(cat /home/stream/key.txt)"; do
|
||||
until bash -c "DISPLAY=:99 ffmpeg -xerror -f x11grab -r 30 -s 1920x1080 -draw_mouse 0 -i :99.0 -f pulse -ac 2 -i default -vcodec libx264 -preset faster -b:v 6000k -bufsize 12000k -framerate 30 -g 60 -pix_fmt yuv420p -acodec aac -f fifo -fifo_format flv -map 0:v -map 1:a -flvflags no_duration_filesize -drop_pkts_on_overflow 1 -attempt_recovery 1 -recovery_wait_time 1 rtmp://x.rtmp.youtube.com/live2/$(cat /home/stream/key.txt)"; do
|
||||
echo "Restarting FFmpeg..."
|
||||
sleep 1
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue