简体   繁体   English

找不到GStreamer x264enc

[英]GStreamer x264enc not found

I installed GStreamer-0.10 and all modules (base, good, bad, ugly, ffmpeg) according to these instructions (browse through by clicking prev/next): http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gst-plugins-ugly.html 我按照以下说明(单击“上一步/下一步”浏览以了解内容)安装了GStreamer-0.10和所有模块(基本,好,坏,丑陋,ffmpeg): http : //www.linuxfromscratch.org/blfs/view/svn/multimedia /gst-plugins-ugly.html

Everything seemed to have worked just fine but when I want to execute my pipeline I got this error: 一切似乎都正常,但是当我想执行管道时,出现了以下错误:

glib.GError: no element "x264enc"

Apparently the module was not installed: 显然未安装模块:

gst-inspect x264enc
No such element or plugin 'x264enc'

After that I installed the codec by executing: 之后,我通过执行以下命令安装了编解码器:

sudo apt-get install x264

This did not work either. 这也不起作用。 So I installed the latest build manually: http://www.videolan.org/developers/x264.html 因此,我手动安装了最新版本: http : //www.videolan.org/developers/x264.html

After a successful installation of x264 I ran ./configure on the gstreamer-0.10 ugly modules once again and found out about this: 成功安装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

A check if x264 is available seems to get fullfilled: 检查x264是否可用:

which x264
/usr/local/bin/x264

I'm using ubuntu server 12.04 LTS. 我正在使用ubuntu服务器12.04 LTS。 Any ideas what I have to do to compile this module properly? 我有什么想法才能正确编译此模块? Thanks! 谢谢!

Try to install it using: 尝试使用以下方法安装它:

sudo apt-get install gstreamer1.0-plugins-ugly

OR 要么

sudo apt-get install gstreamer0.1-plugins-ugly

It worked for me. 它为我工作。

I had the same issue with Ubuntu 14.04 and gstreamer-1.0. 我在Ubuntu 14.04和gstreamer-1.0中遇到了相同的问题。 For me, it helped to additionally install libx264-dev: 对我来说,它有助于额外安装libx264-dev:

sudo apt-get install libx264-dev

The problem here was that x264 was not properly installed. 这里的问题是未正确安装x264。 I checked the x264 source directory and the installation destinations and some files were missing. 我检查了x264源目录和安装目标,并丢失了一些文件。 After manually copying them into the respective directories recompiling the gstreamer ugly module worked. 手动将它们复制到相应目录后,重新编译gstreamer ugly模块即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 编译C ++代码或x264本身时找不到libx264.so.146 - libx264.so.146 not found while compiling C++ code or x264 itself gstreamer:没有可用于“音频/x-wav”类型的解码器/找不到合适的插件 - gstreamer: No decoder available for type 'audio/x-wav' / no suitable plugins found python gstreamer脚本错误消息无元素“ h264parse” - python gstreamer script error message no element “h264parse” ffmpeg 配置错误:找不到 libx264 - ffmpeg configure ERROR: libx264 not found CLion在Ubuntu 16.04 LTS上找不到gstreamer - gstreamer not found by CLion on Ubuntu 16.04 LTS redmine 安装失败,ruby 3.0.4,mysql2 (0.5.4)“未定义方法'split'”“找不到rb_enc_interned_str” - redmine install failure, ruby 3.0.4, mysql2 (0.5.4) "undefined method 'split'" "rb_enc_interned_str not found" Gstreamer - 警告没有可用于“应用程序/x-id3”类型的解码器 - Gstreamer - WARNING No decoder available for type 'application/x-id3' Gstreamer总线调用icw python多处理导致Ubuntu中的X服务器错误 - Gstreamer bus calls i.c.w. python multiprocessing cause X server errors in Ubuntu Xubuntu 16.04“重击:别名:X:未找到” - Xubuntu 16.04 “Bash: Alias: X: not found” 在OS X终端上找不到-lncurses的库 - library not found for -lncurses on OS X terminal
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM