1config BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS 2 bool 3 default y 4 # fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2 5 depends on !BR2_nios2 6 # No support for ARMv7-M in the ARM assembly logic 7 depends on !BR2_ARM_CPU_ARMV7M 8 # m68k coldfire causes a build failure, because the check for 9 # atomics (atomic_store) succeeds, which causes ffmpeg to 10 # think atomic intrinsics are available, while they are 11 # not. See https://patchwork.ozlabs.org/patch/756664/ and 12 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 for more 13 # details. 14 depends on !BR2_m68k_cf 15 # assertion fail in binutils 16 depends on !(BR2_or1k && !BR2_TOOLCHAIN_GCC_AT_LEAST_9) 17 18menuconfig BR2_PACKAGE_FFMPEG 19 bool "ffmpeg" 20 depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS 21 help 22 FFmpeg is a complete, cross-platform solution to record, 23 convert and stream audio and video. 24 25 http://www.ffmpeg.org 26 27if BR2_PACKAGE_FFMPEG 28 29config BR2_PACKAGE_FFMPEG_GPL 30 bool "Enable GPL code" 31 help 32 allow use of GPL code, the resulting libs and binaries will 33 be under GPL 34 35config BR2_PACKAGE_FFMPEG_NONFREE 36 bool "Enable nonfree code" 37 help 38 allow use of nonfree code, the resulting libs and binaries 39 will be unredistributable 40 41config BR2_PACKAGE_FFMPEG_FFMPEG 42 bool "Build ffmpeg (the command line application)" 43 default y 44 help 45 FFmpeg is a very fast video and audio converter. 46 It can also grab from a live audio/video source. 47 48 It is not needed if you want to link the FFmpeg libraries 49 to your application. 50 51config BR2_PACKAGE_FFMPEG_FFPLAY 52 bool "Build ffplay" 53 depends on !BR2_STATIC_LIBS # sdl2 54 select BR2_PACKAGE_FFMPEG_SWSCALE 55 select BR2_PACKAGE_SDL2 56 help 57 FFplay is a very simple and portable media player using the 58 FFmpeg libraries and the SDL library. 59 It is mostly used as a testbed for the various FFmpeg APIs. 60 61comment "ffplay needs a toolchain w/ dynamic library" 62 depends on BR2_STATIC_LIBS 63 64config BR2_PACKAGE_FFMPEG_FFPROBE 65 bool "Build ffprobe" 66 help 67 FFprobe is a utility to determine the audio and video 68 characteristics of a container file. 69 70config BR2_PACKAGE_FFMPEG_XCBGRAB 71 bool "Build X11 screen grabbing" 72 depends on BR2_PACKAGE_XORG7 73 select BR2_PACKAGE_LIBXCB 74 help 75 X11 screen grabbing using libxcb. 76 77config BR2_PACKAGE_FFMPEG_AVRESAMPLE 78 bool "Build libavresample" 79 help 80 Avresample is a audio conversion library for compatibility. 81 82config BR2_PACKAGE_FFMPEG_POSTPROC 83 bool "Build libpostproc" 84 depends on BR2_PACKAGE_FFMPEG_GPL 85 help 86 Postproc is a library of video postprocessing routines. 87 88config BR2_PACKAGE_FFMPEG_SWSCALE 89 bool "Build libswscale" 90 help 91 Swscale is a library of video scaling routines. 92 93config BR2_PACKAGE_FFMPEG_ENCODERS 94 string "Enabled encoders" 95 default "all" 96 help 97 Space-separated list of encoders to build in FFmpeg, 98 or "all" to build all of them. 99 100 Run ./configure --list-encoders in the ffmpeg sources 101 directory to know the available options. 102 103config BR2_PACKAGE_FFMPEG_DECODERS 104 string "Enabled decoders" 105 default "all" 106 help 107 Space-separated list of decoders to build in FFmpeg, 108 or "all" to build all of them. 109 110 Run ./configure --list-decoders in the ffmpeg sources 111 directory to know the available options. 112 113config BR2_PACKAGE_FFMPEG_MUXERS 114 string "Enabled muxers" 115 default "all" 116 help 117 Space-separated list of muxers to build in FFmpeg, 118 or "all" to build all of them. 119 120 Run ./configure --list-muxers in the ffmpeg sources 121 directory to know the available options. 122 123config BR2_PACKAGE_FFMPEG_DEMUXERS 124 string "Enabled demuxers" 125 default "all" 126 help 127 Space-separated list of demuxers to build in FFmpeg, 128 or "all" to build all of them. 129 130 Run ./configure --list-demuxers in the ffmpeg sources 131 directory to know the available options. 132 133config BR2_PACKAGE_FFMPEG_PARSERS 134 string "Enabled parsers" 135 default "all" 136 help 137 Space-separated list of parsers to build in FFmpeg, 138 or "all" to build all of them. 139 140 Run ./configure --list-parsers in the ffmpeg sources 141 directory to know the available options. 142 143config BR2_PACKAGE_FFMPEG_BSFS 144 string "Enabled bitstreams" 145 default "all" 146 help 147 Space-separated list of bitstream filters to build in FFmpeg, 148 or "all" to build all of them. 149 150 Run ./configure --list-bsfs in the ffmpeg sources 151 directory to know the available options. 152 153config BR2_PACKAGE_FFMPEG_PROTOCOLS 154 string "Enabled protocols" 155 default "all" 156 help 157 Space-separated list of protocols to build in FFmpeg, 158 or "all" to build all of them. 159 160 Run ./configure --list-protocols in the ffmpeg sources 161 directory to know the available options. 162 163config BR2_PACKAGE_FFMPEG_FILTERS 164 string "Enabled filters" 165 default "all" 166 help 167 Space-separated list of filters to build in FFmpeg, 168 or "all" to build all of them. 169 170 Run ./configure --list-filters in the ffmpeg sources 171 directory to know the available options. 172 173config BR2_PACKAGE_FFMPEG_INDEVS 174 bool "Enable input devices" 175 default y 176 177config BR2_PACKAGE_FFMPEG_OUTDEVS 178 bool "Enable output devices" 179 default y 180 181config BR2_PACKAGE_FFMPEG_EXTRACONF 182 string "Additional parameters for ./configure" 183 default "" 184 help 185 Extra parameters that will be appended to FFmpeg's 186 ./configure commandline. 187 188endif 189