1、运行nginx服务:
cmd命令运行切换目录 cd/ e: cd E:\nginx nginx.exe -c conf/nginx-win.conf
2、ffmpeg视频推流
cmd命令切换目录 cd/ e: cd E:\ffmpeg\bin ffmpeg.exe -i "rtsp://admin:xxxx@192.168.10.18:554/h264/ch1/main/av_stream" -tune zerolatency -vcodec libx264 -preset ultrafast -b:v 400k -s 480x270 -r 25 -an -acodec aac -b:a 64k -f flv "rtmp://192.168.7.79:20050/myapp/test"
3、打开VLC打开网络串流查看 rtmp://192.168.7.79:20050/myapp/test
相关资源地址:
nginx: https://download.csdn.net/download/glmushroom/12805926
ffmpeg:https://download.csdn.net/download/glmushroom/12805957