我已使用以下命令和创建的应用程序目录下载Gstreamer的GIT回购
git clone git://anongit.freedesktop.org/git/gstreamer/gstreamer
sudo mkdir -p /apps/gstreamer/git
使用以下命令构建源代码
./autogen.sh
./configure --prefix=/apps/gstreamer/git --enable-gtk-doc
time make -j$(nproc)
sudo make install
更新了所需的环境变量,如下所示
export PKG_CONFIG_PATH=/apps/gstreamer/git/lib/pkgconfig
export LD_LIBRARY_PATH=/apps/gstreamer/git/lib
export PATH=/apps/gstreamer/git/bin:$PATH
我可以看到gst-launch-1.0
二进制文件出现在我的环境中。现在我正在使用以下管道
./gst-launch-1.0 audiotestsrc ! audioconvert ! autoaudiosink
给我以下错误
0:00:00.001778784 12428 0xc96ec0 ERROR GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "audiotestsrc"
0:00:00.001826395 12428 0xc96ec0 ERROR GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "audioconvert"
0:00:00.001839183 12428 0xc96ec0 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no source [sink=@(nil)]
0:00:00.001859200 12428 0xc96ec0 ERROR GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "autoaudiosink"
0:00:00.001871881 12428 0xc96ec0 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no source [sink=@(nil)]
ERROR: pipeline could not be constructed: no element "audiotestsrc".
你能告诉我我错过哪些步骤吗?任何帮助都是适用的。
由于