feat(fun/tvl): Initial working ffmpeg -> nginx stream command

This commit is contained in:
Vincent Ambo 2020-04-04 02:06:30 +01:00
parent 9b606e2c4e
commit f8703d12da

14
fun/tvl/stream.sh Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
env LD_LIBRARY_PATH=/run/opengl-driver/lib/ ffmpeg \
-vsync 0 \
-hwaccel cuvid \
-f x11grab \
-video_size 1920x1080 \
-framerate 60 \
-i :0.0+0,0 \
-vf "scale_npp=1280:720" \
-c:v h264_nvenc \
-preset fast \
-an \
-f flv rtmp://tazj.in:1935/tvl