Initial commit

This commit is contained in:
Alex 2020-05-02 14:52:26 +02:00
commit b800618ca7
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 2 additions and 0 deletions

2
script.sh Executable file
View File

@ -0,0 +1,2 @@
ffmpeg -hwaccel vdpau -video_size 1920x1080 -framerate 30 -f x11grab -i :0 -c:v libx264rgb -crf 0 -preset ultrafast -movflags +faststart -tune zerolatency -f segment -segment_time 4 -segment_wrap 6 -segment_list /tmp/list.m3u8 -segment_list_size 6 /tmp/seg\%d.ts
ffmpeg -y -i /tmp/list.m3u8 -c:v copy /tmp/snap.mp4