You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

491 lines
11 KiB

  1. if PACKAGE_libffmpeg-custom
  2. comment "Build Licensing"
  3. config FFMPEG_CUSTOM_GPL
  4. bool "Allow use of GPL code"
  5. help
  6. By default, FFMpeg is licensed under the LGPL. This builds a GPL licensed version.
  7. Some software requires this, such as libx264.
  8. default y
  9. config FFMPEG_CUSTOM_GPLV3
  10. bool "Use (L)GPL v3"
  11. help
  12. Uses the LPGL v3 if GPL isn't selected, or GPL v3 if it is.
  13. config FFMPEG_CUSTOM_NONFREE
  14. bool "Use code with complex licensing requirements; see help"
  15. help
  16. This sets --enable-nonfree, which in almost all cases, will prohibit redistribution of the resulting package.
  17. Use this with care.
  18. default n
  19. config FFMPEG_CUSTOM_PATENTED
  20. bool "Include patented codecs and technologies"
  21. default BUILD_PATENTED
  22. comment "Build Properties"
  23. config FFMPEG_CUSTOM_LARGE
  24. bool "Build libffmpeg for performance instead of minimizing size on disk"
  25. default y if ( x86_64 )
  26. default n
  27. comment "Profiles"
  28. config FFMPEG_CUSTOM_FFSERVER_SUPPORT
  29. bool "Include support for ffserver (FFmpeg streaming server)"
  30. select FFMPEG_CUSTOM_MUXER_ffm
  31. select FFMPEG_CUSTOM_DEMUXER_ffm
  32. select FFMPEG_CUSTOM_DEMUXER_rtsp
  33. select FFMPEG_CUSTOM_PROTOCOL_rtp
  34. config FFMPEG_CUSTOM_MINIDLNA_SUPPORT
  35. bool "Include support for minidlna"
  36. select FFMPEG_CUSTOM_DECODER_aac
  37. select FFMPEG_CUSTOM_DECODER_ac3
  38. select FFMPEG_CUSTOM_DECODER_flac
  39. select FFMPEG_CUSTOM_DECODER_h264 if (BUILD_PATENTED)
  40. select FFMPEG_CUSTOM_DECODER_hevc if (BUILD_PATENTED)
  41. select FFMPEG_CUSTOM_DECODER_jpegls
  42. select FFMPEG_CUSTOM_DECODER_mp2
  43. select FFMPEG_CUSTOM_DECODER_mp3
  44. select FFMPEG_CUSTOM_DECODER_mpeg1video
  45. select FFMPEG_CUSTOM_DECODER_mpeg2video
  46. select FFMPEG_CUSTOM_DECODER_mpeg4
  47. select FFMPEG_CUSTOM_DECODER_mpegvideo
  48. select FFMPEG_CUSTOM_DECODER_png
  49. select FFMPEG_CUSTOM_DECODER_opus
  50. select FFMPEG_CUSTOM_DECODER_vc1 if (BUILD_PATENTED)
  51. select FFMPEG_CUSTOM_DECODER_vorbis
  52. select FFMPEG_CUSTOM_DECODER_wmav1
  53. select FFMPEG_CUSTOM_DECODER_wmav2
  54. select FFMPEG_CUSTOM_DEMUXER_avi
  55. select FFMPEG_CUSTOM_DEMUXER_flac
  56. select FFMPEG_CUSTOM_DEMUXER_matroska
  57. select FFMPEG_CUSTOM_DEMUXER_mov
  58. select FFMPEG_CUSTOM_DEMUXER_mp3
  59. select FFMPEG_CUSTOM_DEMUXER_mpegps
  60. select FFMPEG_CUSTOM_DEMUXER_mpegts
  61. select FFMPEG_CUSTOM_DEMUXER_mpegvideo
  62. select FFMPEG_CUSTOM_DEMUXER_ogg
  63. select FFMPEG_CUSTOM_PROTOCOL_file
  64. config FFMPEG_CUSTOM_AUDIO_DEC_SUPPORT
  65. bool "Include support for most audio decoding requirements"
  66. select FFMPEG_CUSTOM_DECODER_aac
  67. select FFMPEG_CUSTOM_DECODER_aac_latm
  68. select FFMPEG_CUSTOM_DECODER_ac3
  69. select FFMPEG_CUSTOM_SELECT_adpcm
  70. select FFMPEG_CUSTOM_DECODER_alac
  71. select FFMPEG_CUSTOM_DECODER_amrnb
  72. select FFMPEG_CUSTOM_DECODER_amrwb
  73. select FFMPEG_CUSTOM_DECODER_ape
  74. select FFMPEG_CUSTOM_DECODER_atrac3 if (BUILD_PATENTED)
  75. select FFMPEG_CUSTOM_DECODER_flac
  76. select FFMPEG_CUSTOM_DECODER_mp2
  77. select FFMPEG_CUSTOM_DECODER_mp3
  78. select FFMPEG_CUSTOM_DECODER_mpc7
  79. select FFMPEG_CUSTOM_DECODER_mpc8
  80. select FFMPEG_CUSTOM_DECODER_opus
  81. select FFMPEG_CUSTOM_DECODER_pcm_s16be
  82. select FFMPEG_CUSTOM_DECODER_pcm_s16le
  83. select FFMPEG_CUSTOM_DECODER_vorbis
  84. select FFMPEG_CUSTOM_DECODER_wavpack
  85. select FFMPEG_CUSTOM_DECODER_wmav1
  86. select FFMPEG_CUSTOM_DECODER_wmav2
  87. select FFMPEG_CUSTOM_DECODER_wmalossless
  88. select FFMPEG_CUSTOM_DECODER_wmapro
  89. select FFMPEG_CUSTOM_DECODER_zlib
  90. select FFMPEG_CUSTOM_DEMUXER_aac
  91. select FFMPEG_CUSTOM_DEMUXER_ac3
  92. select FFMPEG_CUSTOM_DEMUXER_aiff
  93. select FFMPEG_CUSTOM_DEMUXER_amr
  94. select FFMPEG_CUSTOM_DEMUXER_ape
  95. select FFMPEG_CUSTOM_DEMUXER_avi
  96. select FFMPEG_CUSTOM_DEMUXER_flac
  97. select FFMPEG_CUSTOM_DEMUXER_ffm
  98. select FFMPEG_CUSTOM_DEMUXER_matroska
  99. select FFMPEG_CUSTOM_DEMUXER_mp3
  100. select FFMPEG_CUSTOM_DEMUXER_mov
  101. select FFMPEG_CUSTOM_DEMUXER_mpc
  102. select FFMPEG_CUSTOM_DEMUXER_mpc8
  103. select FFMPEG_CUSTOM_DEMUXER_mpegts
  104. select FFMPEG_CUSTOM_DEMUXER_ogg
  105. select FFMPEG_CUSTOM_DEMUXER_rm
  106. select FFMPEG_CUSTOM_DEMUXER_rtsp
  107. select FFMPEG_CUSTOM_DEMUXER_rtp
  108. select FFMPEG_CUSTOM_DEMUXER_sdp
  109. select FFMPEG_CUSTOM_DEMUXER_wav
  110. select FFMPEG_CUSTOM_DEMUXER_wv
  111. select FFMPEG_CUSTOM_PROTOCOL_file
  112. select FFMPEG_CUSTOM_PROTOCOL_http
  113. select FFMPEG_CUSTOM_PROTOCOL_rtp
  114. select FFMPEG_CUSTOM_PROTOCOL_tcp
  115. select FFMPEG_CUSTOM_PROTOCOL_udp
  116. config FFMPEG_CUSTOM_PROGRAMS
  117. bool "Include ffmpeg command-line utilities"
  118. select PACKAGE_ffmpeg-custom
  119. select PACKAGE_ffserver-custom
  120. select PACKAGE_ffprobe-custom
  121. comment "External Libraries"
  122. config FFMPEG_CUSTOM_SELECT_libfdk-aac
  123. bool "Fraunhofer FDK AAC encoding library (libfdk-aac)"
  124. depends on FFMPEG_CUSTOM_NONFREE
  125. depends on FFMPEG_CUSTOM_PATENTED
  126. depends on PACKAGE_fdk-aac
  127. config FFMPEG_CUSTOM_SELECT_libmp3lame
  128. bool "Libmp3lame"
  129. depends on PACKAGE_lame-lib
  130. select FFMPEG_CUSTOM_DECODER_mp3
  131. select FFMPEG_CUSTOM_MUXER_mp3
  132. select FFMPEG_CUSTOM_DEMUXER_mp3
  133. config FFMPEG_CUSTOM_SELECT_libopus
  134. bool "Libopus"
  135. config FFMPEG_CUSTOM_SELECT_libshine
  136. bool "Libshine"
  137. config FFMPEG_CUSTOM_SELECT_libx264
  138. bool "Libx264"
  139. depends on FFMPEG_CUSTOM_PATENTED
  140. depends on FFMPEG_CUSTOM_GPL
  141. depends on PACKAGE_libx264
  142. select FFMPEG_CUSTOM_DECODER_h264
  143. select FFMPEG_CUSTOM_MUXER_h264
  144. select FFMPEG_CUSTOM_DEMUXER_h264
  145. comment "Encoders"
  146. config FFMPEG_CUSTOM_ENCODER_ac3
  147. bool "AC3"
  148. config FFMPEG_CUSTOM_ENCODER_jpegls
  149. bool "JPEG-LS"
  150. config FFMPEG_CUSTOM_ENCODER_mpeg1video
  151. bool "MPEG-1 Video"
  152. config FFMPEG_CUSTOM_ENCODER_mpeg2video
  153. bool "MPEG-2 Video"
  154. config FFMPEG_CUSTOM_ENCODER_mpeg4
  155. bool "MPEG-4"
  156. config FFMPEG_CUSTOM_ENCODER_pcm_s16be
  157. bool "PCM signed 16-bit big-endian"
  158. config FFMPEG_CUSTOM_ENCODER_pcm_s16le
  159. bool "PCM signed 16-bit little-endian"
  160. config FFMPEG_CUSTOM_ENCODER_png
  161. bool "PNG"
  162. select FFMPEG_CUSTOM_ENCODER_zlib
  163. config FFMPEG_CUSTOM_ENCODER_vorbis
  164. bool "Vorbis"
  165. config FFMPEG_CUSTOM_ENCODER_zlib
  166. bool "Zlib"
  167. comment "Decoders"
  168. config FFMPEG_CUSTOM_DECODER_aac
  169. bool "AAC (Advanced Audio Coding)"
  170. config FFMPEG_CUSTOM_SELECT_adpcm
  171. bool "ADPCM (multiple types)"
  172. config FFMPEG_CUSTOM_DECODER_ac3
  173. bool "AC3"
  174. config FFMPEG_CUSTOM_DECODER_alac
  175. bool "ALAC"
  176. config FFMPEG_CUSTOM_DECODER_amrnb
  177. bool "AMR-NB"
  178. select FFMPEG_CUSTOM_DEMUXER_amr
  179. config FFMPEG_CUSTOM_DECODER_amrwb
  180. bool "AMR-WB"
  181. select FFMPEG_CUSTOM_DEMUXER_amr
  182. config FFMPEG_CUSTOM_DECODER_ape
  183. bool "APE"
  184. config FFMPEG_CUSTOM_DECODER_atrac3
  185. bool "ATRAC3"
  186. depends on FFMPEG_CUSTOM_PATENTED
  187. config FFMPEG_CUSTOM_DECODER_flac
  188. bool "FLAC"
  189. config FFMPEG_CUSTOM_DECODER_gif
  190. bool "GIF"
  191. config FFMPEG_CUSTOM_DECODER_h264
  192. bool "H.264"
  193. depends on FFMPEG_CUSTOM_PATENTED
  194. config FFMPEG_CUSTOM_DECODER_hevc
  195. bool "HEVC / H.265 Video"
  196. depends on FFMPEG_CUSTOM_PATENTED
  197. config FFMPEG_CUSTOM_DECODER_jpegls
  198. bool "JPEG-LS"
  199. config FFMPEG_CUSTOM_DECODER_mp2
  200. bool "MP2 (MPEG Audio Layer 2)"
  201. config FFMPEG_CUSTOM_DECODER_mp3
  202. bool "MP3 (MPEG Audio Layer 3)"
  203. config FFMPEG_CUSTOM_DECODER_mpegvideo
  204. bool "MPEG Video"
  205. config FFMPEG_CUSTOM_DECODER_mpeg1video
  206. bool "MPEG-1 Video"
  207. config FFMPEG_CUSTOM_DECODER_mpeg2video
  208. bool "MPEG-2 Video"
  209. config FFMPEG_CUSTOM_DECODER_mpeg4
  210. bool "MPEG-4"
  211. config FFMPEG_CUSTOM_DECODER_mpc7
  212. bool "Musepack 7"
  213. select FFMPEG_CUSTOM_DEMUXER_mpc
  214. config FFMPEG_CUSTOM_DECODER_mpc8
  215. bool "Musepack 8"
  216. select FFMPEG_CUSTOM_DEMUXER_mpc8
  217. config FFMPEG_CUSTOM_DECODER_opus
  218. bool "Opus"
  219. config FFMPEG_CUSTOM_DECODER_pcm_s16be
  220. bool "PCM signed 16-bit big-endian"
  221. config FFMPEG_CUSTOM_DECODER_pcm_s16le
  222. bool "PCM signed 16-bit little-endian"
  223. config FFMPEG_CUSTOM_DECODER_png
  224. bool "PNG"
  225. select FFMPEG_CUSTOM_DECODER_zlib
  226. config FFMPEG_CUSTOM_DECODER_vc1
  227. bool "VC-1 / WMV9"
  228. depends on FFMPEG_CUSTOM_PATENTED
  229. config FFMPEG_CUSTOM_DECODER_vorbis
  230. bool "Vorbis"
  231. select FFMPEG_CUSTOM_DEMUXER_ogg
  232. config FFMPEG_CUSTOM_DECODER_wavpack
  233. bool "Wavpack"
  234. config FFMPEG_CUSTOM_DECODER_wmav1
  235. bool "WMAv1"
  236. config FFMPEG_CUSTOM_DECODER_wmav2
  237. bool "WMAv2"
  238. config FFMPEG_CUSTOM_DECODER_zlib
  239. bool "Zlib"
  240. comment "Muxers"
  241. config FFMPEG_CUSTOM_MUXER_ac3
  242. bool "AC3"
  243. config FFMPEG_CUSTOM_MUXER_ffm
  244. bool "FFM (ffserver live feed)"
  245. config FFMPEG_CUSTOM_MUXER_h264
  246. bool "H.264 Raw Video"
  247. depends on FFMPEG_CUSTOM_PATENTED
  248. config FFMPEG_CUSTOM_MUXER_hevc
  249. bool "HEVC / H265 Raw Video"
  250. depends on FFMPEG_CUSTOM_PATENTED
  251. config FFMPEG_CUSTOM_MUXER_mp3
  252. bool "MP3 (MPEG Audio Layer 3)"
  253. config FFMPEG_CUSTOM_MUXER_mp4
  254. bool "MP4"
  255. config FFMPEG_CUSTOM_MUXER_mpeg1video
  256. bool "MPEG-1 Video"
  257. config FFMPEG_CUSTOM_MUXER_mpeg2video
  258. bool "MPEG-2 Video"
  259. config FFMPEG_CUSTOM_MUXER_mpegts
  260. bool "MPEG-2 (TS)"
  261. config FFMPEG_CUSTOM_MUXER_ogg
  262. bool "Ogg"
  263. config FFMPEG_CUSTOM_MUXER_rtp
  264. bool "RTP"
  265. comment "Demuxers"
  266. config FFMPEG_CUSTOM_DEMUXER_aac
  267. bool "AAC"
  268. config FFMPEG_CUSTOM_DEMUXER_avi
  269. bool "AVI (Audio Video Interleave)"
  270. config FFMPEG_CUSTOM_DEMUXER_ac3
  271. bool "AC3"
  272. config FFMPEG_CUSTOM_DEMUXER_amr
  273. bool "AMR"
  274. config FFMPEG_CUSTOM_DEMUXER_ape
  275. bool "APE"
  276. config FFMPEG_CUSTOM_DEMUXER_flac
  277. bool "FLAC"
  278. config FFMPEG_CUSTOM_DEMUXER_ffm
  279. bool "FFM (ffserver live feed)"
  280. config FFMPEG_CUSTOM_DEMUXER_h264
  281. bool "H.264 Raw Video"
  282. depends on FFMPEG_CUSTOM_PATENTED
  283. config FFMPEG_CUSTOM_DEMUXER_hevc
  284. bool "HEVC / H265 Raw Video"
  285. depends on FFMPEG_CUSTOM_PATENTED
  286. config FFMPEG_CUSTOM_DEMUXER_matroska
  287. bool "Matroska (MKA,MKV)"
  288. select FFMPEG_CUSTOM_DECODER_zlib
  289. config FFMPEG_CUSTOM_DEMUXER_mov
  290. bool "MOV/MP4/M4A/3GP/3G2/MJ2"
  291. select FFMPEG_CUSTOM_DECODER_zlib
  292. config FFMPEG_CUSTOM_DEMUXER_mp3
  293. bool "MP3 (MPEG Audio Layer 3)"
  294. config FFMPEG_CUSTOM_DEMUXER_mpegvideo
  295. bool "MPEG Video (Raw)"
  296. config FFMPEG_CUSTOM_DEMUXER_mpegps
  297. bool "MPEG-2 (PS)"
  298. config FFMPEG_CUSTOM_DEMUXER_mpegts
  299. bool "MPEG-2 (TS)"
  300. config FFMPEG_CUSTOM_DEMUXER_mpc
  301. bool "Musepack"
  302. config FFMPEG_CUSTOM_DEMUXER_mpc8
  303. bool "Musepack 8"
  304. config FFMPEG_CUSTOM_DEMUXER_ogg
  305. bool "Ogg"
  306. config FFMPEG_CUSTOM_DEMUXER_rm
  307. bool "RM"
  308. help
  309. RealMedia format demuxer
  310. config FFMPEG_CUSTOM_DEMUXER_rtsp
  311. bool "RTSP"
  312. select FFMPEG_CUSTOM_DEMUXER_rm
  313. select FFMPEG_CUSTOM_DEMUXER_sdp
  314. select FFMPEG_CUSTOM_DEMUXER_rtp
  315. config FFMPEG_CUSTOM_DEMUXER_sdp
  316. bool "SDP"
  317. select FFMPEG_CUSTOM_DEMUXER_mpegts
  318. config FFMPEG_CUSTOM_DEMUXER_rtp
  319. bool "RTP"
  320. config FFMPEG_CUSTOM_DEMUXER_vc1
  321. bool "VC-1 / WMV9 Raw Video"
  322. depends on FFMPEG_CUSTOM_PATENTED
  323. config FFMPEG_CUSTOM_DEMUXER_wav
  324. bool "WAV"
  325. config FFMPEG_CUSTOM_DEMUXER_wv
  326. bool "WV"
  327. comment "Parsers"
  328. config FFMPEG_CUSTOM_PARSER_aac
  329. bool "AAC (Advanced Audio Coding)"
  330. config FFMPEG_CUSTOM_PARSER_ac3
  331. bool "AC3"
  332. config FFMPEG_CUSTOM_PARSER_flac
  333. bool "FLAC"
  334. config FFMPEG_CUSTOM_PARSER_h264
  335. bool "H.264"
  336. depends on FFMPEG_CUSTOM_PATENTED
  337. select FFMPEG_CUSTOM_DECODER_h264
  338. config FFMPEG_CUSTOM_PARSER_hevc
  339. bool "HEVC / H265"
  340. depends on FFMPEG_CUSTOM_PATENTED
  341. select FFMPEG_CUSTOM_DECODER_hevc
  342. config FFMPEG_CUSTOM_PARSER_mpegaudio
  343. bool "MPEG Audio"
  344. config FFMPEG_CUSTOM_PARSER_mpegvideo
  345. bool "MPEG Video"
  346. config FFMPEG_CUSTOM_PARSER_mpeg4video
  347. bool "MPEG-4 Video"
  348. config FFMPEG_CUSTOM_PARSER_opus
  349. bool "Opus"
  350. config FFMPEG_CUSTOM_PARSER_vc1
  351. bool "VC-1 / WMV9"
  352. depends on FFMPEG_CUSTOM_PATENTED
  353. select FFMPEG_CUSTOM_DECODER_vc1
  354. comment "Protocols"
  355. config FFMPEG_CUSTOM_PROTOCOL_file
  356. bool "file:"
  357. config FFMPEG_CUSTOM_PROTOCOL_http
  358. bool "http:"
  359. config FFMPEG_CUSTOM_PROTOCOL_icecast
  360. bool "icecast:"
  361. select FFMPEG_CUSTOM_PROTOCOL_http
  362. config FFMPEG_CUSTOM_PROTOCOL_pipe
  363. bool "pipe:"
  364. config FFMPEG_CUSTOM_PROTOCOL_rtp
  365. bool "rtp:"
  366. select FFMPEG_CUSTOM_PROTOCOL_udp
  367. config FFMPEG_CUSTOM_PROTOCOL_tcp
  368. bool "tcp:"
  369. config FFMPEG_CUSTOM_PROTOCOL_udp
  370. bool "udp:"
  371. endif