mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #1280 from antonlacon/ffmpeg-2.6.x
ffmpeg: switch to included opus support for libffmpeg-audio-dec and option to libffmpeg-custom
This commit is contained in:
@@ -60,11 +60,11 @@ 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
|
||||||
select FFMPEG_CUSTOM_DECODER_mpc8
|
select FFMPEG_CUSTOM_DECODER_mpc8
|
||||||
|
select FFMPEG_CUSTOM_DECODER_opus
|
||||||
select FFMPEG_CUSTOM_DECODER_pcm_s16be
|
select FFMPEG_CUSTOM_DECODER_pcm_s16be
|
||||||
select FFMPEG_CUSTOM_DECODER_pcm_s16le
|
select FFMPEG_CUSTOM_DECODER_pcm_s16le
|
||||||
select FFMPEG_CUSTOM_SELECT_speex
|
select FFMPEG_CUSTOM_SELECT_speex
|
||||||
@@ -98,9 +98,10 @@ config FFMPEG_CUSTOM_AUDIO_DEC_SUPPORT
|
|||||||
select FFMPEG_CUSTOM_DEMUXER_wv
|
select FFMPEG_CUSTOM_DEMUXER_wv
|
||||||
select FFMPEG_CUSTOM_PARSER_aac
|
select FFMPEG_CUSTOM_PARSER_aac
|
||||||
select FFMPEG_CUSTOM_PARSER_aac_latm
|
select FFMPEG_CUSTOM_PARSER_aac_latm
|
||||||
select FFMPEG_CUSTOM_PARSER_flac
|
|
||||||
select FFMPEG_CUSTOM_PARSER_ac3
|
select FFMPEG_CUSTOM_PARSER_ac3
|
||||||
|
select FFMPEG_CUSTOM_PARSER_flac
|
||||||
select FFMPEG_CUSTOM_PARSER_mpegaudio
|
select FFMPEG_CUSTOM_PARSER_mpegaudio
|
||||||
|
select FFMPEG_CUSTOM_PARSER_opus
|
||||||
select FFMPEG_CUSTOM_PROTOCOL_file
|
select FFMPEG_CUSTOM_PROTOCOL_file
|
||||||
select FFMPEG_CUSTOM_PROTOCOL_http
|
select FFMPEG_CUSTOM_PROTOCOL_http
|
||||||
select FFMPEG_CUSTOM_PROTOCOL_rtp
|
select FFMPEG_CUSTOM_PROTOCOL_rtp
|
||||||
@@ -229,6 +230,9 @@ config FFMPEG_CUSTOM_DECODER_mpc8
|
|||||||
bool "Musepack 8"
|
bool "Musepack 8"
|
||||||
select FFMPEG_CUSTOM_DEMUXER_mpc8
|
select FFMPEG_CUSTOM_DEMUXER_mpc8
|
||||||
|
|
||||||
|
config FFMPEG_CUSTOM_DECODER_opus
|
||||||
|
bool "Opus"
|
||||||
|
|
||||||
config FFMPEG_CUSTOM_DECODER_pcm_s16be
|
config FFMPEG_CUSTOM_DECODER_pcm_s16be
|
||||||
bool "PCM signed 16-bit big-endian"
|
bool "PCM signed 16-bit big-endian"
|
||||||
|
|
||||||
@@ -398,6 +402,9 @@ config FFMPEG_CUSTOM_PARSER_mpegvideo
|
|||||||
config FFMPEG_CUSTOM_PARSER_mpeg4video
|
config FFMPEG_CUSTOM_PARSER_mpeg4video
|
||||||
bool "MPEG-4 Video"
|
bool "MPEG-4 Video"
|
||||||
|
|
||||||
|
config FFMPEG_CUSTOM_PARSER_opus
|
||||||
|
bool "Opus"
|
||||||
|
|
||||||
comment "Protocols ---"
|
comment "Protocols ---"
|
||||||
|
|
||||||
config FFMPEG_CUSTOM_PROTOCOL_file
|
config FFMPEG_CUSTOM_PROTOCOL_file
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ffmpeg
|
PKG_NAME:=ffmpeg
|
||||||
PKG_VERSION:=2.6.3
|
PKG_VERSION:=2.6.3
|
||||||
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/
|
||||||
@@ -162,6 +162,7 @@ FFMPEG_AUDIO_DECODERS:= \
|
|||||||
mp3* \
|
mp3* \
|
||||||
mpc7 \
|
mpc7 \
|
||||||
mpc8 \
|
mpc8 \
|
||||||
|
opus \
|
||||||
pcm_* \
|
pcm_* \
|
||||||
vorbis \
|
vorbis \
|
||||||
wavpack \
|
wavpack \
|
||||||
@@ -197,9 +198,10 @@ FFMPEG_AUDIO_DEMUXERS:= \
|
|||||||
FFMPEG_AUDIO_PARSERS:= \
|
FFMPEG_AUDIO_PARSERS:= \
|
||||||
aac \
|
aac \
|
||||||
aac_latm \
|
aac_latm \
|
||||||
flac \
|
|
||||||
ac3 \
|
ac3 \
|
||||||
|
flac \
|
||||||
mpegaudio \
|
mpegaudio \
|
||||||
|
opus \
|
||||||
|
|
||||||
FFMPEG_AUDIO_PROTOCOLS:= \
|
FFMPEG_AUDIO_PROTOCOLS:= \
|
||||||
file http icecast rtp tcp udp
|
file http icecast rtp tcp udp
|
||||||
@@ -308,7 +310,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 +libopus +libspeex
|
DEPENDS+= @BUILD_PATENTED +libspeex
|
||||||
VARIANT:=audio-dec
|
VARIANT:=audio-dec
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -462,7 +464,6 @@ 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 \
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user