gstreamer 1.0已卸载到&;的链接;使用外部x264enc

gstreamer 1.0已卸载到&;的链接;使用外部x264enc,gstreamer,Gstreamer,我已经通过git安装了最新的gstreamer,并将其卸载到 /home/ec2 user/gst/master/ 要启动GST我使用,cd/home/ec2 user/GST/商品及服务税硕士;myGstProg。当我测试x264enc时,找不到 [ec2-user@xxxxxx master]$ gst-inspect-1.0 x264enc No such element or plugin 'x264enc' 作为我们正常开发构建的一部分,我们编译并安装了gst和x264enc [ec

我已经通过git安装了最新的
gstreamer,并将其卸载到

/home/ec2 user/gst/master/

要启动
GST
我使用,
cd/home/ec2 user/GST/商品及服务税硕士;myGstProg
。当我测试
x264enc
时,找不到

[ec2-user@xxxxxx master]$ gst-inspect-1.0 x264enc
No such element or plugin 'x264enc'
作为我们正常开发构建的一部分,我们编译并安装了
gst
x264enc

[ec2-user@xxxxxx ~]$ gst-inspect-1.0 x264enc
Factory Details:
  Rank                     primary (256)
  Long-name                x264enc
  Klass                    Codec/Encoder/Video
  Description              H264 Encoder
  Author                   Josef Zlomek <josef.zlomek@itonis.tv>, Mark Nauwelaerts <mnauw@users.sf.net>

Plugin Details:
  Name                     x264
  Description              libx264-based H264 plugins
  Filename                 /home/myBin/lib/gstreamer-1.0/libgstx264.so
首先,我复制了
/home/myBin/lib/gstreamer-1.0/libgstx264.so
/home/ec2 user/gst/test\libs/libgstx264.so
并添加了
LD\u LIBRARY\u PATH=/home/ec2 user/gst/test\libs:$LD\u LIBRARY\u PATH
主/gstreamer/scripts/gst卸载的


如何/如何在
/home/ec2 user/gst
下更新以包含
x264enc
元素?

由于我无法发表评论,请注意:

在我看来,问题在于当试图编译GST\u Head时,一些库丢失了,并且拒绝编译x264插件

此插件位于gst插件库中

在我的计算机中,例如
(gstreamer未安装1.10.1版)
,如果我启动
/autogen.sh
/configure
,参考
x264
插件,它会打印下一个内容:

configure: *** checking feature: x264 plug-in ***
configure: *** for plug-ins: x264 ***
checking for X264... yes
configure: *** These plugins will be built: x264
checking that generated files are newer than configure... done
它正在给你打印同样的东西吗

您还应该检查系统上是否正确安装了
x264
libx264-*
库,否则configure将无法编译
x264
插件


希望这有帮助。

这是奇怪的一点,如果我尝试卸载
我会得到
检查X264。。。否
如果我使用正常安装的,我会检查X264。。。是
和您一样。我猜卸载的脚本正在覆盖某些位置变量,并忽略已安装目录的系统变量。我假设
/gst master
脚本是
/gstreamer/scripts
文件夹中的
gst uninstalled
脚本。您是否在此脚本中更改了MYGST变量以指向您的gstreamer git checkout文件夹?如果在卸载的环境中运行
gst-inspect-1.0
,将显示多少插件和功能?
configure: *** checking feature: x264 plug-in ***
configure: *** for plug-ins: x264 ***
checking for X264... yes
configure: *** These plugins will be built: x264
checking that generated files are newer than configure... done