ffmpeg: Update 2.8.8, add codecs, update dlna profile, correct libopus use

Update ffmpeg to 2.8.8.

Adds HEVC, Opus, VC-1 and Vorbis to custom and minidlna profiles. This should
more closely match formats media being streamed on the local network via
DLNA/UPNP.

Removes raw aac, ac3 and h264 from minidlna profile. Most players expect
this content to come within a container (mkv, mov, mp4, mpegts, etc...),
so this was unnecessary for the profile's goals.

Remove libopus from being selected by the -custom's audio-dec profile, and as
a depend on -audio-dec. -audio-dec uses ffmpeg's internal Opus decoder, not
the external library.

Don't select specific parsers in libffmpeg-mini profile. The demuxers separate
streams from containers. Parsers break up the streams. These are not needed
for DLNA/UPNP. If a parser is needed, the ffmpeg configure script should grab
it.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard
2016-09-03 11:15:49 -07:00
parent 7d8b40445a
commit 3b624ce56e
2 changed files with 53 additions and 26 deletions
+16 -15
View File
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ffmpeg
PKG_VERSION:=2.8.7
PKG_RELEASE:=3
PKG_VERSION:=2.8.8
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://ffmpeg.org/releases/
PKG_MD5SUM:=7e5b1c98eedfc3a364fa8c4095deeae5
PKG_MD5SUM:=5fae1ba5a5d37a2d0de750479b7270d4
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
PKG_LICENSE:=LGPL-2.1+ GPL-2+ LGPL-3
@@ -42,6 +42,7 @@ FFMPEG_CUSTOM_DECODERS:= \
flac \
gif \
h264 \
hevc \
jpegls \
mp2 \
mp3 \
@@ -54,6 +55,7 @@ FFMPEG_CUSTOM_DECODERS:= \
pcm_s16be \
pcm_s16le \
png \
vc1 \
vorbis \
wavpack \
wmav1 \
@@ -64,6 +66,7 @@ FFMPEG_CUSTOM_MUXERS:= \
ac3 \
ffm \
h264 \
hevc \
mp3 \
mp4 \
mpeg1video \
@@ -81,6 +84,7 @@ FFMPEG_CUSTOM_DEMUXERS:= \
flac \
ffm \
h264 \
hevc \
matroska \
mov \
mp3 \
@@ -95,6 +99,7 @@ FFMPEG_CUSTOM_DEMUXERS:= \
rtp \
sdp \
v4l2 \
vc1 \
wav \
wv \
@@ -103,9 +108,11 @@ FFMPEG_CUSTOM_PARSERS:= \
flac \
ac3 \
h264 \
hevc \
mpegaudio \
mpeg4video \
mpegvideo \
vc1 \
FFMPEG_CUSTOM_PROTOCOLS:= \
file http icecast pipe rtp tcp udp
@@ -115,34 +122,29 @@ FFMPEG_MINI_DECODERS:= \
ac3 \
flac \
h264 \
hevc \
jpegls \
mp3 \
mpeg1video \
mpeg2video \
mpeg4 \
mpegvideo \
opus \
png \
vc1 \
vorbis \
wmav1 \
wmav2 \
FFMPEG_MINI_DEMUXERS:= \
aac \
ac3 \
avi \
flac \
h264 \
matroska \
mov \
mp3 \
mpegts \
mpegvideo \
FFMPEG_MINI_PARSERS:= \
ac3 \
flac \
h264 \
mpeg4video \
mpegaudio \
ogg \
FFMPEG_MINI_PROTOCOLS:= \
file \
@@ -311,7 +313,7 @@ endef
define Package/libffmpeg-audio-dec
$(call Package/libffmpeg/Default)
TITLE+= (audio)
DEPENDS+= +libspeex +libopus
DEPENDS+= +libspeex
VARIANT:=audio-dec
endef
@@ -526,7 +528,6 @@ ifeq ($(BUILD_VARIANT),mini)
--disable-everything \
$(call FFMPEG_ENABLE,decoder,$(FFMPEG_MINI_DECODERS)) \
$(call FFMPEG_ENABLE,demuxer,$(FFMPEG_MINI_DEMUXERS)) \
$(call FFMPEG_ENABLE,parser,$(FFMPEG_MINI_PARSERS)) \
$(call FFMPEG_ENABLE,protocol,$(FFMPEG_MINI_PROTOCOLS)) \
endif