git clone https://github.com/ossrs/srs
cd srs/trunk
./configure && make
./objs/srs -c conf/srs.conf
ffmpeg -re -i /root/sj/ffmpeg/macheng.mp4 -c copy -f flv rtmp://lucky.yysf.xin/live/streamName
ffmpeg -re -i F:/TouchLMS/nginx/html/video/CHN4.mp4 -c copy -f flv rtmp://193.112.57.69:1935/live/streamName
http://lucky.yysf.xin:8001/live/streamName.m3u8 由于nginx的端口为8001
ffmpeg -re -i /root/sj/ffmpeg/macheng.mp4 -c copy -f flv rtmp://lucky.yysf.xin/live/streamName linux
ffmpeg -re -i F:/xmyfsj/video/macheng.mp4 -c copy -f flv rtmp://lucky.yysf.xin/live/streamName windows
ffmpeg将flv转换成mp4
ffmpeg -i D:mntceshi.flv ceshi.mp4