FFMPEG: FFPLAY binary not getting generated on compilation

Viewed 23722

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

Here it shows that: SDL support no as one of the outputs. But i have sdl packages installed in my system.

However, the packages created are:

ffmpeg
ffmpeg_g
ffserver
ffserver_g
ffprobe
ffprobe_g

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.

I checked my config.log, it has the below lines:

ffplay='yes'
ffplay_deps='avcodec avformat swscale swresample sdl'
ffplay_select='rdft crop_filter'

I have the sdl packages installed in my system. What is the issue actually. Could anyone please guide me through this.

3 Answers

I ran in the same problem, as pointed by other answers in general it's due to the lack of some dependency. You can check your ffplay dependencies by running:

grep ffplay_deps ffbuild/config.log

In my case (Linux Mint 18) I get the following:

ffplay_deps='avcodec avformat swscale swresample sdl2'

So you have to install all the listed libraries/dependencies. In my particular case I had to install libsdl2-dev in order to fix the problem. If everything is Ok ffplay must appear in the configured programs. You can check this easily by running:

./configure --enable-ffplay | grep "Programs:" -A4

So you get something like:

Programs:
ffmpeg ffplay ffprobe

Related