feat(fun/tvl): Initial working ffmpeg -> nginx stream command
This commit is contained in:
parent
9b606e2c4e
commit
f8703d12da
1 changed files with 14 additions and 0 deletions
14
fun/tvl/stream.sh
Normal file
14
fun/tvl/stream.sh
Normal 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
|
Loading…
Reference in a new issue