1. Download compile and install SDL
If you need to use ffplay, need to download the source code SDL
You can download the latest stable version, I downloaded: SDL2-2.0.12.tar.gz
tar zxvf SDL2-2.0.12.tar.gz
cd SDL2-2.0.12.tar.gz
./configure
make
make install
2. Re-build configuration FFmpeg
./configure --enable-gpl --enable-sdl
make
sudo make install
3. Perform
Error:
Could not initialize SDL - No available video device
(Did you set the DISPLAY variable?)
Solution
Experiencing the above problem, most likely via Windows SSH virtual machine, it is recommended: execute commands directly in a virtual machine or a Linux system.