Config.in 5.0 KB

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