Linux 如何安装 X264

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6238919/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-05 04:20:49  来源:igfitidea点击:

How to install X264

linuxgtkdependenciesx264

提问by node ninja

I'm trying to make a program. When I run ./configure, this is what I get:

我正在尝试制作一个程序。当我运行 ./configure 时,这就是我得到的:

checking for X264... configure: WARNING:
Test application not built (x264 codec missing).
Either you have not installed x264, or you
have not installed it with the Gtk+ interface.
If you compile it from source, add these options
to configure:
--enable-shared
--enable-gtk

I have installed various packages that are related to x264 and gtk, but I'm still getting this message. Which packages do I need to install?

我已经安装了与 x264 和 gtk 相关的各种软件包,但我仍然收到此消息。我需要安装哪些软件包?

采纳答案by Matthieu

I used this howtoto install ffmpeg and x264 on my machine...

我用这个howto在我的机器上安装了ffmpeg和x264...