一. 通过ffmpeg把H265视频转对应的m3u8格式
ffmpeg -i 131.mp4 -c:v libx264 -preset slow -c:a aac -b:a 128k -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename output_%03d.ts playlist.m3u8 -threads
一. 通过ffmpeg把H265视频转对应的m3u8格式
ffmpeg -i 131.mp4 -c:v libx264 -preset slow -c:a aac -b:a 128k -f hls -hls_time 10 -hls_list_size 0 -hls_segment_filename output_%03d.ts playlist.m3u8 -threads