Advertisement
Guest User

Untitled

a guest
Jun 7th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. args = ['ffmpeg', '-i', fname,
  2. '-preset', 'fast', #change this
  3. '-threads', '0', #use all available cores
  4. '-vcodec', 'libx264',
  5. '-crf', '33', '-maxrate', '400k', #quantizer scale, 0-51; 18 lossless, 51 lossy(+6=~half bitrate)
  6. '-ar', '22050',
  7. '-f', 'flv',
  8. 'rtmp://live.twitch.tv/app/' + stream_key]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement