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.

496 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. depends on FFMPEG_CUSTOM_PATENTED
  37. select FFMPEG_CUSTOM_DECODER_aac
  38. select FFMPEG_CUSTOM_DECODER_ac3
  39. select FFMPEG_CUSTOM_DECODER_flac
  40. select FFMPEG_CUSTOM_DECODER_h264
  41. select FFMPEG_CUSTOM_DECODER_hevc
  42. select FFMPEG_CUSTOM_DECODER_jpegls
  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
  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_mpegts
  60. select FFMPEG_CUSTOM_DEMUXER_mpegvideo
  61. select FFMPEG_CUSTOM_DEMUXER_ogg
  62. select FFMPEG_CUSTOM_PROTOCOL_file
  63. config FFMPEG_CUSTOM_AUDIO_DEC_SUPPORT
  64. bool "Include support for most audio decoding requirements"
  65. depends on FFMPEG_CUSTOM_PATENTED
  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
  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. comment "External Libraries"
  117. config FFMPEG_CUSTOM_SELECT_libfdk-aac
  118. bool "Fraunhofer FDK AAC encoding library (libfdk-aac)"
  119. depends on FFMPEG_CUSTOM_NONFREE
  120. depends on FFMPEG_CUSTOM_PATENTED
  121. depends on PACKAGE_fdk-aac
  122. config FFMPEG_CUSTOM_SELECT_libmp3lame
  123. bool "Libmp3lame"
  124. depends on PACKAGE_lame-lib
  125. select FFMPEG_CUSTOM_DECODER_mp3
  126. select FFMPEG_CUSTOM_MUXER_mp3
  127. select FFMPEG_CUSTOM_DEMUXER_mp3
  128. config FFMPEG_CUSTOM_SELECT_libopus
  129. bool "Libopus"
  130. config FFMPEG_CUSTOM_SELECT_libshine
  131. bool "Libshine"
  132. config FFMPEG_CUSTOM_SELECT_libx264
  133. bool "Libx264"
  134. depends on FFMPEG_CUSTOM_PATENTED
  135. depends on FFMPEG_CUSTOM_GPL
  136. depends on PACKAGE_libx264
  137. select FFMPEG_CUSTOM_DECODER_h264
  138. select FFMPEG_CUSTOM_MUXER_h264
  139. select FFMPEG_CUSTOM_DEMUXER_h264
  140. comment "Encoders"
  141. config FFMPEG_CUSTOM_ENCODER_ac3
  142. bool "AC3"
  143. depends on FFMPEG_CUSTOM_PATENTED
  144. config FFMPEG_CUSTOM_ENCODER_jpegls
  145. bool "JPEG-LS"
  146. config FFMPEG_CUSTOM_ENCODER_mpeg1video
  147. bool "MPEG-1 Video"
  148. config FFMPEG_CUSTOM_ENCODER_mpeg2video
  149. bool "MPEG-2 Video"
  150. depends on FFMPEG_CUSTOM_PATENTED
  151. config FFMPEG_CUSTOM_ENCODER_mpeg4
  152. bool "MPEG-4"
  153. depends on FFMPEG_CUSTOM_PATENTED
  154. config FFMPEG_CUSTOM_ENCODER_pcm_s16be
  155. bool "PCM signed 16-bit big-endian"
  156. config FFMPEG_CUSTOM_ENCODER_pcm_s16le
  157. bool "PCM signed 16-bit little-endian"
  158. config FFMPEG_CUSTOM_ENCODER_png
  159. bool "PNG"
  160. select FFMPEG_CUSTOM_ENCODER_zlib
  161. config FFMPEG_CUSTOM_ENCODER_vorbis
  162. bool "Vorbis"
  163. config FFMPEG_CUSTOM_ENCODER_zlib
  164. bool "Zlib"
  165. comment "Decoders"
  166. config FFMPEG_CUSTOM_DECODER_aac
  167. bool "AAC (Advanced Audio Coding)"
  168. depends on FFMPEG_CUSTOM_PATENTED
  169. config FFMPEG_CUSTOM_SELECT_adpcm
  170. bool "ADPCM (multiple types)"
  171. config FFMPEG_CUSTOM_DECODER_ac3
  172. bool "AC3"
  173. depends on FFMPEG_CUSTOM_PATENTED
  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. depends on FFMPEG_CUSTOM_PATENTED
  210. config FFMPEG_CUSTOM_DECODER_mpeg4
  211. bool "MPEG-4"
  212. depends on FFMPEG_CUSTOM_PATENTED
  213. config FFMPEG_CUSTOM_DECODER_mpc7
  214. bool "Musepack 7"
  215. select FFMPEG_CUSTOM_DEMUXER_mpc
  216. config FFMPEG_CUSTOM_DECODER_mpc8
  217. bool "Musepack 8"
  218. select FFMPEG_CUSTOM_DEMUXER_mpc8
  219. config FFMPEG_CUSTOM_DECODER_opus
  220. bool "Opus"
  221. config FFMPEG_CUSTOM_DECODER_pcm_s16be
  222. bool "PCM signed 16-bit big-endian"
  223. config FFMPEG_CUSTOM_DECODER_pcm_s16le
  224. bool "PCM signed 16-bit little-endian"
  225. config FFMPEG_CUSTOM_DECODER_png
  226. bool "PNG"
  227. select FFMPEG_CUSTOM_DECODER_zlib
  228. config FFMPEG_CUSTOM_DECODER_vc1
  229. bool "VC-1 / WMV9"
  230. depends on FFMPEG_CUSTOM_PATENTED
  231. config FFMPEG_CUSTOM_DECODER_vorbis
  232. bool "Vorbis"
  233. select FFMPEG_CUSTOM_DEMUXER_ogg
  234. config FFMPEG_CUSTOM_DECODER_wavpack
  235. bool "Wavpack"
  236. config FFMPEG_CUSTOM_DECODER_wmav1
  237. bool "WMAv1"
  238. depends on FFMPEG_CUSTOM_PATENTED
  239. config FFMPEG_CUSTOM_DECODER_wmav2
  240. bool "WMAv2"
  241. depends on FFMPEG_CUSTOM_PATENTED
  242. config FFMPEG_CUSTOM_DECODER_zlib
  243. bool "Zlib"
  244. comment "Muxers"
  245. config FFMPEG_CUSTOM_MUXER_ac3
  246. bool "AC3"
  247. depends on FFMPEG_CUSTOM_PATENTED
  248. config FFMPEG_CUSTOM_MUXER_ffm
  249. bool "FFM (ffserver live feed)"
  250. config FFMPEG_CUSTOM_MUXER_h264
  251. bool "H.264 Raw Video"
  252. depends on FFMPEG_CUSTOM_PATENTED
  253. config FFMPEG_CUSTOM_MUXER_hevc
  254. bool "HEVC / H265 Raw Video"
  255. depends on FFMPEG_CUSTOM_PATENTED
  256. config FFMPEG_CUSTOM_MUXER_mp3
  257. bool "MP3 (MPEG Audio Layer 3)"
  258. config FFMPEG_CUSTOM_MUXER_mp4
  259. bool "MP4"
  260. config FFMPEG_CUSTOM_MUXER_mpeg1video
  261. bool "MPEG-1 Video"
  262. config FFMPEG_CUSTOM_MUXER_mpeg2video
  263. bool "MPEG-2 Video"
  264. config FFMPEG_CUSTOM_MUXER_mpegts
  265. bool "MPEG-2 (TS)"
  266. config FFMPEG_CUSTOM_MUXER_ogg
  267. bool "Ogg"
  268. config FFMPEG_CUSTOM_MUXER_rtp
  269. bool "RTP"
  270. comment "Demuxers"
  271. config FFMPEG_CUSTOM_DEMUXER_aac
  272. bool "AAC"
  273. config FFMPEG_CUSTOM_DEMUXER_avi
  274. bool "AVI (Audio Video Interleave)"
  275. config FFMPEG_CUSTOM_DEMUXER_ac3
  276. bool "AC3"
  277. config FFMPEG_CUSTOM_DEMUXER_amr
  278. bool "AMR"
  279. config FFMPEG_CUSTOM_DEMUXER_ape
  280. bool "APE"
  281. config FFMPEG_CUSTOM_DEMUXER_flac
  282. bool "FLAC"
  283. config FFMPEG_CUSTOM_DEMUXER_ffm
  284. bool "FFM (ffserver live feed)"
  285. config FFMPEG_CUSTOM_DEMUXER_h264
  286. bool "H.264 Raw Video"
  287. depends on FFMPEG_CUSTOM_PATENTED
  288. config FFMPEG_CUSTOM_DEMUXER_hevc
  289. bool "HEVC / H265 Raw Video"
  290. depends on FFMPEG_CUSTOM_PATENTED
  291. config FFMPEG_CUSTOM_DEMUXER_matroska
  292. bool "Matroska (MKA,MKV)"
  293. select FFMPEG_CUSTOM_DECODER_zlib
  294. config FFMPEG_CUSTOM_DEMUXER_mov
  295. bool "MOV/MP4/M4A/3GP/3G2/MJ2"
  296. select FFMPEG_CUSTOM_DECODER_zlib
  297. config FFMPEG_CUSTOM_DEMUXER_mp3
  298. bool "MP3 (MPEG Audio Layer 3)"
  299. config FFMPEG_CUSTOM_DEMUXER_mpegvideo
  300. bool "MPEG Video"
  301. config FFMPEG_CUSTOM_DEMUXER_mpegps
  302. bool "MPEG-2 (PS)"
  303. config FFMPEG_CUSTOM_DEMUXER_mpegts
  304. bool "MPEG-2 (TS)"
  305. config FFMPEG_CUSTOM_DEMUXER_mpc
  306. bool "Musepack"
  307. config FFMPEG_CUSTOM_DEMUXER_mpc8
  308. bool "Musepack 8"
  309. config FFMPEG_CUSTOM_DEMUXER_ogg
  310. bool "Ogg"
  311. config FFMPEG_CUSTOM_DEMUXER_rm
  312. bool "RM"
  313. help
  314. RealMedia format demuxer
  315. config FFMPEG_CUSTOM_DEMUXER_rtsp
  316. bool "RTSP"
  317. select FFMPEG_CUSTOM_DEMUXER_rm
  318. select FFMPEG_CUSTOM_DEMUXER_sdp
  319. select FFMPEG_CUSTOM_DEMUXER_rtp
  320. config FFMPEG_CUSTOM_DEMUXER_sdp
  321. bool "SDP"
  322. select FFMPEG_CUSTOM_DEMUXER_mpegts
  323. config FFMPEG_CUSTOM_DEMUXER_rtp
  324. bool "RTP"
  325. config FFMPEG_CUSTOM_DEMUXER_vc1
  326. bool "VC-1 / WMV9 Raw Video"
  327. depends on FFMPEG_CUSTOM_PATENTED
  328. config FFMPEG_CUSTOM_DEMUXER_wav
  329. bool "WAV"
  330. config FFMPEG_CUSTOM_DEMUXER_wv
  331. bool "WV"
  332. comment "Parsers"
  333. config FFMPEG_CUSTOM_PARSER_aac
  334. bool "AAC (Advanced Audio Coding)"
  335. depends on FFMPEG_CUSTOM_PATENTED
  336. config FFMPEG_CUSTOM_PARSER_ac3
  337. bool "AC3"
  338. config FFMPEG_CUSTOM_PARSER_flac
  339. bool "FLAC"
  340. config FFMPEG_CUSTOM_PARSER_h264
  341. bool "H.264"
  342. depends on FFMPEG_CUSTOM_PATENTED
  343. select FFMPEG_CUSTOM_DECODER_h264
  344. config FFMPEG_CUSTOM_PARSER_hevc
  345. bool "HEVC / H265"
  346. depends on FFMPEG_CUSTOM_PATENTED
  347. select FFMPEG_CUSTOM_DECODER_hevc
  348. config FFMPEG_CUSTOM_PARSER_mpegaudio
  349. bool "MPEG Audio"
  350. config FFMPEG_CUSTOM_PARSER_mpegvideo
  351. bool "MPEG Video"
  352. config FFMPEG_CUSTOM_PARSER_mpeg4video
  353. bool "MPEG-4 Video"
  354. config FFMPEG_CUSTOM_PARSER_opus
  355. bool "Opus"
  356. config FFMPEG_CUSTOM_PARSER_vc1
  357. bool "VC-1 / WMV9"
  358. depends on FFMPEG_CUSTOM_PATENTED
  359. select FFMPEG_CUSTOM_DECODER_vc1
  360. comment "Protocols"
  361. config FFMPEG_CUSTOM_PROTOCOL_file
  362. bool "file:"
  363. config FFMPEG_CUSTOM_PROTOCOL_http
  364. bool "http:"
  365. config FFMPEG_CUSTOM_PROTOCOL_icecast
  366. bool "icecast:"
  367. select FFMPEG_CUSTOM_PROTOCOL_http
  368. config FFMPEG_CUSTOM_PROTOCOL_pipe
  369. bool "pipe:"
  370. config FFMPEG_CUSTOM_PROTOCOL_rtp
  371. bool "rtp:"
  372. select FFMPEG_CUSTOM_PROTOCOL_udp
  373. config FFMPEG_CUSTOM_PROTOCOL_tcp
  374. bool "tcp:"
  375. config FFMPEG_CUSTOM_PROTOCOL_udp
  376. bool "udp:"
  377. endif