Advertisement
hl2guide

Stream Livestreamer 1.0 (twitch, crunchy roll, youtube)

Aug 23rd, 2015
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.70 KB | None | 0 0
  1. :: Stream Launcher for Livestreamer 1.0 (twitch, crunchy roll or youtube)
  2. :: This file helps with starting a stream (such as twitch.tv) in a video player (VLC Player) using Livestreamer.
  3. :: Requires VLC Player and Livestreamer.
  4.  
  5. :: Sources:
  6. :: Site - http://docs.livestreamer.io/
  7. :: Download - http://docs.livestreamer.io/install.html#windows-binaries
  8. :: Command Line Reference - http://docs.livestreamer.io/cli.html
  9.  
  10. :: Lines starting with :: are comments
  11. :: Save this file as "stream_video.bat" then edit step 1, 2. Then set A, B, or C.
  12.  
  13. @ECHO off
  14.  
  15. :: 1) The location of Livestreamer
  16. SET livestreamerEXE="C:\PortableApps\PortableApps\Livestreamer\livestreamer.exe"
  17.  
  18. :: 2) The location of VLC Player (64-bit or 32-bit)
  19. SET playerlocation="C:\Program Files\VideoLAN\VLC\vlc.exe"
  20.  
  21. :: A) Twitch Source Stream:
  22. SET streamURL="twitch.tv/shaboozey"
  23.  
  24. :: B) Crunchy Roll Source Stream:
  25. ::SET streamURL="crunchyroll.com/one-piece/episode-705-the-moment-of-resolution-corazons-farewell-smile-681813"
  26.  
  27. :: C) Youtube Source Stream:
  28. ::SET streamURL="youtube.com/watch?v=AWUZDPrfOcI"
  29.  
  30. :: ===QUALITY LEVELS===
  31. :: A) Twitch [twitch.tv]: best, high, medium, low, mobile or audio (in descending order)
  32. SET streamQuality=medium
  33. :: B) Crunchy Roll [crunchyroll.com]: ultra, high, mid or low (in descending order)
  34. ::SET streamQuality=mid
  35. :: C) Youtube [youtube.com]: 720p, 360p, 240p, 144p, audio_mp4, audio_webm (in descending order)
  36. ::SET streamQuality=720p
  37.  
  38. :: Run Livestreamer and open stream to video player (VLC Player by default)
  39. %livestreamerEXE% --player=%playerlocation% %streamURL% %streamQuality%
  40.  
  41. :: Please note: Minimize the command window that appears and leave it running.
  42.  
  43. PAUSE
  44.  
  45. EXIT
  46.  
  47. @ECHO on
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement