1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
| ~$ git clone https://git.ffmpeg.org/ffmpeg.git ~$ cd ffmpeg && mkdir build-rpi && cd build-rpi ~$ export ROOTFS=/media/michael/rootfs ~$ export PKG_CONFIG_PATH=${ROOTFS}/opt/vc/lib/pkgconfig:${ROOTFS}/usr/lib/pkgconfig:${ROOTFS}/usr/lib/arm-linux-gnueabihf/pkgconfig:${ROOTFS}/usr/local/lib/pkgconfig ~$ ./configure --arch=armhf --target-os=linux --disable-doc --disable-htmlpages --disable-manpages --disable-podpages \ --disable-txtpages --enable-librtmp --enable-zlib --enable-bzlib --enable-openssl --enable-shared --enable-static \ --enable-gpl --enable-libx264 --enable-omx --enable-omx-rpi --enable-mmal --enable-nonfree --enable-libopus \ --enable-libfreetype --enable-libfontconfig --enable-libfribidi \ --enable-runtime-cpudetect --enable-postproc --enable-pic --enable-neon --enable-vfp --enable-libvpx \ --enable-cross-compile --cross-prefix=arm-linux-gnueabihf- --enable-libmp3lame --enable-hardcoded-tables --disable-encoders \ --enable-encoder="opus,libopus,libvpx8,libvpx9,vp8_v4l2m2m,h264_omx,mjpeg,mpeg2video,png,libx264,h264_v4l2m2m,flv,mpeg4_v4l2m2m,mpeg4" \ --disable-decoders --enable-decoder="opus,libopus,libvpx8,libvpx9,vp9,vp9_v4l2m2m,vp8,vp8_v4l2m2m,png,mjpeg,h264,mpeg2video,mpeg2_mmal,h264_mmal,rawvideo,flv,mpeg4_mmal,mpeg4_v4l2m2m,vc1_mmal" \ --disable-muxers --enable-muxer="opus,webm,webm_chunk,webm_dash_manifest,dash,avi,mp4,hls,rtp_mpegts,rtsp,mpegts,mjpeg,h264,flv" \ --disable-demuxers --enable-demuxer="dash,webm_dash_manifest,h264,hls,mjpeg,rtp,rtsp,flv" \ --disable-parsers --enable-parser="opus,vp8,vp9,png,h264,mjpeg,mpeg4video" \ --sysroot=/media/michael/rootfs \ --extra-cflags="-I/media/michael/rootfs/usr/include -I/media/michael/rootfs/opt/vc/include/IL \ -I/media/michael/rootfs/opt/vc/include -I/media/michael/rootfs/usr/include/arm-linux-gnueabihf \ -I/media/michael/rootfs/usr/include/freetype2 -I/media/michael/rootfs/usr/include/fribidi \ -O2 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard" \ --extra-cxxflags='-O2 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard' \ --extra-ldflags="--sysroot=/media/michael/rootfs -L/media/michael/rootfs/opt/vc/lib \ -L/media/michael/rootfs/usr/lib/arm-linux-gnueabihf -L/media/michael/rootfs/opt/vc/lib \ -L/media/michael/rootfs/usr/lib -L/media/michael/rootfs/lib/arm-linux-gnueabihf -lmmal -lmmal_core -lvcos -lmmal_vc_client -lmmal_components -lvchiq_arm \ -lvcsm -lmmal_util -lcontainers -lpthread" \ --extra-libs="-lz -lrt -lresolv -lnsl -lm -ldl -lbz2 -lpthread" \ --prefix=/media/michael/rootfs/usr/local
install prefix /media/michael/rootfs/usr/local source path . C compiler arm-linux-gnueabihf-gcc C library glibc host C compiler gcc host C library glibc ARCH arm (armv6) big-endian no runtime cpu detection yes ARMv5TE enabled yes ARMv6 enabled yes ARMv6T2 enabled yes VFP enabled yes NEON enabled yes THUMB enabled no debug symbols yes strip symbols yes optimize for size no optimizations yes static yes shared yes postprocessing support yes network support yes threading support pthreads safe bitstream reader yes texi2html enabled no perl enabled yes pod2man enabled yes makeinfo enabled yes makeinfo supports HTML yes
External libraries: bzlib libmp3lame libvpx libx264 openssl xlib zlib iconv librtmp
External libraries providing hardware acceleration: mmal omx v4l2_m2m
Libraries: avcodec avfilter avformat avutil postproc swresample swscale avdevice
Programs: ffmpeg ffprobe ffserver
Enabled decoders: flv h264_mmal mpeg2video mpeg4_v4l2m2m rawvideo vp8 vp9 h263 mjpeg mpeg4_mmal png vc1_mmal vp8_v4l2m2m vp9_v4l2m2m h264 mpeg2_mmal
Enabled encoders: flv h264_omx libx264 mpeg2video mpeg4_v4l2m2m png vp8_v4l2m2m h263 h264_v4l2m2m mjpeg mpeg4
Enabled hwaccels: h264_mmal mpeg2_mmal mpeg4_mmal vc1_mmal
Enabled parsers: h263 h264 mjpeg mpeg4video png vp8 vp9
Enabled demuxers: asf h264 matroska mov rm rtsp webm_dash_manifest flv hls mjpeg mpegts rtp sdp
Enabled muxers: adts ffm hls mov rtp rtsp webm_chunk avi flv latm mp4 rtp_mpegts webm webm_dash_manifest dash h264 mjpeg mpegts
Enabled protocols: async file httpproxy librtmps mmst srtp tls_openssl cache ftp https librtmpt pipe subfile udp concat gopher icecast librtmpte prompeg tcp udplite crypto hls librtmp md5 rtp tee unix data http librtmpe mmsh
Enabled filters: [....]
Enabled bsfs: aac_adtstoasc dump_extradata hevc_mp4toannexb mjpega_dump_header mpeg4_unpack_bframes remove_extradata vp9_superframe chomp extract_extradata imx_dump_header mov2textsub noise text2movsub vp9_superframe_split dca_core h264_mp4toannexb mjpeg2jpeg mp3_header_decompress null vp9_raw_reorder
Enabled indevs: fbdev lavfi oss v4l2
Enabled outdevs: fbdev oss v4l2
License: nonfree and unredistributable Creating configuration files ... config.h is unchanged libavutil/avconfig.h is unchanged
|