ffplay未在Amazon EC2上进行编译 [英] ffplay is not getting compiled on Amazon EC2

查看:48
本文介绍了ffplay未在Amazon EC2上进行编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问这个问题,因为类似stackoverflow的问题对我没有帮助.

Asking this question as similar questions of stackoverflow didn't help me.

我想在我的Amazon EC2(Linux)实例上安装ffplay工具.我已经从FFmpeg的官方 git储存库中克隆了代码.

I wanted to install ffplay tool on my Amazon EC2 (Linux) instance. I have cloned the code from FFmpeg's official git repository.

执行./configure and make.这些命令之后,没有创建ffplay二进制文件.仅生成ffmpeg,ffprobe和ffserver二进制文件.

executed ./configure and make. After these commands, there was no ffplay binary created. Only ffmpeg, ffprobe and ffserver binaries were generated.

后来尝试执行"./configure --enable-ffplay",如网络上的一些帖子所建议的那样.即使这样也不起作用.另外,我没有找到可用于测试的ffplay静态二进制文件

Later tried with executing './configure --enable-ffplay' as suggested in few posts of web. Even this didn't work. Also i did not found any static binaries of ffplay which i could use for my testing

有人可以建议我的构建过程出了什么问题吗?

Can anyone suggest what was wrong with my build procedure ?

推荐答案

ffplay 需要SDL2,因此您需要安装任何提供 SDL.h 的软件包(可能是 SDL2-devel (用于基于RHEL的发行版)或 libsdl2-dev (用于基于Debian的发行版),或

ffplay requires SDL2, so you need to install whatever package provides SDL.h (possibly SDL2-devel for RHEL based distros or libsdl2-dev for Debian based distors), or compile SDL2 if your distro does not provide it.

您将不需要-enable-ffplay :仅当您使用-disable-tools 或类似工具时,此功能才有用.

You won't need --enable-ffplay: that's only useful if you use --disable-tools or similar.

这篇关于ffplay未在Amazon EC2上进行编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆