NGINX和FFMPEG 做流媒体服务器。
启动命令
nginx.exe -c conf\nginx-iptv.conf
ffmpeg -re -i “http://dcte1.***.cn:8880/live/cctv1/index.m3u8” -f flv -r 25 -s 640x480 -an “rtmp://127.0.0.1:1935/hls/mystream”
ffplay.exe “rtmp://127.0.0.1:1935/hls/mystream”
ffplay.exe “http://127.0.0.1:18080/hls/mystream.m3u8”
ffmpeg -re -i “http://dcte1.***.cn:8880/live/cctv2/index.m3u8” -vcodec copy -f flv “rtmp://127.0.0.1:1935/hls/cctv2”