Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
1  
It's possible. Take a twitch streaming guide, and change the twitch urls for the youtube stream url. –  Yet Another User Jan 12 at 4:36
    
take a look at this: ubuntuhandbook.org/index.php/2013/09/… –  riccivr Apr 10 at 14:59

3 Answers 3

up vote 2 down vote accepted
+50

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
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/

share|improve this answer
    
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. –  Sil Apr 13 at 20:02
    
Wait, nope, I'm stupid, forgot to install Snowmix. XD I'll get back to you. –  Sil Apr 13 at 20:20
    
Nope, still having the same problem. –  Sil Apr 13 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 at 23:58
    
I got gstreamer0.10-plugins-bad-multiverse is already the newest version. in response. –  Sil Apr 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.

share|improve this answer

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.

share|improve this answer
    
This doesn't seem remotely related to what the user is asking. –  Thomas W. Apr 9 at 0:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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