小教程 利用 iFFmpeg 下载网上 .m3u8 的视频
1
| ./ffmpeg -i "http://metan.video.qiyi.com/20140206/9f03a676df025373f715ae5c673299f3.m3u8?v=388631877" -c copy -bsf:a aac_adtstoasc 14.mkv
|
Golang-分享一段可以直接下载新浪微博视频的小程序
m3u8内容
1
| [{"level":"hls-sd","src":"http:\/\/edu.gooann.com\/hls\/830\/stream\/sd\/z8af9TOu0HhnnZuFML2G1Jn15DqiYPOp.m3u8?hideBeginning=1?1451821046","name":"SD","bandwidth":304},{"level":"hls-hd","src":"http:\/\/edu.gooann.com\/hls\/830\/stream\/hd\/Vw5dKdVb41u2imdUEiRob0jZwPJUxewt.m3u8?hideBeginning=1?1451821046","name":"HD","bandwidth":536},{"level":"hls-shd","src":"http:\/\/edu.gooann.com\/hls\/830\/stream\/shd\/ayXBafUwRVGhfn8SRz528U1GvnNH3egH.m3u8?hideBeginning=1?1451821046","name":"SHD","bandwidth":768}]
|
进一步解析
1
| http://edu.gooann.com/hls/830/stream/sd/z8af9TOu0HhnnZuFML2G1Jn15DqiYPOp.m3u8?hideBeginning=1?1451821046
|