【发布时间】:2013-06-25 22:11:01
【问题描述】:
我根据这些说明安装了 GStreamer-0.10 和所有模块(基本、好、坏、丑、ffmpeg)(通过单击上一个/下一个浏览): http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gst-plugins-ugly.html
一切似乎都很好,但是当我想执行我的管道时,我得到了这个错误:
glib.GError: no element "x264enc"
显然该模块没有安装:
gst-inspect x264enc
No such element or plugin 'x264enc'
之后我通过执行安装了编解码器:
sudo apt-get install x264
这也不起作用。所以我手动安装了最新版本: http://www.videolan.org/developers/x264.html
在成功安装 x264 后,我再次在 gstreamer-0.10 丑陋的模块上运行 ./configure 并发现了这一点:
configure: *** checking feature: x264 plug-in ***
configure: *** for plug-ins: x264 ***
checking for X264... no
configure: No package 'x264' found
configure: *** These plugins will not be built: x264
configure: creating ./config.status
检查 x264 是否可用似乎已完成:
which x264
/usr/local/bin/x264
我使用的是 ubuntu 服务器 12.04 LTS。任何想法我必须做什么才能正确编译这个模块?谢谢!
【问题讨论】:
标签: ubuntu x264 libx264 gstreamer