Advertisement
Guest User

Untitled

a guest
Oct 28th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. I'm trying to write myself a little stream script, that should just capture my main monitor with the resolution 1900x1080. What i have so far seems to work quite fine - without sound though.
  2.  
  3.  
  4. avconv -f x11grab -s 1900x1080 -i :0.0 -r 25 -f flv rtmp://live-fra.twitch.tv/app/`cat twitch.key` -vcodec libx264 -s 1900x1080 -force_key_frames 2 -b 800k -maxrate 800k -minrate 800k -keyint_min 2
  5.  
  6.  
  7. I have tried adding sound "-f alsa -ac 2 -i pulse -acodec libmp3lame -ar 44100" - but this only gives me the error "Option video_size not found." - even tho in my opinion it is set..
  8.  
  9. the complete command then is: "avconv -f x11grab -s 1900x1080 -i :0.0 -r 25 -f flv rtmp://live-fra.twitch.tv/app/`cat twitch.key` -vcodec libx264 -s 1900x1080 -force_key_frames 2 -b 800k -maxrate 800k -minrate 800k -keyint_min 2 -f alsa -ac 2 -i pulse -acodec libmp3lame -ar 44100"
  10.  
  11.  
  12. Am i missing anything?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement