Skip to content

Download HLS format video (.m3u8) with command line.

Notifications You must be signed in to change notification settings

jacul/HLSDownload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

HLSDownload

Download HLS format video with bash command line.

Usage

You need bash environment at least.

  • Download download-hls.sh to a folder.

  • Open terminal.

  • Change directory to the folder where you put the download.sh file.

  • You may need to give it proper permission to execute. Type following command:

chmod u+x download-hls.sh

This only needs to be run once.

  • Download the media file. You need the remote file(.m3u8)'s URL.
./download-hls.sh <URL> [filename]

filename is optional. If empty, save as "save.ts".

Notes

Only supports certain types of HLS format.

About

Download HLS format video (.m3u8) with command line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages