about summary refs log tree commit diff
path: root/fun/tvl/stream.sh
blob: 99030ab7698bdfeb691cc5b1ab296cc36e130d1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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