ZLMediaKit推流拉流测试
ZLMediaKit推流拉流测试
·
首先开启ZLMediaKit服务
MediaServer -d &
通过FFmpeg命令将本地视频文件推流到ZLMediaKit:
ffmpeg -re -stream_loop -1 -i 4k.mp4 -vcodec copy -f rtsp rtsp://10.1.41.129/live/test
推流开始后,以下地址均能拉到流,通过VLC/FFplay等完成拉流:
rtsp://10.1.41.129/live/test
rtmp://10.1.41.129/live/test
http://10.1.41.129/live/test/hls.m3u8
http://10.1.41.129/live/test.live.ts
http://10.1.41.129/live/test.live.mp4
http://10.1.41.129/live/test.live.flv
更多推荐
所有评论(0)