Advertisement
Guest User

Untitled

a guest
Aug 9th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. #!/bin/zsh
  2. #### this script is for desktop capture - use slip_stream-file.sh for file streaming.
  3. # 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.
  4.  
  5. aspect=$1
  6. offset=$2
  7. rate=$3
  8. vpre=$4
  9. 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