美文网首页
Ubuntu搭建CrtmpServer

Ubuntu搭建CrtmpServer

作者: OnlyRose | 来源:发表于2017-11-18 14:43 被阅读11次

    apt-get install wget cmake

    apt-get install libssl-dev

    wget https://codeload.github.com/j0sh/crtmpserver/zip/centosinit

    unzip centosinit

    cd builders/cmake

    cmake .

    make

    ./crtmpserver/crtmpserver ./crtmpserver/crtmpserver.lua

    #开始推流测试

    ffmpeg  -i test.flv  -f flv rtmp://192.168.32.128/live/mgg

    ffmpeg -re -i test.mp4 -c copy -f flv rtmp://192.168.32.128/live/mgg

    #使用vlc播放 rtmp://192.168.1.44/live/mgg

    #使用ffplay播放 ffplay rtmp://192.168.1.44/live/mgg  -fflags nobuffer

    相关文章

      网友评论

          本文标题:Ubuntu搭建CrtmpServer

          本文链接:https://www.haomeiwen.com/subject/wpvevxtx.html