source: packages/multimedia/ffmpeg/Config.in @ 28323

Last change on this file since 28323 was 28323, checked in by florian, 5 years ago

[package] ffmpeg: Allow for more configurable FFmpeg build options (#7837, #8465)

This patch allows broad control over FFmpeg's libav* build configuration
and fixes a typo in ffprobe's install section.

The patch resolves #7837 as the choice of building a full libav* is available.
This should also resolve #8465 as input devices such as cameras can be enabled.

The files created by a full libav* build will be large (several megabytes) and
not recommended for end users. Its use could help debugging other issues to
learn whether the problem is the openwrt build configuration or another cause.

Signed-off-by: Ian Leonard <antonlacon@…>

  • Property copyright set to Copyright (C) 2008 OpenWrt.org
  • Property licence set to GPLv2
File size: 7.1 KB
Line 
1menu "Configuration"
2        depends PACKAGE_libffmpeg
3
4comment "Libav* build options ---"
5
6config FFMPEG_LIBAV_FULL
7        bool "Toggle for full libav* support"
8        select FFMPEG_BSFS
9        select FFMPEG_DECODE
10        select FFMPEG_ENCODE
11        select FFMPEG_FILTERS
12        select FFMPEG_INDEVS
13        select FFMPEG_OUTDEVS
14        select FFMPEG_HWACCELS
15        select FFMPEG_PARSERS
16        select FFMPEG_PROTOCOLS
17        depends FFMPEG_PATENTED
18        help
19          This options selects each of the FFmpeg's toggles to create a full build
20          of the libav* libraries. Note: This is a large binary and not suitable
21          for most users.
22
23config FFMPEG_BSFS
24        bool "Toggle for FFmpeg's bitstream filter support"
25
26config FFMPEG_DECODE
27        bool "Toggle for FFmpeg's decoder/demuxer support"
28        depends FFMPEG_PATENTED
29
30config FFMPEG_ENCODE
31        bool "Toggle for FFmpeg's encoder/muxer support"
32        depends FFMPEG_PATENTED
33
34config FFMPEG_FILTERS
35        bool "Toggle for FFmpeg's video processing filter support"
36
37config FFMPEG_INDEVS
38        bool "Toggle for FFmpeg's input device (camera, etc) support"
39
40config FFMPEG_OUTDEVS
41        bool "Toggle for FFmpeg's output device support"
42
43config FFMPEG_HWACCELS
44        bool "Toggle for FFmpeg's video hardware acceleration support"
45
46config FFMPEG_PARSERS
47        bool "Toggle for FFmpeg's stream parsing support"
48
49config FFMPEG_PROTOCOLS
50        bool "Toggle for FFmpeg's protocol support"
51
52config FFMPEG_PATENTED
53        bool "Include patented codecs and technologies"
54        default BUILD_PATENTED
55
56comment "Package Profiles ---"
57
58config FFMPEG_FFSERVER_SUPPORT
59        bool "Include support for ffserver (FFmpeg streaming server)"
60        select FFMPEG_MUXER_ffm
61        select FFMPEG_DEMUXER_ffm
62        select FFMPEG_DEMUXER_rtsp
63        select FFMPEG_PROTOCOL_rtp
64
65config FFMPEG_LIBDLNA_SUPPORT
66        bool "Include support for libdlna/ushare"
67        depends FFMPEG_PATENTED
68        select FFMPEG_DECODER_ac3
69        select FFMPEG_DECODER_atrac3
70        select FFMPEG_DECODER_h264
71        select FFMPEG_DECODER_jpegls
72        select FFMPEG_DECODER_mp3
73        select FFMPEG_DECODER_mpeg1video
74        select FFMPEG_DECODER_mpeg2video
75        select FFMPEG_DECODER_mpeg4
76        select FFMPEG_DECODER_mpegvideo
77        select FFMPEG_DECODER_wmav1
78        select FFMPEG_DECODER_wmav2
79        select FFMPEG_DECODER_png
80        select FFMPEG_DEMUXER_ac3
81        select FFMPEG_DEMUXER_h264
82        select FFMPEG_DEMUXER_mp3
83        select FFMPEG_DEMUXER_mpegvideo
84
85config FFMPEG_MINIDLNA_SUPPORT
86        bool "Include support for minidlna"
87        depends FFMPEG_PATENTED
88        select FFMPEG_DECODER_aac
89        select FFMPEG_DECODER_ac3
90        select FFMPEG_DECODER_flac
91        select FFMPEG_DECODER_h264
92        select FFMPEG_DECODER_jpegls
93        select FFMPEG_DECODER_mp3
94        select FFMPEG_DECODER_mpeg1video
95        select FFMPEG_DECODER_mpeg2video
96        select FFMPEG_DECODER_mpeg4
97        select FFMPEG_DECODER_mpegvideo
98        select FFMPEG_DECODER_wmav1
99        select FFMPEG_DECODER_wmav2
100        select FFMPEG_DECODER_png
101        select FFMPEG_DEMUXER_aac
102        select FFMPEG_DEMUXER_ac3
103        select FFMPEG_DEMUXER_avi
104        select FFMPEG_DEMUXER_flac
105        select FFMPEG_DEMUXER_h264
106        select FFMPEG_DEMUXER_matroska
107        select FFMPEG_DEMUXER_mov
108        select FFMPEG_DEMUXER_mp3
109        select FFMPEG_DEMUXER_mpegvideo
110        select FFMPEG_PROTOCOL_file
111
112comment "Encoders ---"
113
114config FFMPEG_ENCODER_ac3
115        bool "AC3"
116        depends FFMPEG_PATENTED
117        select FFMPEG_PARSER_ac3
118
119config FFMPEG_ENCODER_jpegls
120        bool "JPEG-LS"
121
122config FFMPEG_ENCODER_mpeg1video
123        bool "MPEG-1 Video"
124
125config FFMPEG_ENCODER_mpeg2video
126        bool "MPEG-2 Video"
127        depends FFMPEG_PATENTED
128
129config FFMPEG_ENCODER_mpeg4
130        bool "MPEG-4"
131        depends FFMPEG_PATENTED
132
133config FFMPEG_ENCODER_pcm_s16be
134        bool "PCM signed 16-bit big-endian"
135
136config FFMPEG_ENCODER_pcm_s16le
137        bool "PCM signed 16-bit little-endian"
138
139config FFMPEG_ENCODER_png
140        bool "PNG"
141        select FFMPEG_ENCODER_zlib
142
143config FFMPEG_ENCODER_vorbis
144        bool "Vorbis"
145
146config FFMPEG_ENCODER_zlib
147        bool "Zlib"
148
149comment "Decoders ---"
150
151config FFMPEG_DECODER_aac
152        bool "AAC (Advanced Audio Coding)"
153        depends FFMPEG_PATENTED
154        select FFMPEG_PARSER_aac
155
156config FFMPEG_DECODER_ac3
157        bool "AC3"
158        depends FFMPEG_PATENTED
159        select FFMPEG_PARSER_ac3
160
161config FFMPEG_DECODER_atrac3
162        bool "ATRAC3"
163        depends FFMPEG_PATENTED
164
165config FFMPEG_DECODER_flac
166        bool "FLAC"
167
168config FFMPEG_DECODER_gif
169        bool "GIF"
170
171config FFMPEG_DECODER_h264
172        bool "H.264"
173        depends FFMPEG_PATENTED
174
175config FFMPEG_DECODER_jpegls
176        bool "JPEG-LS"
177
178config FFMPEG_DECODER_mp2
179        bool "MP2 (MPEG Audio Layer 2)"
180        depends FFMPEG_PATENTED
181
182config FFMPEG_DECODER_mp3
183        bool "MP3 (MPEG Audio Layer 2)"
184        depends FFMPEG_PATENTED
185
186config FFMPEG_DECODER_mpegvideo
187        bool "MPEG Video"
188
189config FFMPEG_DECODER_mpeg1video
190        bool "MPEG-1 Video"
191
192config FFMPEG_DECODER_mpeg2video
193        bool "MPEG-2 Video"
194        depends FFMPEG_PATENTED
195
196config FFMPEG_DECODER_mpeg4
197        bool "MPEG-4"
198        depends FFMPEG_PATENTED
199
200config FFMPEG_DECODER_pcm_s16be
201        bool "PCM signed 16-bit big-endian"
202
203config FFMPEG_DECODER_pcm_s16le
204        bool "PCM signed 16-bit little-endian"
205
206config FFMPEG_DECODER_png
207        bool "PNG"
208        select FFMPEG_DECODER_zlib
209
210config FFMPEG_DECODER_vorbis
211        bool "Vorbis"
212
213config FFMPEG_DECODER_wmav1
214        bool "WMAv1"
215        depends FFMPEG_PATENTED
216
217config FFMPEG_DECODER_wmav2
218        bool "WMAv2"
219        depends FFMPEG_PATENTED
220
221config FFMPEG_DECODER_zlib
222        bool "Zlib"
223
224comment "Muxers ---"
225
226config FFMPEG_MUXER_ac3
227        bool "AC3"
228        depends FFMPEG_PATENTED
229
230config FFMPEG_MUXER_ffm
231        bool "FFM (ffserver live feed)"
232
233config FFMPEG_MUXER_h264
234        bool "H.264"
235        depends FFMPEG_PATENTED
236
237config FFMPEG_MUXER_mp3
238        bool "MP3 (MPEG Audio Layer 3)"
239
240config FFMPEG_MUXER_mp4
241        bool "MP4"
242
243config FFMPEG_MUXER_mpeg1video
244        bool "MPEG-1 Video"
245
246config FFMPEG_MUXER_mpeg2video
247        bool "MPEG-2 Video"
248
249config FFMPEG_MUXER_mpegts
250        bool "MPEG-2 (TS)"
251
252config FFMPEG_MUXER_ogg
253        bool "Ogg"
254
255config FFMPEG_MUXER_rtp
256        bool "RTP"
257
258comment "Demuxers ---"
259
260config FFMPEG_DEMUXER_aac
261        bool "AAC"
262
263config FFMPEG_DEMUXER_avi
264        bool "AVI (Audio Video Interleave)"
265
266config FFMPEG_DEMUXER_ac3
267        bool "AC3"
268
269config FFMPEG_DEMUXER_flac
270        bool "FLAC"
271
272config FFMPEG_DEMUXER_ffm
273        bool "FFM (ffserver live feed)"
274
275config FFMPEG_DEMUXER_h264
276        bool "H.264"
277        depends FFMPEG_PATENTED
278
279config FFMPEG_DEMUXER_matroska
280        bool "Matroska (MKA,MKV)"
281        select FFMPEG_DECODER_zlib
282
283config FFMPEG_DEMUXER_mov
284        bool "MOV/MP4/M4A/3GP/3G2/MJ2"
285        select FFMPEG_DECODER_zlib
286
287config FFMPEG_DEMUXER_mp3
288        bool "MP3 (MPEG Audio Layer 3)"
289        select FFMPEG_PARSER_mpegaudio
290
291config FFMPEG_DEMUXER_mpegvideo
292        bool "MPEG Video"
293
294config FFMPEG_DEMUXER_mpegps
295        bool "MPEG-2 (PS)"
296
297config FFMPEG_DEMUXER_mpegts
298        bool "MPEG-2 (TS)"
299
300config FFMPEG_DEMUXER_ogg
301        bool "Ogg"
302
303config FFMPEG_DEMUXER_rm
304        bool "RM"
305        help
306          RealMedia format demuxer
307
308config FFMPEG_DEMUXER_rtsp
309        bool "RTSP"
310        select FFMPEG_DEMUXER_rm
311        select FFMPEG_DEMUXER_sdp
312
313config FFMPEG_DEMUXER_sdp
314        bool "SDP"
315        select FFMPEG_DEMUXER_mpegts
316
317comment "Parsers ---"
318
319config FFMPEG_PARSER_aac
320        bool "AAC (Advanced Audio Coding)"
321        depends FFMPEG_PATENTED
322
323config FFMPEG_PARSER_ac3
324        bool "AC3"
325
326config FFMPEG_PARSER_h264
327        bool "H.264"
328        depends FFMPEG_PATENTED
329        select FFMPEG_DECODER_h264
330
331config FFMPEG_PARSER_mpegaudio
332        bool "MPEG Audio"
333
334config FFMPEG_PARSER_mpegvideo
335        bool "MPEG Video"
336
337config FFMPEG_PARSER_mpeg4video
338        bool "MPEG-4 Video"
339
340comment "Protocols ---"
341
342config FFMPEG_PROTOCOL_file
343        bool "file:"
344
345config FFMPEG_PROTOCOL_http
346        bool "http:"
347
348config FFMPEG_PROTOCOL_pipe
349        bool "pipe:"
350
351config FFMPEG_PROTOCOL_rtp
352        bool "rtp:"
353        select FFMPEG_PROTOCOL_udp
354
355config FFMPEG_PROTOCOL_tcp
356        bool "tcp:"
357
358config FFMPEG_PROTOCOL_udp
359        bool "udp:"
360
361endmenu
Note: See TracBrowser for help on using the repository browser.