警告:错误的管道:没有元素“ rtmpsink”

时间:2019-04-28 03:48:58

标签: nginx ubuntu-12.04 rtmp

我执行

gst-launch-1.0 -v v4l2src ! 'video/x-raw, width=1024, height=768, 
framerate=30/1' ! queue ! videoconvert ! h264parse ! flvmux ! rtmpsink 
location='rtmp://10.168.45.142/live live=1'

发生错误:     警告错误的管道没有元素rtmpsink

nginx服务已启动,配置如下,如何解决?

rtmp {
    server {
        listen 1935;
        chunk_size 4096;
        application live {
            live on;
            record off;
        }
    }
}

1 个答案:

答案 0 :(得分:0)

您尚未为gstreamer安装所有插件。 安装gstreamer1.0-plugins-bad后,它将可以使用。

sudo apt-get install gstreamer1.0-plugins-bad
相关问题