ffmpeg -i (要转换的视频文件路径) -profile:v baseline -level 3.0 -s 1920x1080 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls (转出的m3u8文件路径)

如mp4转m3u8
ffmpeg -i G:sp1.mp4 -profile:v baseline -level 3.0 -s 1920x1080 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls G:sp11.m3u8

Last modification:February 19th, 2020 at 02:21 pm
如果觉得我的文章对你有用,请随意赞赏