I'm looking for a way to stream to YouTube Live on my computer. I know there are various tools available for Windows, but I haven't found anything for Linux. I prefer not to use G+ Hangouts, but go right to actual streaming. Does anybody know of any tools for Linux that will stream to YouTube Live, or is there a Windows tool that works without any issues under WINE?


This is not gonna be easy, but we can do it. We will stream to Twitch.tv, which can stream to YouTube Live.

Here we go:

Preparing the libraries: Type these commands in Terminal.

sudo apt-get install ffmpeg
sudo apt-get install libx264-dev libavcodec-extra-53

The code required to stream: Open gedit/Text Editor and paste this code: http://shrib.com/ubuntu2twitch

Save the text file as twitch_stream.sh in your /home/ directory.

Obtaining a Twitch Streaming Key: Go to http://www.twitch.tv/broadcast/dashboard/streamkey and get your Streaming key. Open gedit/Text Editor and paste the key into it. Name this file as .twitch_key and save it in your /home/ directory, same as the twitch_stream.sh file.

Going live: Open Terminal and type this:

cd /home/
chmod 755 twitch_stream.sh

If there are no errors, you'll see your screen on the Twitch Dashboard.

Streaming from Twitch to YouTube: Visit http://www.twitch.tv/settings/connections to setup your YouTube account and got to your live feed to share on YouTube. If Twitch does not allow live streaming to YouTube, why not add a screen to your YouTube feed to ask users to go to Twitch?

Please upvote if you think this helped you.

A big thank you to The Game Engine for the code.

UPDATE: Got it!!! There you go: http://sourceforge.net/projects/snowmix/ Install Snowmix first.

And then GStreamer: http://gstreamer.freedesktop.org/download/ Search on Ubuntu Software Center for the same.

Now read this guide and set it up. Voila, forget Twitch and stream to YouTube directly! http://sourceforge.net/p/snowmix/wiki/Snowmix%20and%20CDNs/

  • I'm getting WARNING: erroneous pipeline: no element "faac". I did sudo apt-get install faac, but I got back faac is already the newest version. – ExplodingKittens Apr 13 '14 at 20:02
  • Wait, nope, I'm stupid, forgot to install Snowmix. XD I'll get back to you. – ExplodingKittens Apr 13 '14 at 20:20
  • Nope, still having the same problem. – ExplodingKittens Apr 13 '14 at 20:32
  • Try this out: sudo apt-get install gstreamer0.10-plugins-bad-multiverse . Thisshould install the GStreamer faac plugins and other requirements. Or download GStreamer plugins forUbuntu from Software Center. – Mayukh Nair Apr 13 '14 at 23:58
  • I got gstreamer0.10-plugins-bad-multiverse is already the newest version. in response. – ExplodingKittens Apr 14 '14 at 1:38

You can use quvi

From the author's page: quvi project parses stream URLs for Internet applications to access the media of those hosting websites that use the "adobe flash multimedia platform".

First of all, install tool:

sudo apt-get install quvi

To play the video, you can use your own favorite player: vlc, mplayer ...

Using, for example, mplayer: install, if it is not already installed:

sudo apt-get install mplayer

quvi support a lot of site, including, of course, youtube. for the complete list:

quvi --support

Now, to watch the video you just have to specifying the program to be executed to play the video and copy the youtube link and pass it as an argument to quvi:

 quvi --exec "mplayer %u" "http://www.youtube.com/watch?v=youtube_id_video"

refer to man quvi for more help.


On Linux, there's a variety of apps like Smplayer, minitube among others but if you just like to download, try youtube-dl, a command line tool for downloading you tube videos. it's written in Python. Hope that helps a little.

  • This doesn't seem remotely related to what the user is asking. – Thomas Ward Apr 9 '14 at 0:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.