This Go project is designed to download and transcode video files from HLS (HTTP Live Streaming) into MP4 format. The program downloads video segments from an HLS playlist, decrypts them if necessary, merges them into a single file, and then transcodes the merged file into MP4 using ffmpeg.
You should only use this for research purposes. To download the boomstream video.
To use this program, you need to provide the HLS playlist URL, the path to store the downloaded files, and the decryption key if the segments are encrypted.
go run main.go -p http://chunklist.m3u8 -s path/to/videos -x bla_bla_bla -c cipherkeyvalue