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 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/
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:
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"
man quvi for more help.