Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Gstreamer 警告:错误管道:无元素“;“美国之音”;_Gstreamer - Fatal编程技术网

Gstreamer 警告:错误管道:无元素“;“美国之音”;

Gstreamer 警告:错误管道:无元素“;“美国之音”;,gstreamer,Gstreamer,我试着去执行 gst-launch-1.0 -em rtpbin name=rtpbin latency=5 udpsrc port=5102 caps="application/x-rtp,media=(string)audio,clock-rate=(int)48000,encoding-name=(string)OPUS" ! rtpbin.recv_rtp_sink_0 rtpbin. ! queue ! rtpopusdepay ! opusdec ! audioconvert ! a

我试着去执行

gst-launch-1.0 -em rtpbin name=rtpbin latency=5 udpsrc port=5102 caps="application/x-rtp,media=(string)audio,clock-rate=(int)48000,encoding-name=(string)OPUS" ! rtpbin.recv_rtp_sink_0 rtpbin. ! queue ! rtpopusdepay ! opusdec ! audioconvert ! audioresample ! voaacenc ! mux. udpsrc port=5104 caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" ! rtpbin.recv_rtp_sink_1 rtpbin. ! queue ! rtph264depay ! h264parse ! mux. flvmux name=mux streamable=true ! rtmpsink sync=false location="rtmp://127.0.0.1:1935/show/stream live=1"

不幸的是,它引发了一个错误:警告:错误的管道:没有元素“voaacenc”

您是否尝试运行了
gst inspect voaacenc


尝试安装
gst插件坏了
,应该可以解决问题

您是否尝试运行
voaacenc


尝试安装
gst插件坏了
,应该可以解决问题

请接受答案,以防它解决了问题。抱歉忘了提及,我正在使用CentOSTry导出环境变量export GST_PLUGIN_PATH=/usr/lib/gstreamer-1.0:$GST_PLUGIN_PATH请接受答案,以防它解决了问题。抱歉忘了提及,我使用CentOSTry导出环境变量export GST\u PLUGIN\u PATH=/usr/lib/gstreamer-1.0:$GST\u PLUGIN\u PATH