C Program to Download VoD HLS (.m3u8) Live Video Streaming Files From URL in Command Line

  • Post author:
  • Post category:c++
  • Post comments:0 Comments

 

hlsdl

This program converts .m3u8 playlists (using fragmented MPEG-2 Transport Streams) to a .ts video. It supports decryption of both AES-128 and SAMPLE-AES encryption.

Requirements

This program requires libcurl and libcrypto libraries.

Build

hlsdl build

Linux: make && make install && make clean

Windows: https://github.com/selsta/hlsdl/blob/master/msvc/BUID_WINDOWS.txt

Usage and Options

./hlsdl [options] url


ToDo

  • support for Fragmented MPEG-4 playlist
  • support for EXT-X-MAP in the MPEG-2 Transport Streams playlist

Ideas

  • Multithreading

 

 

https://github.com/selsta/hlsdl

 

Leave a Reply