[FFmpeg-user] compile ffmpeg missing Xlib, or indevs is empty
密思刘
yjdwbj at gmail.com
Sun Jan 15 02:29:30 EET 2017
ffmpeg-3.2.2/b4$../configure --disable-ffplay --disable-ffprobe
--disable-ffserver --disable-doc --disable-htmlpages --disable-manpages
--disable-podpages --disable-txtpages --disable-logging --disable-protocols
--enable-protocol='file,data,pipe' --disable-encoders --enable-encoder=gif
--disable-decoders --enable-decoder='gif,rawvideo' --disable-outdevs
--disable-filters --enable-filter='scale,zscale' --disable-muxers
--enable-muxer='gif,rawvideo' --disable-demuxers
--enable-demuxer='gif,rawvideo' --disable-hwaccels --disable-parsers
--disable-bsfs --disable-indevs --enable-indev='dshow,x11grab'
--extra-libs=-static --extra-cflags=--static --disable-sdl2
--disable-bzlib --disable-vdpau --disable-xvmc --disable-nvenc
--enable-gpl --enable-nonfree --enable-x11grab
ERROR: Xlib not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Rerun configure with logging enabled (do not use --disable-logging), and
include the log this produces with your report.
----------------------------------------------------------------------
dpkg -l | grep "libx11"
ii libx11-6:amd64
2:1.6.2-3 amd64 X11 client-side library
ii libx11-6:i386
2:1.6.2-3 i386 X11 client-side library
ii libx11-data
2:1.6.2-3 all X11 client-side library
ii libx11-dev:amd64
2:1.6.2-3 amd64 X11 client-side library
(development headers)
ii libx11-doc
2:1.6.2-3 all X11 client-side library
(development documentation)
ii libx11-protocol-perl
0.56-6 all Perl module for the X
Window System Protocol, version 11
ii libx11-xcb-dev:amd64
2:1.6.2-3 amd64 Xlib/XCB interface
library (development headers)
ii libx11-xcb1:amd64
2:1.6.2-3 amd64 Xlib/XCB interface library
ii libx11-xcb1:i386
2:1.6.2-3 i386 Xlib/XCB interface library
---------------------------------------------------------------------------------------
$ cat /etc/debian_version
8.6
$ uname -a
Linux debian 4.8.13-20161211 #2 SMP Sun Dec 11 13:11:44 CST 2016 x86_64
GNU/Linux
-------------------
---------------------------------------------------------------------------------------
../configure --disable-ffplay --disable-ffprobe --disable-ffserver
--disable-doc --disable-htmlpages --disable-manpages --disable-podpages
--disable-txtpages --disable-logging --disable-protocols
--enable-protocol='file,data,pipe' --disable-encoders --enable-encoder=gif
--disable-decoders --enable-decoder='gif,rawvideo' --disable-outdevs
--disable-filters --enable-filter='scale,zscale' --disable-muxers
--enable-muxer='gif,rawvideo' --disable-demuxers
--enable-demuxer='gif,rawvideo' --disable-hwaccels --disable-parsers
--disable-bsfs --disable-indevs --enable-indev='dshow,x11grab'
--extra-libs=-static --extra-cflags=--static --disable-sdl2
--disable-bzlib --disable-vdpau --disable-xvmc --disable-nvenc
--enable-gpl --enable-nonfree
install prefix /usr/local
source path /home/michael/3TB-DISK/Downloads/ffmpeg-3.2.2
C compiler gcc
C library glibc
ARCH x86 (generic)
big-endian no
runtime cpu detection yes
yasm yes
MMX enabled yes
MMXEXT enabled yes
3DNow! enabled yes
3DNow! extended enabled yes
SSE enabled yes
SSSE3 enabled yes
AESNI enabled yes
AVX enabled yes
XOP enabled yes
FMA3 enabled yes
FMA4 enabled yes
i686 features enabled yes
CMOV is fast yes
EBX available yes
EBP available yes
debug symbols yes
strip symbols yes
optimize for size no
optimizations yes
static yes
shared no
postprocessing support yes
new filter support yes
network support no
threading support pthreads
safe bitstream reader yes
SDL2 support no
opencl enabled no
JNI support no
texi2html enabled no
perl enabled yes
pod2man enabled yes
makeinfo enabled yes
makeinfo supports HTML yes
Enabled programs:
ffmpeg
External libraries:
iconv
External libraries providing hardware acceleration:
Libraries:
avcodec avfilter avformat avutil
postproc swresample swscale
avdevice
Enabled decoders:
gif rawvideo
Enabled encoders:
gif
Enabled hwaccels:
Enabled parsers:
Enabled demuxers:
gif rawvideo
Enabled muxers:
gif rawvideo
Enabled protocols:
data file pipe
Enabled filters:
aformat atrim format null
scale setpts trim
anull
Enabled bsfs:
Enabled indevs:
Enabled outdevs:
License: nonfree and unredistributable
Creating config.mak, config.h, and doc/config.texi...
config.asm is unchanged
libavutil/avconfig.h is unchanged
libavcodec/bsf_list.c is unchanged
libavformat/protocol_list.c is unchanged
---------------------------------------------------------------------------------
Enabled indevs is nothing .
More information about the ffmpeg-user
mailing list