FFMPEG:编译时未生成FFPLAY二进制文件 [英] FFMPEG: FFPLAY binary not getting generated on compilation
问题描述
我从以下位置下载了具有FFPLAY启用代码的FFMPEG: https://github.com/cus/ffplay
I have downloaded FFMPEG with FFPLAY enabled code from: https://github.com/cus/ffplay
我使用以下命令来配置和制作软件包:
I use the following command to configure and make the package:
./configure --enable-ffplay
make
此处显示: SDL不支持
作为输出之一.但是我的系统中安装了sdl软件包.
Here it shows that:
SDL support no
as one of the outputs. But i have sdl packages installed in my system.
但是,创建的包是:
ffmpeg
ffmpeg_g
ffserver
ffserver_g
ffprobe
ffprobe_g
我已经推荐了该帖子:http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFMPEG-with-ffplay-support-td3414041.html 但这没有帮助.
I have referred this post : http://ffmpeg-users.933282.n4.nabble.com/Compiling-FFMPEG-with-ffplay-support-td3414041.html But this didn't help out.
我检查了config.log,其中包含以下几行:
I checked my config.log, it has the below lines:
ffplay='yes'
ffplay_deps='avcodec avformat swscale swresample sdl'
ffplay_select='rdft crop_filter'
我的系统中安装了sdl软件包.到底是什么问题.谁能指导我完成这个任务.
I have the sdl packages installed in my system. What is the issue actually. Could anyone please guide me through this.
推荐答案
在ubuntu 13.04中,这是如何安装 libsdl-dev :
In ubuntu 13.04, this is howto install libsdl-dev:
sudo apt-get install libsdl1.2-dev
sudo apt-get install libsdl1.2-dev
sudo apt-get install libsdl2-dev#16.04及更高版本 https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
sudo apt-get install libsdl2-dev # 16.04 and up https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
检查是否已安装dev-package的一种方法是查看是否已安装以下二进制文件:
One way to check if the dev-package is installed is to see if the following binary is installed:
$ which sdl-config
/usr/bin/sdl-config
并且,请考虑使用官方的git-repo:
And, consider to use the official git-repo:
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
这篇关于FFMPEG:编译时未生成FFPLAY二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!