This series, along with previous applied patches, should close tickets #7837 and #8831. This patch exposes additional decoders and demuxers for FFmpeg in menuconfig, along with other minor changes. Additional decoders: flac (Free Lossless Audio Codec) Additional demuxers: aac avi flac matroska mov (mov/mp4/m4a/3gp/3g2/mj2) zlib is required on matroska/mov to handle compressed headers. Minor changes: mp3 demuxer to require the mpegaudio parser. Doesn't do much without it. Matches current ffmpeg behavior. --target-os=linux as a compile flag. This will be required when cross-compiling in the 0.6 branch, and does no harm here. Signed-off-by: Ian Leonard <antonlacon_at_gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@26449 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
52e8acf313
commit
8b95db9ce4
@ -90,6 +90,9 @@ config FFMPEG_DECODER_atrac3
|
|||||||
bool "ATRAC3"
|
bool "ATRAC3"
|
||||||
depends FFMPEG_PATENTED
|
depends FFMPEG_PATENTED
|
||||||
|
|
||||||
|
config FFMPEG_DECODER_flac
|
||||||
|
bool "FLAC"
|
||||||
|
|
||||||
config FFMPEG_DECODER_gif
|
config FFMPEG_DECODER_gif
|
||||||
bool "GIF"
|
bool "GIF"
|
||||||
|
|
||||||
@ -189,9 +192,18 @@ config FFMPEG_MUXER_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 "AC3"
|
bool "AC3"
|
||||||
|
|
||||||
|
config FFMPEG_DEMUXER_flac
|
||||||
|
bool "FLAC"
|
||||||
|
|
||||||
config FFMPEG_DEMUXER_ffm
|
config FFMPEG_DEMUXER_ffm
|
||||||
bool "FFM (ffserver live feed)"
|
bool "FFM (ffserver live feed)"
|
||||||
|
|
||||||
@ -199,8 +211,17 @@ config FFMPEG_DEMUXER_h264
|
|||||||
bool "H.264"
|
bool "H.264"
|
||||||
depends FFMPEG_PATENTED
|
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 "MP3 (MPEG Audio Layer 3)"
|
bool "MP3 (MPEG Audio Layer 3)"
|
||||||
|
select FFMPEG_PARSER_mpegaudio
|
||||||
|
|
||||||
config FFMPEG_DEMUXER_mpegvideo
|
config FFMPEG_DEMUXER_mpegvideo
|
||||||
bool "MPEG Video"
|
bool "MPEG Video"
|
||||||
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ffmpeg
|
PKG_NAME:=ffmpeg
|
||||||
PKG_VERSION:=0.5.4
|
PKG_VERSION:=0.5.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://ffmpeg.org/releases/
|
PKG_SOURCE_URL:=http://ffmpeg.org/releases/
|
||||||
@ -31,6 +31,7 @@ FFMPEG_DECODERS:= \
|
|||||||
aac \
|
aac \
|
||||||
ac3 \
|
ac3 \
|
||||||
atrac3 \
|
atrac3 \
|
||||||
|
flac \
|
||||||
gif \
|
gif \
|
||||||
h264 \
|
h264 \
|
||||||
jpegls \
|
jpegls \
|
||||||
@ -63,9 +64,14 @@ FFMPEG_MUXERS:= \
|
|||||||
rtp \
|
rtp \
|
||||||
|
|
||||||
FFMPEG_DEMUXERS:= \
|
FFMPEG_DEMUXERS:= \
|
||||||
|
aac \
|
||||||
ac3 \
|
ac3 \
|
||||||
|
avi \
|
||||||
|
flac \
|
||||||
ffm \
|
ffm \
|
||||||
h264 \
|
h264 \
|
||||||
|
matroska \
|
||||||
|
mov \
|
||||||
mp3 \
|
mp3 \
|
||||||
mpegps \
|
mpegps \
|
||||||
mpegts \
|
mpegts \
|
||||||
@ -81,8 +87,8 @@ FFMPEG_PARSERS:= \
|
|||||||
ac3 \
|
ac3 \
|
||||||
h264 \
|
h264 \
|
||||||
mpegaudio \
|
mpegaudio \
|
||||||
mpegvideo \
|
|
||||||
mpeg4video \
|
mpeg4video \
|
||||||
|
mpegvideo \
|
||||||
|
|
||||||
FFMPEG_PROTOCOLS:= \
|
FFMPEG_PROTOCOLS:= \
|
||||||
file http pipe rtp tcp udp
|
file http pipe rtp tcp udp
|
||||||
@ -200,6 +206,7 @@ define Build/Configure
|
|||||||
--enable-cross-compile \
|
--enable-cross-compile \
|
||||||
--cross-prefix="$(TARGET_CROSS)" \
|
--cross-prefix="$(TARGET_CROSS)" \
|
||||||
--arch="$(ARCH)" \
|
--arch="$(ARCH)" \
|
||||||
|
--target-os=linux \
|
||||||
--prefix="/usr" \
|
--prefix="/usr" \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user