[package] ffmpeg: 0.8.2 Version Bump (#8831)
[openwrt/svn-archive/archive.git] / multimedia / ffmpeg / Config.in
index 259cb8f4a80f66d4aae1be9462e91fe3ed5197b2..69950b1cc738bbcbe0420c0077d3ebde9fb8713c 100644 (file)
@@ -1,16 +1,28 @@
+menu "Configuration"
+       depends PACKAGE_libffmpeg
 
 
-# FFmpeg configuration
+config FFMPEG_ENCODE
+       bool "Big Toggle for FFmpeg's encoder/muxer support"
+       depends FFMPEG_PATENTED
+
+config FFMPEG_DECODE
+       bool "Big Toggle for FFmpeg's decoder/demuxer support"
+       depends FFMPEG_PATENTED
+
+config FFMPEG_PATENTED
+       bool "Include patented codecs and technologies"
+       default BUILD_PATENTED
 
 config FFMPEG_FFSERVER_SUPPORT
 
 config FFMPEG_FFSERVER_SUPPORT
-       bool
-       default y if PACKAGE_ffserver
+       bool "Include support for ffserver (FFmpeg streaming server)"
        select FFMPEG_MUXER_ffm
        select FFMPEG_MUXER_ffm
+       select FFMPEG_DEMUXER_ffm
        select FFMPEG_DEMUXER_rtsp
        select FFMPEG_PROTOCOL_rtp
 
 config FFMPEG_LIBDLNA_SUPPORT
        select FFMPEG_DEMUXER_rtsp
        select FFMPEG_PROTOCOL_rtp
 
 config FFMPEG_LIBDLNA_SUPPORT
-       bool
-       default y if PACKAGE_libdlna
+       bool "Include support for libdlna/ushare"
+       depends FFMPEG_PATENTED
        select FFMPEG_DECODER_ac3
        select FFMPEG_DECODER_atrac3
        select FFMPEG_DECODER_h264
        select FFMPEG_DECODER_ac3
        select FFMPEG_DECODER_atrac3
        select FFMPEG_DECODER_h264
@@ -19,7 +31,6 @@ config FFMPEG_LIBDLNA_SUPPORT
        select FFMPEG_DECODER_mpeg1video
        select FFMPEG_DECODER_mpeg2video
        select FFMPEG_DECODER_mpeg4
        select FFMPEG_DECODER_mpeg1video
        select FFMPEG_DECODER_mpeg2video
        select FFMPEG_DECODER_mpeg4
-       select FFMPEG_DECODER_mpeg4aac
        select FFMPEG_DECODER_mpegvideo
        select FFMPEG_DECODER_wmav1
        select FFMPEG_DECODER_wmav2
        select FFMPEG_DECODER_mpegvideo
        select FFMPEG_DECODER_wmav1
        select FFMPEG_DECODER_wmav2
@@ -29,237 +40,280 @@ config FFMPEG_LIBDLNA_SUPPORT
        select FFMPEG_DEMUXER_mp3
        select FFMPEG_DEMUXER_mpegvideo
 
        select FFMPEG_DEMUXER_mp3
        select FFMPEG_DEMUXER_mpegvideo
 
+config FFMPEG_MINIDLNA_SUPPORT
+       bool "Include support for minidlna"
+       depends FFMPEG_PATENTED
+       select FFMPEG_DECODER_aac
+       select FFMPEG_DECODER_ac3
+       select FFMPEG_DECODER_flac
+       select FFMPEG_DECODER_h264
+       select FFMPEG_DECODER_jpegls
+       select FFMPEG_DECODER_mp3
+       select FFMPEG_DECODER_mpeg1video
+       select FFMPEG_DECODER_mpeg2video
+       select FFMPEG_DECODER_mpeg4
+       select FFMPEG_DECODER_mpegvideo
+       select FFMPEG_DECODER_wmav1
+       select FFMPEG_DECODER_wmav2
+       select FFMPEG_DECODER_png
+       select FFMPEG_DEMUXER_aac
+       select FFMPEG_DEMUXER_ac3
+       select FFMPEG_DEMUXER_avi
+       select FFMPEG_DEMUXER_flac
+       select FFMPEG_DEMUXER_h264
+       select FFMPEG_DEMUXER_matroska
+       select FFMPEG_DEMUXER_mov
+       select FFMPEG_DEMUXER_mp3
+       select FFMPEG_DEMUXER_mpegvideo
+       select FFMPEG_PROTOCOL_file
+
 comment "Encoders ---"
 
 config FFMPEG_ENCODER_ac3
 comment "Encoders ---"
 
 config FFMPEG_ENCODER_ac3
-       bool
-       prompt "AC3"
+       bool "AC3"
+       depends FFMPEG_PATENTED
        select FFMPEG_PARSER_ac3
 
 config FFMPEG_ENCODER_jpegls
        select FFMPEG_PARSER_ac3
 
 config FFMPEG_ENCODER_jpegls
-       bool
-       prompt "JPEG-LS"
+       bool "JPEG-LS"
 
 config FFMPEG_ENCODER_mpeg1video
 
 config FFMPEG_ENCODER_mpeg1video
-       bool
-       prompt "MPEG-1 Video"
+       bool "MPEG-1 Video"
 
 config FFMPEG_ENCODER_mpeg2video
 
 config FFMPEG_ENCODER_mpeg2video
-       bool
-       prompt "MPEG-2 Video"
+       bool "MPEG-2 Video"
+       depends FFMPEG_PATENTED
 
 config FFMPEG_ENCODER_mpeg4
 
 config FFMPEG_ENCODER_mpeg4
-       bool
-       prompt "MPEG-4"
+       bool "MPEG-4"
+       depends FFMPEG_PATENTED
+
+config FFMPEG_ENCODER_pcm_s16be
+       bool "PCM signed 16-bit big-endian"
+
+config FFMPEG_ENCODER_pcm_s16le
+       bool "PCM signed 16-bit little-endian"
 
 config FFMPEG_ENCODER_png
 
 config FFMPEG_ENCODER_png
-       bool
-       prompt "PNG"
+       bool "PNG"
        select FFMPEG_ENCODER_zlib
 
        select FFMPEG_ENCODER_zlib
 
+config FFMPEG_ENCODER_vorbis
+       bool "Vorbis"
+
 config FFMPEG_ENCODER_zlib
 config FFMPEG_ENCODER_zlib
-       bool
-       prompt "Zlib"
+       bool "Zlib"
 
 comment "Decoders ---"
 
 
 comment "Decoders ---"
 
+config FFMPEG_DECODER_aac
+       bool "AAC (Advanced Audio Coding)"
+       depends FFMPEG_PATENTED
+       select FFMPEG_PARSER_aac
+
 config FFMPEG_DECODER_ac3
 config FFMPEG_DECODER_ac3
-       bool
-       prompt "AC3"
+       bool "AC3"
+       depends FFMPEG_PATENTED
        select FFMPEG_PARSER_ac3
 
 config FFMPEG_DECODER_atrac3
        select FFMPEG_PARSER_ac3
 
 config FFMPEG_DECODER_atrac3
-       bool
-       prompt "ATRAC3"
+       bool "ATRAC3"
+       depends FFMPEG_PATENTED
+
+config FFMPEG_DECODER_flac
+       bool "FLAC"
 
 config FFMPEG_DECODER_gif
 
 config FFMPEG_DECODER_gif
-       bool
-       prompt "GIF"
+       bool "GIF"
 
 config FFMPEG_DECODER_h264
 
 config FFMPEG_DECODER_h264
-       bool
-       prompt "H.264"
-       select FFMPEG_PARSER_h264
+       bool "H.264"
+       depends FFMPEG_PATENTED
 
 config FFMPEG_DECODER_jpegls
 
 config FFMPEG_DECODER_jpegls
-       bool
-       prompt "JPEG-LS"
+       bool "JPEG-LS"
+
+config FFMPEG_DECODER_mp2
+       bool "MP2 (MPEG Audio Layer 2)"
+       depends FFMPEG_PATENTED
 
 config FFMPEG_DECODER_mp3
 
 config FFMPEG_DECODER_mp3
-       bool
-       prompt "MP3"
-       select FFMPEG_PARSER_mpegaudio
+       bool "MP3 (MPEG Audio Layer 2)"
+       depends FFMPEG_PATENTED
 
 config FFMPEG_DECODER_mpegvideo
 
 config FFMPEG_DECODER_mpegvideo
-       bool
-       prompt "MPEG Video"
+       bool "MPEG Video"
 
 config FFMPEG_DECODER_mpeg1video
 
 config FFMPEG_DECODER_mpeg1video
-       bool
-       prompt "MPEG-1 Video"
+       bool "MPEG-1 Video"
 
 config FFMPEG_DECODER_mpeg2video
 
 config FFMPEG_DECODER_mpeg2video
-       bool
-       prompt "MPEG-2 Video"
+       bool "MPEG-2 Video"
+       depends FFMPEG_PATENTED
 
 config FFMPEG_DECODER_mpeg4
 
 config FFMPEG_DECODER_mpeg4
-       bool
-       prompt "MPEG-4"
+       bool "MPEG-4"
+       depends FFMPEG_PATENTED
 
 
-config FFMPEG_DECODER_mpeg4aac
-       bool
-       prompt "MPEG-4 (AAC)"
+config FFMPEG_DECODER_pcm_s16be
+       bool "PCM signed 16-bit big-endian"
+
+config FFMPEG_DECODER_pcm_s16le
+       bool "PCM signed 16-bit little-endian"
 
 config FFMPEG_DECODER_png
 
 config FFMPEG_DECODER_png
-       bool
-       prompt "PNG"
+       bool "PNG"
        select FFMPEG_DECODER_zlib
 
        select FFMPEG_DECODER_zlib
 
+config FFMPEG_DECODER_vorbis
+       bool "Vorbis"
+
 config FFMPEG_DECODER_wmav1
 config FFMPEG_DECODER_wmav1
-       bool
-       prompt "WMAv1"
+       bool "WMAv1"
+       depends FFMPEG_PATENTED
 
 config FFMPEG_DECODER_wmav2
 
 config FFMPEG_DECODER_wmav2
-       bool
-       prompt "WMAv2"
+       bool "WMAv2"
+       depends FFMPEG_PATENTED
 
 config FFMPEG_DECODER_zlib
 
 config FFMPEG_DECODER_zlib
-       bool
-       prompt "Zlib"
+       bool "Zlib"
 
 comment "Muxers ---"
 
 config FFMPEG_MUXER_ac3
 
 comment "Muxers ---"
 
 config FFMPEG_MUXER_ac3
-       bool
-       prompt "AC3"
-       select FFMPEG_PARSER_ac3
+       bool "AC3"
+       depends FFMPEG_PATENTED
 
 config FFMPEG_MUXER_ffm
 
 config FFMPEG_MUXER_ffm
-       bool
-       prompt "FFM (ffserver live feed)"
+       bool "FFM (ffserver live feed)"
 
 config FFMPEG_MUXER_h264
 
 config FFMPEG_MUXER_h264
-       bool
-       prompt "H.264"
-       select FFMPEG_PARSER_h264
+       bool "H.264"
+       depends FFMPEG_PATENTED
 
 config FFMPEG_MUXER_mp3
 
 config FFMPEG_MUXER_mp3
-       bool
-       prompt "MP3"
+       bool "MP3 (MPEG Audio Layer 3)"
 
 config FFMPEG_MUXER_mp4
 
 config FFMPEG_MUXER_mp4
-       bool
-       prompt "MP4"
+       bool "MP4"
 
 config FFMPEG_MUXER_mpeg1video
 
 config FFMPEG_MUXER_mpeg1video
-       bool
-       prompt "MPEG-1 Video"
+       bool "MPEG-1 Video"
 
 config FFMPEG_MUXER_mpeg2video
 
 config FFMPEG_MUXER_mpeg2video
-       bool
-       prompt "MPEG-2 Video"
+       bool "MPEG-2 Video"
 
 config FFMPEG_MUXER_mpegts
 
 config FFMPEG_MUXER_mpegts
-       bool
-       prompt "MPEG-2 (TS)"
+       bool "MPEG-2 (TS)"
+
+config FFMPEG_MUXER_ogg
+       bool "Ogg"
 
 config FFMPEG_MUXER_rtp
 
 config FFMPEG_MUXER_rtp
-       bool
-       prompt "RTP"
+       bool "RTP"
 
 comment "Demuxers ---"
 
 
 comment "Demuxers ---"
 
+config FFMPEG_DEMUXER_aac
+       bool "AAC"
+
+config FFMPEG_DEMUXER_avi
+       bool "AVI (Audio Video Interleave)"
+
 config FFMPEG_DEMUXER_ac3
 config FFMPEG_DEMUXER_ac3
-       bool
-       prompt "AC3"
-       select FFMPEG_PARSER_ac3
+       bool "AC3"
+
+config FFMPEG_DEMUXER_flac
+       bool "FLAC"
 
 config FFMPEG_DEMUXER_ffm
 
 config FFMPEG_DEMUXER_ffm
-       bool
-       prompt "FFM (ffserver live feed)"
+       bool "FFM (ffserver live feed)"
 
 config FFMPEG_DEMUXER_h264
 
 config FFMPEG_DEMUXER_h264
-       bool
-       prompt "H.264"
-       select FFMPEG_PARSER_h264
+       bool "H.264"
+       depends FFMPEG_PATENTED
+
+config FFMPEG_DEMUXER_matroska
+       bool "Matroska (MKA,MKV)"
+       select FFMPEG_DECODER_zlib
+
+config FFMPEG_DEMUXER_mov
+       bool "MOV/MP4/M4A/3GP/3G2/MJ2"
+       select FFMPEG_DECODER_zlib
 
 config FFMPEG_DEMUXER_mp3
 
 config FFMPEG_DEMUXER_mp3
-       bool
-       prompt "MP3"
+       bool "MP3 (MPEG Audio Layer 3)"
+       select FFMPEG_PARSER_mpegaudio
 
 config FFMPEG_DEMUXER_mpegvideo
 
 config FFMPEG_DEMUXER_mpegvideo
-       bool
-       prompt "MPEG Video"
-       select FFMPEG_PARSER_mpegvideo
+       bool "MPEG Video"
 
 config FFMPEG_DEMUXER_mpegps
 
 config FFMPEG_DEMUXER_mpegps
-       bool
-       prompt "MPEG-2 (PS)"
+       bool "MPEG-2 (PS)"
 
 config FFMPEG_DEMUXER_mpegts
 
 config FFMPEG_DEMUXER_mpegts
-       bool
-       prompt "MPEG-2 (TS)"
+       bool "MPEG-2 (TS)"
+
+config FFMPEG_DEMUXER_ogg
+       bool "Ogg"
+
+config FFMPEG_DEMUXER_rm
+       bool "RM"
+       help
+         RealMedia format demuxer
 
 config FFMPEG_DEMUXER_rtsp
 
 config FFMPEG_DEMUXER_rtsp
-       bool
-       prompt "RTSP"
+       bool "RTSP"
+       select FFMPEG_DEMUXER_rm
        select FFMPEG_DEMUXER_sdp
 
 config FFMPEG_DEMUXER_sdp
        select FFMPEG_DEMUXER_sdp
 
 config FFMPEG_DEMUXER_sdp
-       bool
-       prompt "SDP"
+       bool "SDP"
        select FFMPEG_DEMUXER_mpegts
 
 comment "Parsers ---"
 
        select FFMPEG_DEMUXER_mpegts
 
 comment "Parsers ---"
 
+config FFMPEG_PARSER_aac
+       bool "AAC (Advanced Audio Coding)"
+       depends FFMPEG_PATENTED
+
 config FFMPEG_PARSER_ac3
 config FFMPEG_PARSER_ac3
-       bool
-       prompt "AC3"
+       bool "AC3"
 
 config FFMPEG_PARSER_h264
 
 config FFMPEG_PARSER_h264
-       bool
-       prompt "H.264"
+       bool "H.264"
+       depends FFMPEG_PATENTED
+       select FFMPEG_DECODER_h264
 
 config FFMPEG_PARSER_mpegaudio
 
 config FFMPEG_PARSER_mpegaudio
-       bool
-       prompt "MPEG Audio"
+       bool "MPEG Audio"
 
 config FFMPEG_PARSER_mpegvideo
 
 config FFMPEG_PARSER_mpegvideo
-       bool
-       prompt "MPEG Video"
+       bool "MPEG Video"
 
 config FFMPEG_PARSER_mpeg4video
 
 config FFMPEG_PARSER_mpeg4video
-       bool
-       prompt "MPEG-4 Video"
+       bool "MPEG-4 Video"
 
 comment "Protocols ---"
 
 config FFMPEG_PROTOCOL_file
 
 comment "Protocols ---"
 
 config FFMPEG_PROTOCOL_file
-       bool
-       prompt "file:"
+       bool "file:"
 
 config FFMPEG_PROTOCOL_http
 
 config FFMPEG_PROTOCOL_http
-       bool
-       prompt "http:"
+       bool "http:"
 
 config FFMPEG_PROTOCOL_pipe
 
 config FFMPEG_PROTOCOL_pipe
-       bool
-       prompt "pipe:"
+       bool "pipe:"
 
 config FFMPEG_PROTOCOL_rtp
 
 config FFMPEG_PROTOCOL_rtp
-       bool
-       prompt "rtp:"
+       bool "rtp:"
        select FFMPEG_PROTOCOL_udp
 
 config FFMPEG_PROTOCOL_tcp
        select FFMPEG_PROTOCOL_udp
 
 config FFMPEG_PROTOCOL_tcp
-       bool
-       prompt "tcp:"
+       bool "tcp:"
 
 config FFMPEG_PROTOCOL_udp
 
 config FFMPEG_PROTOCOL_udp
-       bool
-       prompt "udp:"
-
-config FFMPEG_PROTOCOL_IPv6
-       bool
-       prompt "IPv6"
+       bool "udp:"
 
 
+endmenu