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.

485 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. 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. config FFMPEG_CUSTOM_ENCODER_jpegls
  144. bool "JPEG-LS"
  145. config FFMPEG_CUSTOM_ENCODER_mpeg1video
  146. bool "MPEG-1 Video"
  147. config FFMPEG_CUSTOM_ENCODER_mpeg2video
  148. bool "MPEG-2 Video"
  149. config FFMPEG_CUSTOM_ENCODER_mpeg4
  150. bool "MPEG-4"
  151. config FFMPEG_CUSTOM_ENCODER_pcm_s16be
  152. bool "PCM signed 16-bit big-endian"
  153. config FFMPEG_CUSTOM_ENCODER_pcm_s16le
  154. bool "PCM signed 16-bit little-endian"
  155. config FFMPEG_CUSTOM_ENCODER_png
  156. bool "PNG"
  157. select FFMPEG_CUSTOM_ENCODER_zlib
  158. config FFMPEG_CUSTOM_ENCODER_vorbis
  159. bool "Vorbis"
  160. config FFMPEG_CUSTOM_ENCODER_zlib
  161. bool "Zlib"
  162. comment "Decoders"
  163. config FFMPEG_CUSTOM_DECODER_aac
  164. bool "AAC (Advanced Audio Coding)"
  165. config FFMPEG_CUSTOM_SELECT_adpcm
  166. bool "ADPCM (multiple types)"
  167. config FFMPEG_CUSTOM_DECODER_ac3
  168. bool "AC3"
  169. config FFMPEG_CUSTOM_DECODER_alac
  170. bool "ALAC"
  171. config FFMPEG_CUSTOM_DECODER_amrnb
  172. bool "AMR-NB"
  173. select FFMPEG_CUSTOM_DEMUXER_amr
  174. config FFMPEG_CUSTOM_DECODER_amrwb
  175. bool "AMR-WB"
  176. select FFMPEG_CUSTOM_DEMUXER_amr
  177. config FFMPEG_CUSTOM_DECODER_ape
  178. bool "APE"
  179. config FFMPEG_CUSTOM_DECODER_atrac3
  180. bool "ATRAC3"
  181. depends on FFMPEG_CUSTOM_PATENTED
  182. config FFMPEG_CUSTOM_DECODER_flac
  183. bool "FLAC"
  184. config FFMPEG_CUSTOM_DECODER_gif
  185. bool "GIF"
  186. config FFMPEG_CUSTOM_DECODER_h264
  187. bool "H.264"
  188. depends on FFMPEG_CUSTOM_PATENTED
  189. config FFMPEG_CUSTOM_DECODER_hevc
  190. bool "HEVC / H.265 Video"
  191. depends on FFMPEG_CUSTOM_PATENTED
  192. config FFMPEG_CUSTOM_DECODER_jpegls
  193. bool "JPEG-LS"
  194. config FFMPEG_CUSTOM_DECODER_mp2
  195. bool "MP2 (MPEG Audio Layer 2)"
  196. config FFMPEG_CUSTOM_DECODER_mp3
  197. bool "MP3 (MPEG Audio Layer 3)"
  198. config FFMPEG_CUSTOM_DECODER_mpegvideo
  199. bool "MPEG Video"
  200. config FFMPEG_CUSTOM_DECODER_mpeg1video
  201. bool "MPEG-1 Video"
  202. config FFMPEG_CUSTOM_DECODER_mpeg2video
  203. bool "MPEG-2 Video"
  204. config FFMPEG_CUSTOM_DECODER_mpeg4
  205. bool "MPEG-4"
  206. config FFMPEG_CUSTOM_DECODER_mpc7
  207. bool "Musepack 7"
  208. select FFMPEG_CUSTOM_DEMUXER_mpc
  209. config FFMPEG_CUSTOM_DECODER_mpc8
  210. bool "Musepack 8"
  211. select FFMPEG_CUSTOM_DEMUXER_mpc8
  212. config FFMPEG_CUSTOM_DECODER_opus
  213. bool "Opus"
  214. config FFMPEG_CUSTOM_DECODER_pcm_s16be
  215. bool "PCM signed 16-bit big-endian"
  216. config FFMPEG_CUSTOM_DECODER_pcm_s16le
  217. bool "PCM signed 16-bit little-endian"
  218. config FFMPEG_CUSTOM_DECODER_png
  219. bool "PNG"
  220. select FFMPEG_CUSTOM_DECODER_zlib
  221. config FFMPEG_CUSTOM_DECODER_vc1
  222. bool "VC-1 / WMV9"
  223. depends on FFMPEG_CUSTOM_PATENTED
  224. config FFMPEG_CUSTOM_DECODER_vorbis
  225. bool "Vorbis"
  226. select FFMPEG_CUSTOM_DEMUXER_ogg
  227. config FFMPEG_CUSTOM_DECODER_wavpack
  228. bool "Wavpack"
  229. config FFMPEG_CUSTOM_DECODER_wmav1
  230. bool "WMAv1"
  231. config FFMPEG_CUSTOM_DECODER_wmav2
  232. bool "WMAv2"
  233. config FFMPEG_CUSTOM_DECODER_zlib
  234. bool "Zlib"
  235. comment "Muxers"
  236. config FFMPEG_CUSTOM_MUXER_ac3
  237. bool "AC3"
  238. config FFMPEG_CUSTOM_MUXER_ffm
  239. bool "FFM (ffserver live feed)"
  240. config FFMPEG_CUSTOM_MUXER_h264
  241. bool "H.264 Raw Video"
  242. depends on FFMPEG_CUSTOM_PATENTED
  243. config FFMPEG_CUSTOM_MUXER_hevc
  244. bool "HEVC / H265 Raw Video"
  245. depends on FFMPEG_CUSTOM_PATENTED
  246. config FFMPEG_CUSTOM_MUXER_mp3
  247. bool "MP3 (MPEG Audio Layer 3)"
  248. config FFMPEG_CUSTOM_MUXER_mp4
  249. bool "MP4"
  250. config FFMPEG_CUSTOM_MUXER_mpeg1video
  251. bool "MPEG-1 Video"
  252. config FFMPEG_CUSTOM_MUXER_mpeg2video
  253. bool "MPEG-2 Video"
  254. config FFMPEG_CUSTOM_MUXER_mpegts
  255. bool "MPEG-2 (TS)"
  256. config FFMPEG_CUSTOM_MUXER_ogg
  257. bool "Ogg"
  258. config FFMPEG_CUSTOM_MUXER_rtp
  259. bool "RTP"
  260. comment "Demuxers"
  261. config FFMPEG_CUSTOM_DEMUXER_aac
  262. bool "AAC"
  263. config FFMPEG_CUSTOM_DEMUXER_avi
  264. bool "AVI (Audio Video Interleave)"
  265. config FFMPEG_CUSTOM_DEMUXER_ac3
  266. bool "AC3"
  267. config FFMPEG_CUSTOM_DEMUXER_amr
  268. bool "AMR"
  269. config FFMPEG_CUSTOM_DEMUXER_ape
  270. bool "APE"
  271. config FFMPEG_CUSTOM_DEMUXER_flac
  272. bool "FLAC"
  273. config FFMPEG_CUSTOM_DEMUXER_ffm
  274. bool "FFM (ffserver live feed)"
  275. config FFMPEG_CUSTOM_DEMUXER_h264
  276. bool "H.264 Raw Video"
  277. depends on FFMPEG_CUSTOM_PATENTED
  278. config FFMPEG_CUSTOM_DEMUXER_hevc
  279. bool "HEVC / H265 Raw Video"
  280. depends on FFMPEG_CUSTOM_PATENTED
  281. config FFMPEG_CUSTOM_DEMUXER_matroska
  282. bool "Matroska (MKA,MKV)"
  283. select FFMPEG_CUSTOM_DECODER_zlib
  284. config FFMPEG_CUSTOM_DEMUXER_mov
  285. bool "MOV/MP4/M4A/3GP/3G2/MJ2"
  286. select FFMPEG_CUSTOM_DECODER_zlib
  287. config FFMPEG_CUSTOM_DEMUXER_mp3
  288. bool "MP3 (MPEG Audio Layer 3)"
  289. config FFMPEG_CUSTOM_DEMUXER_mpegvideo
  290. bool "MPEG Video (Raw)"
  291. config FFMPEG_CUSTOM_DEMUXER_mpegps
  292. bool "MPEG-2 (PS)"
  293. config FFMPEG_CUSTOM_DEMUXER_mpegts
  294. bool "MPEG-2 (TS)"
  295. config FFMPEG_CUSTOM_DEMUXER_mpc
  296. bool "Musepack"
  297. config FFMPEG_CUSTOM_DEMUXER_mpc8
  298. bool "Musepack 8"
  299. config FFMPEG_CUSTOM_DEMUXER_ogg
  300. bool "Ogg"
  301. config FFMPEG_CUSTOM_DEMUXER_rm
  302. bool "RM"
  303. help
  304. RealMedia format demuxer
  305. config FFMPEG_CUSTOM_DEMUXER_rtsp
  306. bool "RTSP"
  307. select FFMPEG_CUSTOM_DEMUXER_rm
  308. select FFMPEG_CUSTOM_DEMUXER_sdp
  309. select FFMPEG_CUSTOM_DEMUXER_rtp
  310. config FFMPEG_CUSTOM_DEMUXER_sdp
  311. bool "SDP"
  312. select FFMPEG_CUSTOM_DEMUXER_mpegts
  313. config FFMPEG_CUSTOM_DEMUXER_rtp
  314. bool "RTP"
  315. config FFMPEG_CUSTOM_DEMUXER_vc1
  316. bool "VC-1 / WMV9 Raw Video"
  317. depends on FFMPEG_CUSTOM_PATENTED
  318. config FFMPEG_CUSTOM_DEMUXER_wav
  319. bool "WAV"
  320. config FFMPEG_CUSTOM_DEMUXER_wv
  321. bool "WV"
  322. comment "Parsers"
  323. config FFMPEG_CUSTOM_PARSER_aac
  324. bool "AAC (Advanced Audio Coding)"
  325. config FFMPEG_CUSTOM_PARSER_ac3
  326. bool "AC3"
  327. config FFMPEG_CUSTOM_PARSER_flac
  328. bool "FLAC"
  329. config FFMPEG_CUSTOM_PARSER_h264
  330. bool "H.264"
  331. depends on FFMPEG_CUSTOM_PATENTED
  332. select FFMPEG_CUSTOM_DECODER_h264
  333. config FFMPEG_CUSTOM_PARSER_hevc
  334. bool "HEVC / H265"
  335. depends on FFMPEG_CUSTOM_PATENTED
  336. select FFMPEG_CUSTOM_DECODER_hevc
  337. config FFMPEG_CUSTOM_PARSER_mpegaudio
  338. bool "MPEG Audio"
  339. config FFMPEG_CUSTOM_PARSER_mpegvideo
  340. bool "MPEG Video"
  341. config FFMPEG_CUSTOM_PARSER_mpeg4video
  342. bool "MPEG-4 Video"
  343. config FFMPEG_CUSTOM_PARSER_opus
  344. bool "Opus"
  345. config FFMPEG_CUSTOM_PARSER_vc1
  346. bool "VC-1 / WMV9"
  347. depends on FFMPEG_CUSTOM_PATENTED
  348. select FFMPEG_CUSTOM_DECODER_vc1
  349. comment "Protocols"
  350. config FFMPEG_CUSTOM_PROTOCOL_file
  351. bool "file:"
  352. config FFMPEG_CUSTOM_PROTOCOL_http
  353. bool "http:"
  354. config FFMPEG_CUSTOM_PROTOCOL_icecast
  355. bool "icecast:"
  356. select FFMPEG_CUSTOM_PROTOCOL_http
  357. config FFMPEG_CUSTOM_PROTOCOL_pipe
  358. bool "pipe:"
  359. config FFMPEG_CUSTOM_PROTOCOL_rtp
  360. bool "rtp:"
  361. select FFMPEG_CUSTOM_PROTOCOL_udp
  362. config FFMPEG_CUSTOM_PROTOCOL_tcp
  363. bool "tcp:"
  364. config FFMPEG_CUSTOM_PROTOCOL_udp
  365. bool "udp:"
  366. endif