Create desktop-stream.sh
This commit is contained in:
parent
39651360cb
commit
fbdc466cb5
1 changed files with 3 additions and 0 deletions
3
ffmpeg-nginx-streaming/desktop-stream.sh
Normal file
3
ffmpeg-nginx-streaming/desktop-stream.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
ffmpeg -f x11grab -s 1366x768 -r 15 -i :0.0 -f alsa -i pulse -vcodec libx264 -preset ultrafast -crf 0 -acodec libmp3lame -ac 2 -ab 256k -ar 44100 -f flv "rtmp://localhost:1935/live"
|
Loading…
Reference in a new issue