ffmpeg
.\ffmpeg.exe -i E:\\ffmepg\\test.mp4 -c copy -strict -2 -bsf:v h264_mp4toannexb -f hls -hls_list_size 0 -hls_time 3 -hls_segment_filename 'E:\ffmepg\m3u8\file%04d.ts' E:\ffmepg\m3u8\test.m3u8
ffmpeg
ffmpeg的
.\ffmpeg.exe -i E:\\ffmepg\\test.mp4 -c copy -strict -2 -bsf:v h264_mp4toannexb -f hls -hls_list_size 0 -hls_time 3 -hls_segment_filename 'E:\ffmepg\m3u8\file%04d.ts' E:\ffmepg\m3u8\test.m3u8