Aria2c M3u8 Updated -
echo "[5] Cleaning up..." rm segment*.ts ffmpeg_concat.txt merge_list.txt playlist.m3u8 ts_urls.txt
Better yet, use ffmpeg directly to avoid re-encoding: aria2c m3u8
(using grep or a script), then download them in parallel: echo "[5] Cleaning up
Most people use ffmpeg for HLS downloads ( ffmpeg -i playlist.m3u8 -c copy video.mp4 ). So why add aria2c ? aria2c m3u8