Skip to content

Instantly share code, notes, and snippets.

@Asparagirl
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Asparagirl/8f6b52e2cedc055ec1fb to your computer and use it in GitHub Desktop.
Save Asparagirl/8f6b52e2cedc055ec1fb to your computer and use it in GitHub Desktop.
How to download a streaming Livesteam.com video to a server

How to download a streaming Livesteam.com video to a server

Install

First, install the program Livestreamer, whose docs are online here: http://livestreamer.readthedocs.org/en/latest/index.html

On Debian or Ubuntu, that would be:

sudo apt-get install livestreamer

On a Mac, that would be:

sudo easy_install -U livestreamer

or

sudo pip install -U livestreamer

Pass Values

export VIDEO_TO_SAVE="http://new.livestream.com/kstu/live"
export FILENAME="Desktop/MyVideo.mpg"
livestreamer $VIDEO_TO_SAVE best --output $FILENAME --verbose-player 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment