Skip to content
gohls - Downloader for HTTP Live Streaming (HLS) streams, written in Golang
Branch: master
Clone or download
Kevin Zhang
Kevin Zhang Version 1.0.5
Latest commit 7b0446b Nov 6, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Dec 23, 2013
CHANGELOG.md Version 1.0.5 Nov 6, 2014
README.md Version 1.0.5 Nov 6, 2014
main.go

README.md

gohls

gohls - HTTP Live Streaming (HLS) downloader written in Golang

Download (source and binaries)

Download the source distribution for a tagged stable release, or download binaries for your platform. Currently, binaries are available for the following platforms:

  • Windows 64-bit
  • Mac OS X 64-bit (contributed by @nlittlejohns, compiled and tested on OS X 10.9)

Usage, options, and defaults

gohls [-l=bool] [-t duration] [-ua user-agent] media-playlist-url output-file

  • -l=false: Use local time to track duration instead of supplied metadata
  • -t=0: Recording duration (0 == infinite)
  • -ua="user-agent": User-Agent for HTTP client

The recording duration should be specified as a Go-compatible duration string.

TODO

  • Encrypted streams support?
  • Proper Ctrl-C handling
You can’t perform that action at this time.