
ffmpeg
-i"rtsp://admin:a1234567@192.168.2.128:554/cam/realmonitor?channel=1&subtype=1" -vcodec copy -acodec copy
-vbsf h264_mp4toannexb -f hls -hls_time 2 -hls_wrap 10"D:\xampp\htdocs\hb.m3u8"
这里采集软件和存放的播放文件一定是在同一台服务器上。

查看生成的文件:

开启本地的http服务后访问:播放文件所在目录为http服务的根目录。

网友评论