Today, we will learn how to download videos from Twitch.tv. If you don't know what Twitch.tv is, it is a live streaming website for video games and gamers. You will see a lot of E-Sport tournaments, people raiding in WoW, and mostly a great community of people sharing an interest in games and e-sports. That's enough of me trying to sell it to you, this is how you can download videos to your computer.
Update: I created a Website to make this full process easier. You can find it at TwitchTools.com. I'll keep this tutorial up though just in case you wish to know how it is done.
Notice: Some materials are subject to copyright law so use the below instructions at your own risk. Also to show support to streamers please watch their streams / VoD's from Twitch.tv instead of downloading if it is an option. Some streamers make a living from Twitch.tv streaming from advertisements.
- Navigate to the video you wish to download. You can only download videos that are not currently live and are public or you have access to.
- Open the Inspect Element Tool by right clicking somewhere on the page and going to "Inspect Element" or by pressing F12. In this window make sure you go to the "Network" tab.
- Reload the webpage with the video so the network tab updates to show you the video address we can download from. You may have to wait for the video to start playing after any advertisements.
- Under "Name / Path" look for "live_user_[username]". There might be one or two of these, both of them will work. Once you find it, Right Click and "Open Link in New Tab" to start downloading. In older version of Chrome you may have to "Copy Link Address" and paste it in a new tab.
- Since this only downloads 30 minute segments, you will have to repeat step 4 after moving the video time up 30 minutes each time. You will get another network element that you need to navigate to.
To get a specific quality, you will have to clear the "Network" tab by clicking the circle with a line through it on the bottom left. After clearing the Network Tab, change the quality of the video in the player. You should see "format_[240p/360p/480p/720p/etc]" this is the URL you will want to repeat step 4 on, but under this new name.
The video will download as a "flv" file, or "Flash Video". Using VLC you will be able to play the file just fine. If the video doesn't have sound, you can check the codec of the file. It most likely will have the Speex or SPX codec. This codec is fairly rare. I would try playing the video using FFPlay, and see where that gets you.