使用 mediastreamsegmenter 创建实时 HLS 流

XAMPP Setting Alt none

mediastreamsegmenter -s 10 -f /Applications/XAMPP/htdocs/hls/  127.0.0.1:2222

VLC Open Source Setting Alt none

VLC Streaming/Saving Setting Alt none

VLC Open File

Play Live HLS Stream

ffplay http://192.168.0.102/hls/prog_index.m3u8