linux - 如何在 Openshift 中安装 FFMPEG?

标签 linux ffmpeg centos openshift redhat

我看到了这个教程,但无法让它工作

https://medium.com/ken-m-lai/how-to-install-ffmpeg-on-openshift-d975a6a91d9e#.wvsok37v1

这一步失败了:

cd ffmpeg-2.0.1

make

make install

make 命令和 make install 说找不到一些文件:

Makefile:2: config.mak: No such file or directory
Makefile:48: /common.mak: No such file or directory
Makefile:91: /libavutil/Makefile: No such file or directory
Makefile:91: /library.mak: No such file or directory
Makefile:168: /doc/Makefile: No such file or directory
Makefile:169: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.

两者都抛出相同的错误。 任何人都知道如何在 Openshift 上安装 FFMPEG 或如何解决此错误?

最佳答案

1) Type './configure' to create the configuration. A list of configure options is printed by running 'configure --help'.

'configure' can be launched from a directory different from the FFmpeg sources to build the objects out of tree. To do this, use an absolute path when launching 'configure', e.g. '/ffmpegdir/ffmpeg/configure'.

2) Then type 'make' to build FFmpeg. GNU Make 3.81 or later is required.

3) Type 'make install' to install all binaries and libraries you built.

NOTICE

  • Non system dependencies (e.g. libx264, libvpx) are disabled by default.

如果您阅读了 INSTALL 自述文件,它说要先运行 ./configure,您做到了吗?

我没有办法对此进行测试,但查看文件的来源,它似乎在某个时候创建​​了 config.mak

关于linux - 如何在 Openshift 中安装 FFMPEG?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38556391/

相关文章:

c++ - 在 C++ 客户端套接字应用程序中等待传入数据

linux - 将文本中的特定行替换为另一个文本中的特定行

php - 视频上传格式无效

linux - 了解 CentOS 7 上的性能结果

linux - 如何删除现有的 ip 隧道

Python 找不到我的文本文件?

macos - 使用 FFmpeg 从 Mac 流式传输网络摄像头

ffmpeg -hls_init_time -hls_time 不一起工作?

php rename() 权限被拒绝使用 exec cmd 行

windows - 是否有任何无效的 linux 文件名?