Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

下载的TS文件流如何合并

Yxn edited this page Nov 27, 2018 · 2 revisions

依赖条件

使用方法

ffmpeg -protocol_whitelist "file,http,https,tcp,tls,crypto" -i m3u8文件名 合并后的文件

ffmpeg -protocol_whitelist "file,http,https,tcp,tls,crypto" -i 123.m3u8 123.mp4

如果上面的命令执行失败那么请执行下面的方法(@Toddwunz)

ffmpeg -i "filename.m3u8" -c copy -bsf:a aac_adtstoasc "filename.mp4"
Clone this wiki locally