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.
In ubuntu 13.04, this is howto install libsdl-dev:
sudo apt-get install libsdl1.2-dev
sudo apt-get install libsdl2-dev # 16.04 and up https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
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
And, consider to use the official git-repo:
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With