L.G.C. |How-To| — Broadcasting To Twitch.tv And Justin.tv With Linux

Valve just announced the Linux version of L4D “runs faster than the Windows version”. So; you might want to get familiar with broadcasting to Twitch.tv and Justin from Linux.

System:
Ubuntu 12.04 32-bit
AMD 640 X4
5GB Memory
GeForce GTX 650 Ti

Links: 
R/Linux_gaming: www.reddit.com/r/linux_gaming
Script: gist.github.com/3178130
Justin: www.justin.tv/
Twitch: www.twitch.tv/linuxgamecast

15 Comments
  1. Do you realize how surreal it is to go around looking for better ways to stream to twitch.tv and find a script that was built on a script you did a vid for and never realized it was done?  Talk about super surreal man.  I’m going to play with the avconv some (am currently using ffmpeg to stream to twitch) and see if I can get better quality on the vid & audio.  Still blows my mind that this has gotten out as much as it has.

    ~Taladan

  2. I wonder if my box can handle this. i am a little worried by yours specs in comparison to mine
    AMD FX eight core
    Nvidia GTX 550 ti
     8 Gb memory
    so this will be interesting will be back with results. Nice voice BTW.

  3.  Unrecognized option ‘preset’
    Failed to set value ‘medium’ for option ‘preset’
     that is odd i have ffmpeg any ideas

  4. Our new box is an eight core AMD as well. You should be fine if streaming is your only concern. We are streaming, recording locally in 720p, running three virtual cams and a few Skype instances. 

    On the other bit. I think avconv changed the names of the presets since the original script. Look them up and use as needed. 

  5. Unrecognized option ‘preset’

    Failed to set value ‘fast’ for option ‘preset’

    ??????

  6. you need to install libavcodec-extra-53. i set my output for ‘ultrafast’ and it works fine. Im just having problems with audio now.

  7. [email protected]:~/Desktop$ sh Twitch.sh

    avconv version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav developers

    built on Mar 30 2013 22:20:06 with gcc 4.7.2

    [x11grab @ 0xe30f20] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1280 height: 800

    [x11grab @ 0xe30f20] Could not open X display.

    :0.0: Input/output error

    [email protected]:~/Desktop$

  8. This is frakin great! How do you control your mixing levels tho? Straight from the sound settings in your distro?

  9. Worked great thx. Mono issue is a little different tho. Got my on board mic working fine. It’s just when I use my Mbox Mini with phantom power and condenser mic (much better mic) that I can’t get mono. No biggies tho. One works for now. Thx.

  10. is there a way for the input to be a windowed mode game? my box isn’t very powerful so I play Bastion and SS3 BFE in windowed modes. So i don’t want the input res to be my entire desktop but only the game window. Any help would be appreciated.

Leave Your Reply