Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :: Stream Launcher for Livestreamer 1.0 (twitch, crunchy roll or youtube)
- :: This file helps with starting a stream (such as twitch.tv) in a video player (VLC Player) using Livestreamer.
- :: Requires VLC Player and Livestreamer.
- :: Sources:
- :: Site - http://docs.livestreamer.io/
- :: Download - http://docs.livestreamer.io/install.html#windows-binaries
- :: Command Line Reference - http://docs.livestreamer.io/cli.html
- :: Lines starting with :: are comments
- :: Save this file as "stream_video.bat" then edit step 1, 2. Then set A, B, or C.
- @ECHO off
- :: 1) The location of Livestreamer
- SET livestreamerEXE="C:\PortableApps\PortableApps\Livestreamer\livestreamer.exe"
- :: 2) The location of VLC Player (64-bit or 32-bit)
- SET playerlocation="C:\Program Files\VideoLAN\VLC\vlc.exe"
- :: A) Twitch Source Stream:
- SET streamURL="twitch.tv/shaboozey"
- :: B) Crunchy Roll Source Stream:
- ::SET streamURL="crunchyroll.com/one-piece/episode-705-the-moment-of-resolution-corazons-farewell-smile-681813"
- :: C) Youtube Source Stream:
- ::SET streamURL="youtube.com/watch?v=AWUZDPrfOcI"
- :: ===QUALITY LEVELS===
- :: A) Twitch [twitch.tv]: best, high, medium, low, mobile or audio (in descending order)
- SET streamQuality=medium
- :: B) Crunchy Roll [crunchyroll.com]: ultra, high, mid or low (in descending order)
- ::SET streamQuality=mid
- :: C) Youtube [youtube.com]: 720p, 360p, 240p, 144p, audio_mp4, audio_webm (in descending order)
- ::SET streamQuality=720p
- :: Run Livestreamer and open stream to video player (VLC Player by default)
- %livestreamerEXE% --player=%playerlocation% %streamURL% %streamQuality%
- :: Please note: Minimize the command window that appears and leave it running.
- PAUSE
- EXIT
- @ECHO on
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement