diff options
-rw-r--r-- | fun/tvl/stream.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fun/tvl/stream.sh b/fun/tvl/stream.sh new file mode 100644 index 000000000000..99030ab7698b --- /dev/null +++ b/fun/tvl/stream.sh @@ -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 |