https://blog.csdn.net/AndyQsmart/article/details/102975108
https://github.com/songs18/m3u8_To_MP4
import m3u8_To_MP4
m3u8_To_MP4.multithread_download('https://tophy.qoqkkhy.com/202309/03/iTaFVu96Ng3/video/1000k_0X720_64k_25/hls/index.m3u8',
mp4_file_name='1074.mp4',
tmpdir='./')
ffmpeg -y -f concat -threads 8 -safe 0 -i "ts_recipe.txt" -c copy "./1074.mp4