avatar
童琦杰
向死而生
githubmusic
2020-08-09编辑

ffmpeg

Download

bash
ffmpeg -i http://www.xxx.com/xxx.m3u8 name.mp4

Mp3 to m3u8

bash
ffmpeg -i source.mp3 -c:a libmp3lame -b:a 128k -map 0:0 -f segment -segment_time 10 -segment_list name.m3u8 -segment_format mpegts name%03d.ts