[FFmpeg-user] Missing headers/libraries when crosscompiling ffmpeg

Nikolaus Neusser nik.gen at gmx.de
Mon Dec 5 23:33:24 EET 2016


ok, this time with (hopefully) working line breaks. ;-)

1) Missing header files.
Can you tell me which packages i need to install?

atomic.h
mbarrier.h
windows.h
conio.h
io.h
lzo/lzo1x.h
X11/extensions/Xvlib.h
CoreServices/CoreServices.h
direct.h
d3d11.h
dxva.h
dxva2api.h
io.h
libcrystalhd/libcrystalhd_if.h
mach/mach_time.h
net/udplite.h
valgrind/valgrind.h
vdpau/vdpau.h
vdpau/vdpau_x11.h
VideoDecodeAcceleration/VDADecoder.h
VideoToolbox/VideoToolbox.h
X11/extensions/XvMClib.h
d3d9.h
va/va.h
vdpau/vdpau.h
linux/videodev.h
sys/videoio.h
vfw.h
dshow.h
dev/bktr/ioctl_meteor.h
machine/ioctl_meteor.h
dev/video/meteor/ioctl_meteor.h
dev/ic/bt8xx.h
sndio.h
soundcard.h
va/va.h
vdpau/vdpau.h


2) My main configure options are the following:

ECFLAGS="-mfpu=vfp -mfloat-abi=hard -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog"

./configure \
--sysroot=$RPI_SYSROOT \
--extra-cflags="$ECFLAGS" \
--enable-cross-compile \
--enable-shared \
--enable-static \
--arch=arm \
--cpu=arm1176jzf-s \
--target-os=linux \
--disable-hwaccels \
--enable-parsers \
--disable-muxers \
--disable-filters \
--disable-encoders \
--disable-devices \
--disable-programs \
--enable-shared \
--disable-doc \
--disable-postproc \
--enable-gpl \
--enable-version3 \
--enable-protocols \
--enable-libsmbclient \
--enable-libssh \
--enable-nonfree \
--enable-openssl \
--enable-pthreads \
--enable-pic \
--disable-armv5te \
--disable-neon \
--enable-armv6t2 \
--enable-armv6 \
--enable-hardcoded-tables \
--disable-runtime-cpudetect \
--disable-debug \
--disable-crystalhd \
--disable-decoder=h264_vda \
--disable-decoder=h264_crystalhd \
--disable-decoder=h264_vdpau \
--disable-decoder=libstagefright_h264 \
--disable-decoder=vc1_crystalhd \
--disable-decoder=wmv3_crystalhd \
--disable-decoder=wmv3_vdpau \
--disable-decoder=mpeg1_vdpau \
--disable-decoder=mpeg2_crystalhd \
--disable-decoder=mpeg4_crystalhd \
--disable-decoder=mpeg4_vdpau \
--disable-decoder=mpeg_vdpau \
--disable-decoder=mpeg_xvmc \
--disable-decoder=msmpeg4_crystalhd \
--disable-decoder=vc1_vdpau \
--enable-decoder=mpegvideo \
--enable-decoder=mpeg1video \
--enable-decoder=mpeg2video \
--disable-decoder=mvc1 \
--disable-decoder=mvc2 \
--disable-decoder=h261 \
--disable-decoder=h263 \
--disable-decoder=rv10 \
--disable-decoder=rv20 \
--enable-decoder=mjpeg \
--enable-decoder=mjpegb \
--disable-decoder=sp5x \
--disable-decoder=jpegls \
--enable-decoder=mpeg4 \
--disable-decoder=rawvideo \
--disable-decoder=msmpeg4v1 \
..
etc
..
--disable-decoder=cpia \
--disable-decoder=bintext \
--disable-decoder=xbin \
--disable-decoder=idf \
--disable-decoder=hevc \
--enable-decoder=opus \
--cross-prefix=arm-linux-gnueabihf- \
--prefix=$PWD/ffmpeg_compiled \
--disable-symver \
--pkg-config=pkg-config


NIk


Am 05.12.2016 um 22:26 schrieb Nikolaus Neusser:
> Hello everybody,
> i couldn't find help in other forums, so i am trying your mailing list directly.
> I get a bunch of missing headers/libraries when*"crosscompiling ffmpeg for the raspberry pi*".
> I couldn't find those by googling. Can you tell me which packages i need to install? My host is running on debian 8.
>
> |atomic.h mbarrier.h windows.h conio.h io.h lzo/lzo1x.h X11/extensions/Xvlib.h CoreServices/CoreServices.h 
> direct.h d3d11.h dxva.h dxva2api.h io.h libcrystalhd/libcrystalhd_if.h mach/mach_time.h net/udplite.h 
> valgrind/valgrind.h vdpau/vdpau.h vdpau/vdpau_x11.h VideoDecodeAcceleration/VDADecoder.h 
> VideoToolbox/VideoToolbox.h X11/extensions/XvMClib.h d3d9.h va/va.h vdpau/vdpau.h linux/videodev.h sys/videoio.h 
> vfw.h dshow.h dev/bktr/ioctl_meteor.h machine/ioctl_meteor.h dev/video/meteor/ioctl_meteor.h dev/ic/bt8xx.h 
> sndio.h soundcard.h va/va.h vdpau/vdpau.h My main configure options are the following: ECFLAGS="-mfpu=vfp 
> -mfloat-abi=hard -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog" ./configure \ 
> --sysroot=$RPI_SYSROOT \ --extra-cflags="$ECFLAGS" \ --enable-cross-compile \ --enable-shared \ --enable-static \ 
> --arch=arm \ --cpu=arm1176jzf-s \ --target-os=linux \ --disable-hwaccels \ --enable-parsers \ --disable-muxers \ 
> --disable-filters \ --disable-encoders \ --disable-devices \ --disable-programs \ --enable-shared \ --disable-doc 
> \ --disable-postproc \ --enable-gpl \ --enable-version3 \ --enable-protocols \ --enable-libsmbclient \ 
> --enable-libssh \ --enable-nonfree \ --enable-openssl \ --enable-pthreads \ --enable-pic \ --disable-armv5te \ 
> --disable-neon \ --enable-armv6t2 \ --enable-armv6 \ --enable-hardcoded-tables \ --disable-runtime-cpudetect \ 
> --disable-debug \ --disable-crystalhd \ --disable-decoder=h264_vda \ --disable-decoder=h264_crystalhd \ 
> --disable-decoder=h264_vdpau \ .. .. etc. .. --disable-decoder=idf \ --disable-decoder=hevc \ 
> --enable-decoder=opus \ --cross-prefix=arm-linux-gnueabihf- \ --prefix=$PWD/ffmpeg_compiled \ --disable-symver \ 
> --pkg-config=pkg-config |
>
> Thanks a lot,
> Nik
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list