Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions multimedia/ffmpeg/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@ config FFMPEG_CUSTOM_DEMUXER_mpegps
config FFMPEG_CUSTOM_DEMUXER_mpegts
bool "MPEG-2 (TS)"

config FFMPEG_CUSTOM_DEMUXER_hls
bool "hls"

config FFMPEG_CUSTOM_DEMUXER_mpc
bool "Musepack"

Expand Down Expand Up @@ -465,6 +468,12 @@ config FFMPEG_CUSTOM_PROTOCOL_file
config FFMPEG_CUSTOM_PROTOCOL_http
bool "http:"

config FFMPEG_CUSTOM_PROTOCOL_https
bool "https:"

config FFMPEG_CUSTOM_PROTOCOL_crypto
bool "crypto:"

config FFMPEG_CUSTOM_PROTOCOL_icecast
bool "icecast:"
select FFMPEG_CUSTOM_PROTOCOL_http
Expand Down
11 changes: 8 additions & 3 deletions multimedia/ffmpeg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=ffmpeg
PKG_VERSION:=6.1.4
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://ffmpeg.org/releases/
Expand Down Expand Up @@ -96,6 +96,7 @@ FFMPEG_CUSTOM_DEMUXERS:= \
mp3 \
mpegps \
mpegts \
hls \
mpegvideo \
mpc \
mpc8 \
Expand All @@ -121,7 +122,7 @@ FFMPEG_CUSTOM_PARSERS:= \
vc1 \

FFMPEG_CUSTOM_PROTOCOLS:= \
file http icecast pipe rtp tcp udp
file http icecast pipe rtp tcp udp https crypto

FFMPEG_MINI_DECODERS:= \
ac3 \
Expand Down Expand Up @@ -315,7 +316,8 @@ $(call Package/libffmpeg/Default)
+FFMPEG_CUSTOM_SELECT_libopus:libopus \
+PACKAGE_libx264:libx264 +PACKAGE_lame-lib:lame-lib \
+FFMPEG_CUSTOM_SELECT_libshine:shine \
+PACKAGE_fdk-aac:fdk-aac
+PACKAGE_fdk-aac:fdk-aac \
+FFMPEG_CUSTOM_PROTOCOL_https:libopenssl
VARIANT:=custom
MENU:=1
endef
Expand Down Expand Up @@ -509,6 +511,9 @@ ifeq ($(BUILD_VARIANT),custom)
$(foreach c, $(2), \
$(if $($(3)_$(c)),--enable-$(1)="$(c)") \
)
ifeq ($(CONFIG_FFMPEG_CUSTOM_PROTOCOL_https),y)
FFMPEG_CONFIGURE+=--enable-openssl
endif

ifeq ($(CONFIG_FFMPEG_CUSTOM_LARGE),y)
FFMPEG_CONFIGURE+= \
Expand Down
Loading