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.

498 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_mp2
  44. select FFMPEG_CUSTOM_DECODER_mp3
  45. select FFMPEG_CUSTOM_DECODER_mpeg1video
  46. select FFMPEG_CUSTOM_DECODER_mpeg2video
  47. select FFMPEG_CUSTOM_DECODER_mpeg4
  48. select FFMPEG_CUSTOM_DECODER_mpegvideo
  49. select FFMPEG_CUSTOM_DECODER_png
  50. select FFMPEG_CUSTOM_DECODER_opus
  51. select FFMPEG_CUSTOM_DECODER_vc1
  52. select FFMPEG_CUSTOM_DECODER_vorbis
  53. select FFMPEG_CUSTOM_DECODER_wmav1
  54. select FFMPEG_CUSTOM_DECODER_wmav2
  55. select FFMPEG_CUSTOM_DEMUXER_avi
  56. select FFMPEG_CUSTOM_DEMUXER_flac
  57. select FFMPEG_CUSTOM_DEMUXER_matroska
  58. select FFMPEG_CUSTOM_DEMUXER_mov
  59. select FFMPEG_CUSTOM_DEMUXER_mp3
  60. select FFMPEG_CUSTOM_DEMUXER_mpegps
  61. select FFMPEG_CUSTOM_DEMUXER_mpegts
  62. select FFMPEG_CUSTOM_DEMUXER_mpegvideo
  63. select FFMPEG_CUSTOM_DEMUXER_ogg
  64. select FFMPEG_CUSTOM_PROTOCOL_file
  65. config FFMPEG_CUSTOM_AUDIO_DEC_SUPPORT
  66. bool "Include support for most audio decoding requirements"
  67. depends on FFMPEG_CUSTOM_PATENTED
  68. select FFMPEG_CUSTOM_DECODER_aac
  69. select FFMPEG_CUSTOM_DECODER_aac_latm
  70. select FFMPEG_CUSTOM_DECODER_ac3
  71. select FFMPEG_CUSTOM_SELECT_adpcm
  72. select FFMPEG_CUSTOM_DECODER_alac
  73. select FFMPEG_CUSTOM_DECODER_amrnb
  74. select FFMPEG_CUSTOM_DECODER_amrwb
  75. select FFMPEG_CUSTOM_DECODER_ape
  76. select FFMPEG_CUSTOM_DECODER_atrac3
  77. select FFMPEG_CUSTOM_DECODER_flac
  78. select FFMPEG_CUSTOM_DECODER_mp2
  79. select FFMPEG_CUSTOM_DECODER_mp3
  80. select FFMPEG_CUSTOM_DECODER_mpc7
  81. select FFMPEG_CUSTOM_DECODER_mpc8
  82. select FFMPEG_CUSTOM_DECODER_opus
  83. select FFMPEG_CUSTOM_DECODER_pcm_s16be
  84. select FFMPEG_CUSTOM_DECODER_pcm_s16le
  85. select FFMPEG_CUSTOM_DECODER_vorbis
  86. select FFMPEG_CUSTOM_DECODER_wavpack
  87. select FFMPEG_CUSTOM_DECODER_wmav1
  88. select FFMPEG_CUSTOM_DECODER_wmav2
  89. select FFMPEG_CUSTOM_DECODER_wmalossless
  90. select FFMPEG_CUSTOM_DECODER_wmapro
  91. select FFMPEG_CUSTOM_DECODER_zlib
  92. select FFMPEG_CUSTOM_DEMUXER_aac
  93. select FFMPEG_CUSTOM_DEMUXER_ac3
  94. select FFMPEG_CUSTOM_DEMUXER_aiff
  95. select FFMPEG_CUSTOM_DEMUXER_amr
  96. select FFMPEG_CUSTOM_DEMUXER_ape
  97. select FFMPEG_CUSTOM_DEMUXER_avi
  98. select FFMPEG_CUSTOM_DEMUXER_flac
  99. select FFMPEG_CUSTOM_DEMUXER_ffm
  100. select FFMPEG_CUSTOM_DEMUXER_matroska
  101. select FFMPEG_CUSTOM_DEMUXER_mp3
  102. select FFMPEG_CUSTOM_DEMUXER_mov
  103. select FFMPEG_CUSTOM_DEMUXER_mpc
  104. select FFMPEG_CUSTOM_DEMUXER_mpc8
  105. select FFMPEG_CUSTOM_DEMUXER_mpegts
  106. select FFMPEG_CUSTOM_DEMUXER_ogg
  107. select FFMPEG_CUSTOM_DEMUXER_rm
  108. select FFMPEG_CUSTOM_DEMUXER_rtsp
  109. select FFMPEG_CUSTOM_DEMUXER_rtp
  110. select FFMPEG_CUSTOM_DEMUXER_sdp
  111. select FFMPEG_CUSTOM_DEMUXER_wav
  112. select FFMPEG_CUSTOM_DEMUXER_wv
  113. select FFMPEG_CUSTOM_PROTOCOL_file
  114. select FFMPEG_CUSTOM_PROTOCOL_http
  115. select FFMPEG_CUSTOM_PROTOCOL_rtp
  116. select FFMPEG_CUSTOM_PROTOCOL_tcp
  117. select FFMPEG_CUSTOM_PROTOCOL_udp
  118. comment "External Libraries"
  119. config FFMPEG_CUSTOM_SELECT_libfdk-aac
  120. bool "Fraunhofer FDK AAC encoding library (libfdk-aac)"
  121. depends on FFMPEG_CUSTOM_NONFREE
  122. depends on FFMPEG_CUSTOM_PATENTED
  123. depends on PACKAGE_fdk-aac
  124. config FFMPEG_CUSTOM_SELECT_libmp3lame
  125. bool "Libmp3lame"
  126. depends on PACKAGE_lame-lib
  127. select FFMPEG_CUSTOM_DECODER_mp3
  128. select FFMPEG_CUSTOM_MUXER_mp3
  129. select FFMPEG_CUSTOM_DEMUXER_mp3
  130. config FFMPEG_CUSTOM_SELECT_libopus
  131. bool "Libopus"
  132. config FFMPEG_CUSTOM_SELECT_libshine
  133. bool "Libshine"
  134. config FFMPEG_CUSTOM_SELECT_libx264
  135. bool "Libx264"
  136. depends on FFMPEG_CUSTOM_PATENTED
  137. depends on FFMPEG_CUSTOM_GPL
  138. depends on PACKAGE_libx264
  139. select FFMPEG_CUSTOM_DECODER_h264
  140. select FFMPEG_CUSTOM_MUXER_h264
  141. select FFMPEG_CUSTOM_DEMUXER_h264
  142. comment "Encoders"
  143. config FFMPEG_CUSTOM_ENCODER_ac3
  144. bool "AC3"
  145. depends on FFMPEG_CUSTOM_PATENTED
  146. config FFMPEG_CUSTOM_ENCODER_jpegls
  147. bool "JPEG-LS"
  148. config FFMPEG_CUSTOM_ENCODER_mpeg1video
  149. bool "MPEG-1 Video"
  150. config FFMPEG_CUSTOM_ENCODER_mpeg2video
  151. bool "MPEG-2 Video"
  152. depends on FFMPEG_CUSTOM_PATENTED
  153. config FFMPEG_CUSTOM_ENCODER_mpeg4
  154. bool "MPEG-4"
  155. depends on FFMPEG_CUSTOM_PATENTED
  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. depends on FFMPEG_CUSTOM_PATENTED
  171. config FFMPEG_CUSTOM_SELECT_adpcm
  172. bool "ADPCM (multiple types)"
  173. config FFMPEG_CUSTOM_DECODER_ac3
  174. bool "AC3"
  175. depends on FFMPEG_CUSTOM_PATENTED
  176. config FFMPEG_CUSTOM_DECODER_alac
  177. bool "ALAC"
  178. config FFMPEG_CUSTOM_DECODER_amrnb
  179. bool "AMR-NB"
  180. select FFMPEG_CUSTOM_DEMUXER_amr
  181. config FFMPEG_CUSTOM_DECODER_amrwb
  182. bool "AMR-WB"
  183. select FFMPEG_CUSTOM_DEMUXER_amr
  184. config FFMPEG_CUSTOM_DECODER_ape
  185. bool "APE"
  186. config FFMPEG_CUSTOM_DECODER_atrac3
  187. bool "ATRAC3"
  188. depends on FFMPEG_CUSTOM_PATENTED
  189. config FFMPEG_CUSTOM_DECODER_flac
  190. bool "FLAC"
  191. config FFMPEG_CUSTOM_DECODER_gif
  192. bool "GIF"
  193. config FFMPEG_CUSTOM_DECODER_h264
  194. bool "H.264"
  195. depends on FFMPEG_CUSTOM_PATENTED
  196. config FFMPEG_CUSTOM_DECODER_hevc
  197. bool "HEVC / H.265 Video"
  198. depends on FFMPEG_CUSTOM_PATENTED
  199. config FFMPEG_CUSTOM_DECODER_jpegls
  200. bool "JPEG-LS"
  201. config FFMPEG_CUSTOM_DECODER_mp2
  202. bool "MP2 (MPEG Audio Layer 2)"
  203. config FFMPEG_CUSTOM_DECODER_mp3
  204. bool "MP3 (MPEG Audio Layer 3)"
  205. config FFMPEG_CUSTOM_DECODER_mpegvideo
  206. bool "MPEG Video"
  207. config FFMPEG_CUSTOM_DECODER_mpeg1video
  208. bool "MPEG-1 Video"
  209. config FFMPEG_CUSTOM_DECODER_mpeg2video
  210. bool "MPEG-2 Video"
  211. depends on FFMPEG_CUSTOM_PATENTED
  212. config FFMPEG_CUSTOM_DECODER_mpeg4
  213. bool "MPEG-4"
  214. depends on FFMPEG_CUSTOM_PATENTED
  215. config FFMPEG_CUSTOM_DECODER_mpc7
  216. bool "Musepack 7"
  217. select FFMPEG_CUSTOM_DEMUXER_mpc
  218. config FFMPEG_CUSTOM_DECODER_mpc8
  219. bool "Musepack 8"
  220. select FFMPEG_CUSTOM_DEMUXER_mpc8
  221. config FFMPEG_CUSTOM_DECODER_opus
  222. bool "Opus"
  223. config FFMPEG_CUSTOM_DECODER_pcm_s16be
  224. bool "PCM signed 16-bit big-endian"
  225. config FFMPEG_CUSTOM_DECODER_pcm_s16le
  226. bool "PCM signed 16-bit little-endian"
  227. config FFMPEG_CUSTOM_DECODER_png
  228. bool "PNG"
  229. select FFMPEG_CUSTOM_DECODER_zlib
  230. config FFMPEG_CUSTOM_DECODER_vc1
  231. bool "VC-1 / WMV9"
  232. depends on FFMPEG_CUSTOM_PATENTED
  233. config FFMPEG_CUSTOM_DECODER_vorbis
  234. bool "Vorbis"
  235. select FFMPEG_CUSTOM_DEMUXER_ogg
  236. config FFMPEG_CUSTOM_DECODER_wavpack
  237. bool "Wavpack"
  238. config FFMPEG_CUSTOM_DECODER_wmav1
  239. bool "WMAv1"
  240. depends on FFMPEG_CUSTOM_PATENTED
  241. config FFMPEG_CUSTOM_DECODER_wmav2
  242. bool "WMAv2"
  243. depends on FFMPEG_CUSTOM_PATENTED
  244. config FFMPEG_CUSTOM_DECODER_zlib
  245. bool "Zlib"
  246. comment "Muxers"
  247. config FFMPEG_CUSTOM_MUXER_ac3
  248. bool "AC3"
  249. depends on FFMPEG_CUSTOM_PATENTED
  250. config FFMPEG_CUSTOM_MUXER_ffm
  251. bool "FFM (ffserver live feed)"
  252. config FFMPEG_CUSTOM_MUXER_h264
  253. bool "H.264 Raw Video"
  254. depends on FFMPEG_CUSTOM_PATENTED
  255. config FFMPEG_CUSTOM_MUXER_hevc
  256. bool "HEVC / H265 Raw Video"
  257. depends on FFMPEG_CUSTOM_PATENTED
  258. config FFMPEG_CUSTOM_MUXER_mp3
  259. bool "MP3 (MPEG Audio Layer 3)"
  260. config FFMPEG_CUSTOM_MUXER_mp4
  261. bool "MP4"
  262. config FFMPEG_CUSTOM_MUXER_mpeg1video
  263. bool "MPEG-1 Video"
  264. config FFMPEG_CUSTOM_MUXER_mpeg2video
  265. bool "MPEG-2 Video"
  266. config FFMPEG_CUSTOM_MUXER_mpegts
  267. bool "MPEG-2 (TS)"
  268. config FFMPEG_CUSTOM_MUXER_ogg
  269. bool "Ogg"
  270. config FFMPEG_CUSTOM_MUXER_rtp
  271. bool "RTP"
  272. comment "Demuxers"
  273. config FFMPEG_CUSTOM_DEMUXER_aac
  274. bool "AAC"
  275. config FFMPEG_CUSTOM_DEMUXER_avi
  276. bool "AVI (Audio Video Interleave)"
  277. config FFMPEG_CUSTOM_DEMUXER_ac3
  278. bool "AC3"
  279. config FFMPEG_CUSTOM_DEMUXER_amr
  280. bool "AMR"
  281. config FFMPEG_CUSTOM_DEMUXER_ape
  282. bool "APE"
  283. config FFMPEG_CUSTOM_DEMUXER_flac
  284. bool "FLAC"
  285. config FFMPEG_CUSTOM_DEMUXER_ffm
  286. bool "FFM (ffserver live feed)"
  287. config FFMPEG_CUSTOM_DEMUXER_h264
  288. bool "H.264 Raw Video"
  289. depends on FFMPEG_CUSTOM_PATENTED
  290. config FFMPEG_CUSTOM_DEMUXER_hevc
  291. bool "HEVC / H265 Raw Video"
  292. depends on FFMPEG_CUSTOM_PATENTED
  293. config FFMPEG_CUSTOM_DEMUXER_matroska
  294. bool "Matroska (MKA,MKV)"
  295. select FFMPEG_CUSTOM_DECODER_zlib
  296. config FFMPEG_CUSTOM_DEMUXER_mov
  297. bool "MOV/MP4/M4A/3GP/3G2/MJ2"
  298. select FFMPEG_CUSTOM_DECODER_zlib
  299. config FFMPEG_CUSTOM_DEMUXER_mp3
  300. bool "MP3 (MPEG Audio Layer 3)"
  301. config FFMPEG_CUSTOM_DEMUXER_mpegvideo
  302. bool "MPEG Video (Raw)"
  303. config FFMPEG_CUSTOM_DEMUXER_mpegps
  304. bool "MPEG-2 (PS)"
  305. config FFMPEG_CUSTOM_DEMUXER_mpegts
  306. bool "MPEG-2 (TS)"
  307. config FFMPEG_CUSTOM_DEMUXER_mpc
  308. bool "Musepack"
  309. config FFMPEG_CUSTOM_DEMUXER_mpc8
  310. bool "Musepack 8"
  311. config FFMPEG_CUSTOM_DEMUXER_ogg
  312. bool "Ogg"
  313. config FFMPEG_CUSTOM_DEMUXER_rm
  314. bool "RM"
  315. help
  316. RealMedia format demuxer
  317. config FFMPEG_CUSTOM_DEMUXER_rtsp
  318. bool "RTSP"
  319. select FFMPEG_CUSTOM_DEMUXER_rm
  320. select FFMPEG_CUSTOM_DEMUXER_sdp
  321. select FFMPEG_CUSTOM_DEMUXER_rtp
  322. config FFMPEG_CUSTOM_DEMUXER_sdp
  323. bool "SDP"
  324. select FFMPEG_CUSTOM_DEMUXER_mpegts
  325. config FFMPEG_CUSTOM_DEMUXER_rtp
  326. bool "RTP"
  327. config FFMPEG_CUSTOM_DEMUXER_vc1
  328. bool "VC-1 / WMV9 Raw Video"
  329. depends on FFMPEG_CUSTOM_PATENTED
  330. config FFMPEG_CUSTOM_DEMUXER_wav
  331. bool "WAV"
  332. config FFMPEG_CUSTOM_DEMUXER_wv
  333. bool "WV"
  334. comment "Parsers"
  335. config FFMPEG_CUSTOM_PARSER_aac
  336. bool "AAC (Advanced Audio Coding)"
  337. depends on FFMPEG_CUSTOM_PATENTED
  338. config FFMPEG_CUSTOM_PARSER_ac3
  339. bool "AC3"
  340. config FFMPEG_CUSTOM_PARSER_flac
  341. bool "FLAC"
  342. config FFMPEG_CUSTOM_PARSER_h264
  343. bool "H.264"
  344. depends on FFMPEG_CUSTOM_PATENTED
  345. select FFMPEG_CUSTOM_DECODER_h264
  346. config FFMPEG_CUSTOM_PARSER_hevc
  347. bool "HEVC / H265"
  348. depends on FFMPEG_CUSTOM_PATENTED
  349. select FFMPEG_CUSTOM_DECODER_hevc
  350. config FFMPEG_CUSTOM_PARSER_mpegaudio
  351. bool "MPEG Audio"
  352. config FFMPEG_CUSTOM_PARSER_mpegvideo
  353. bool "MPEG Video"
  354. config FFMPEG_CUSTOM_PARSER_mpeg4video
  355. bool "MPEG-4 Video"
  356. config FFMPEG_CUSTOM_PARSER_opus
  357. bool "Opus"
  358. config FFMPEG_CUSTOM_PARSER_vc1
  359. bool "VC-1 / WMV9"
  360. depends on FFMPEG_CUSTOM_PATENTED
  361. select FFMPEG_CUSTOM_DECODER_vc1
  362. comment "Protocols"
  363. config FFMPEG_CUSTOM_PROTOCOL_file
  364. bool "file:"
  365. config FFMPEG_CUSTOM_PROTOCOL_http
  366. bool "http:"
  367. config FFMPEG_CUSTOM_PROTOCOL_icecast
  368. bool "icecast:"
  369. select FFMPEG_CUSTOM_PROTOCOL_http
  370. config FFMPEG_CUSTOM_PROTOCOL_pipe
  371. bool "pipe:"
  372. config FFMPEG_CUSTOM_PROTOCOL_rtp
  373. bool "rtp:"
  374. select FFMPEG_CUSTOM_PROTOCOL_udp
  375. config FFMPEG_CUSTOM_PROTOCOL_tcp
  376. bool "tcp:"
  377. config FFMPEG_CUSTOM_PROTOCOL_udp
  378. bool "udp:"
  379. endif