feasel

Using livestreamer for race commentary

Mar 31st, 2016
803
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. Sometimes it is necessary to delay the stream you are watching in order to sync up your commentary with the gameplay that the viewers are seeing. You can NOT do this if you are watching in a web-browser-based player (if you pause and unpause it simply reloads the stream instead of delaying playback).
  2.  
  3. What you need is Livestreamer:
  4. https://github.com/chrippa/livestreamer/releases/download/v1.12.2/livestreamer-v1.12.2-win32-setup.exe
  5.  
  6. Make sure you have VLC Media Player installed before you install livestreamer. You can get VLC here:
  7. http://get.videolan.org/vlc/2.2.2/win32/vlc-2.2.2-win32.exe
  8.  
  9. After VLC is installed you can install livestreamer. You can do the default installation and it should already be configured to use VLC. If you want to use other video players with livestreamer besides VLC you'll need to edit the config file ("livestreamerrc").
  10.  
  11. You WILL need a twitch authentication token to use livestreamer. You can put that token into your livestreamerrc config file so that you don't have to enter the token on the command line every time. Here's how: http://pastebin.com/RM0uwz1D
  12.  
  13. To run livestreamer you can press Windows-R to open the Run dialog box. Enter the following:
  14.  
  15. livestreamer twitch.tv/stream_name best
  16.  
  17. where "stream_name" is the twitch name of the stream you want to watch. It is important that you include "best" at the end of the line or else it won't work. (For some streams you can write "medium" or "low" instead for lower quality)
  18.  
  19. This will launch a VLC window that plays back the stream. In VLC you can pause (or press the spacebar) and then unpause again to add some delay to the stream you're watching. Do this if the chat is saying that your commentary is happening ahead of the action (i.e. spoilers).
  20.  
  21. If you are behind the action, i.e. your commentary is happening too late, (which occurs sometimes after a stream has been running for a while) you can move ahead in the buffer by pressing the "n" key. Each time you press "n" it will advance you a few seconds. If you advance too far the stream will halt for a few seconds and then begin playing again (or it might stop completely in which case you can just close it and re-launch livestreamer to get rid of the delay).
  22.  
  23. One drawback about using livestreamer is that if the player's stream drops momentarily VLC will quit. If this happens just run livestreamer again.
  24.  
  25. If you want to know whether you are synced up you can ask the person running the broadcast to tell you what the timer currently says on the player's stream.
Add Comment
Please, Sign In to add comment