SRS服务器搭建,ffmpeg 本地推流

Posted 懒企鹅

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SRS服务器搭建,ffmpeg 本地推流相关的知识,希望对你有一定的参考价值。

参考:

    https://github.com/ossrs/srs/wiki/v2_CN_SampleFFMPEG
git clone https://github.com/ossrs/srs
cd srs/trunk
./configure
make
make install

./objs/srs -c conf/ffmpeg.conf
其中: ./configure --with-ffmpeg && make 
如果编译失败就去掉--with-ffmpeg,自己安装ffmpeg
本地推流: ffmpeg -re -i /root/Videos/aaa.mp4 -c copy -f flv rtmp://192.168.2.125:1935/live/aaa

 

以上是关于SRS服务器搭建,ffmpeg 本地推流的主要内容,如果未能解决你的问题,请参考以下文章