Merge pull request #421 from antonlacon/ffmpeg-2.3.x
ffmpeg: update to 2.3.4 and add libopus support to libffmpeg
This commit is contained in:
commit
01e8f2c259
2 changed files with 15 additions and 4 deletions
|
@ -60,6 +60,7 @@ config FFMPEG_CUSTOM_AUDIO_DEC_SUPPORT
|
||||||
select FFMPEG_CUSTOM_DECODER_ape
|
select FFMPEG_CUSTOM_DECODER_ape
|
||||||
select FFMPEG_CUSTOM_DECODER_atrac3
|
select FFMPEG_CUSTOM_DECODER_atrac3
|
||||||
select FFMPEG_CUSTOM_DECODER_flac
|
select FFMPEG_CUSTOM_DECODER_flac
|
||||||
|
select FFMPEG_CUSTOM_SELECT_libopus
|
||||||
select FFMPEG_CUSTOM_DECODER_mp2
|
select FFMPEG_CUSTOM_DECODER_mp2
|
||||||
select FFMPEG_CUSTOM_DECODER_mp3
|
select FFMPEG_CUSTOM_DECODER_mp3
|
||||||
select FFMPEG_CUSTOM_DECODER_mpc7
|
select FFMPEG_CUSTOM_DECODER_mpc7
|
||||||
|
@ -108,6 +109,9 @@ config FFMPEG_CUSTOM_AUDIO_DEC_SUPPORT
|
||||||
|
|
||||||
comment "External Libraries ---"
|
comment "External Libraries ---"
|
||||||
|
|
||||||
|
config FFMPEG_CUSTOM_SELECT_libopus
|
||||||
|
bool "Opus"
|
||||||
|
|
||||||
config FFMPEG_CUSTOM_SELECT_speex
|
config FFMPEG_CUSTOM_SELECT_speex
|
||||||
bool "Speex"
|
bool "Speex"
|
||||||
|
|
||||||
|
|
|
@ -8,12 +8,12 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ffmpeg
|
PKG_NAME:=ffmpeg
|
||||||
PKG_VERSION:=2.3.3
|
PKG_VERSION:=2.3.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
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/
|
||||||
PKG_MD5SUM:=72361d3b8717b6db3ad2b9da8df7af5e
|
PKG_MD5SUM:=d6a0c7f0827a2446ca2bed11ac9bf608
|
||||||
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
||||||
|
|
||||||
PKG_LICENSE:=LGPL-2.1+ GPL-2+ LGPL-3
|
PKG_LICENSE:=LGPL-2.1+ GPL-2+ LGPL-3
|
||||||
|
@ -289,7 +289,7 @@ endef
|
||||||
define Package/libffmpeg-custom
|
define Package/libffmpeg-custom
|
||||||
$(call Package/libffmpeg/Default)
|
$(call Package/libffmpeg/Default)
|
||||||
TITLE+= (custom)
|
TITLE+= (custom)
|
||||||
DEPENDS+= @DEVEL +libspeex
|
DEPENDS+= @DEVEL +libopus +libspeex
|
||||||
VARIANT:=custom
|
VARIANT:=custom
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
@ -308,7 +308,7 @@ endef
|
||||||
define Package/libffmpeg-audio-dec
|
define Package/libffmpeg-audio-dec
|
||||||
$(call Package/libffmpeg/Default)
|
$(call Package/libffmpeg/Default)
|
||||||
TITLE+= (audio)
|
TITLE+= (audio)
|
||||||
DEPENDS+= @DEVEL +libspeex
|
DEPENDS+= @DEVEL +libopus +libspeex
|
||||||
VARIANT:=audio-dec
|
VARIANT:=audio-dec
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -428,6 +428,12 @@ ifeq ($(CONFIG_FFMPEG_CUSTOM_SELECT_adpcm),y)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_FFMPEG_CUSTOM_SELECT_libopus),y)
|
||||||
|
FFMPEG_CONFIGURE+= \
|
||||||
|
--enable-libopus --enable-decoder=libopus \
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_FFMPEG_CUSTOM_SELECT_speex),y)
|
ifeq ($(CONFIG_FFMPEG_CUSTOM_SELECT_speex),y)
|
||||||
FFMPEG_CONFIGURE+= \
|
FFMPEG_CONFIGURE+= \
|
||||||
--enable-libspeex --enable-decoder=libspeex \
|
--enable-libspeex --enable-decoder=libspeex \
|
||||||
|
@ -454,6 +460,7 @@ ifeq ($(BUILD_VARIANT),audio-dec)
|
||||||
$(call FFMPEG_ENABLE,demuxer,$(FFMPEG_AUDIO_DEMUXERS)) \
|
$(call FFMPEG_ENABLE,demuxer,$(FFMPEG_AUDIO_DEMUXERS)) \
|
||||||
$(call FFMPEG_ENABLE,parser,$(FFMPEG_AUDIO_PARSERS)) \
|
$(call FFMPEG_ENABLE,parser,$(FFMPEG_AUDIO_PARSERS)) \
|
||||||
$(call FFMPEG_ENABLE,protocol,$(FFMPEG_AUDIO_PROTOCOLS)) \
|
$(call FFMPEG_ENABLE,protocol,$(FFMPEG_AUDIO_PROTOCOLS)) \
|
||||||
|
--enable-libopus --enable-decoder=libopus \
|
||||||
--enable-libspeex --enable-decoder=libspeex \
|
--enable-libspeex --enable-decoder=libspeex \
|
||||||
--disable-decoder=pcm_bluray,pcm_dvd \
|
--disable-decoder=pcm_bluray,pcm_dvd \
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue