Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/zsh
- #### this script is for desktop capture - use slip_stream-file.sh for file streaming.
- # Usage: ./slip_stream-AA.sh <aspect> <offset> <rate> <vpre> # sh script.sh 480x360 +0,0 25 faster # generally works well - the offset is relative to the upper left corner of the screen I'm sure you knew that weinerboobies.
- aspect=$1
- offset=$2
- rate=$3
- vpre=$4
- ffmpeg -f x11grab -r $rate -s $aspect -i :0.0$offset -f alsa -ab 32k -ar 44100 -ac 2 -i hw:0,0 -vcodec libx264 -s $aspect -r $rate -vpre $vpre -async 1 -threads 0 -f flv 'rtmp://fme.mogulus.com/mogulus/slip_strem/username=waltjesus/password=mi11axzAB/isAutoLive=true/autoVOD=yes/autoRecord=false app=mogulus/slip_stream/username=waltjesus/password=mi11axzAB/isAutoLive=true/autoRecord=false tcurl=rtmp://fme.mogulus.com/mogulus/slip_stream/username=waltjesus/password=mi11axzAB/isAutolive=true/autoRecord=false swfUrl=rtmp://publish.livestream.com/mogulus/slip_stream/username=waltjesus/password=mi11axzAB/isAutolive=true/autoRecord=false flashver=FME/2.5\20(cqompatible;\20FMSc/0.9) live=true'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement