--enable-demuxer=hds \
--disable-encoders \
--disable-muxers \
- --enable-muxer=mpegts \
- --disable-ffplay \
- --disable-ffmpeg \
- --disable-ffserver \
- --disable-ffprobe \
+ --disable-programs \
--disable-static \
--disable-filters \
- --disable-protocols \
+ --enable-librtmp \
+ --disable-protocol=data \
+ --disable-protocol=cache \
+ --disable-protocol=concat \
+ --disable-protocol=crypto \
+ --disable-protocol=ftp \
+ --disable-protocol=gopher \
+ --disable-protocol=httpproxy \
+ --disable-protocol=pipe \
+ --disable-protocol=sctp \
+ --disable-protocol=srtp \
+ --disable-protocol=subfile \
+ --disable-protocol=unix \
+ --disable-protocol=md5 \
+ --disable-protocol=hls \
+ --enable-openssl \
--enable-protocol=file \
--enable-protocol=http \
--enable-protocol=rtmp \
--enable-protocol=rtmpte \
--enable-protocol=mmsh \
--enable-protocol=mmst \
+ --enable-protocol=rtp \
+ --enable-protocol=tcp \
+ --enable-protocol=udp \
--enable-bsfs \
--disable-devices \
--enable-swresample \
--enable-decoder=vc1 \
--target-os=linux \
--disable-neon \
- --disable-doc \
- --cross-prefix=$(TARGET)- \
- --prefix=$(TARGETPREFIX) \
--arch=arm
endif # ifeq ($(BOXARCH), arm)
ifeq ($(PLATFORM), $(filter $(PLATFORM), apollo kronos))
-FFMPEG_CONFIGURE += --cpu=cortex-a9 --extra-cflags="-mfpu=vfpv3-d16 -mfloat-abi=hard -I$(TARGETPREFIX)/include" \
---extra-ldflags="-L$(TARGETPREFIX)/lib -lz -lfreetype -liconv -lxml2 -L$(TARGETPREFIX)/lib"
+FFMPEG_CONFIGURE += --cpu=cortex-a9 --extra-cflags="-mfpu=vfpv3-d16 -mfloat-abi=hard -I$(TARGETPREFIX)/include"
else
-FFMPEG_CONFIGURE += --cpu=armv6 --extra-cflags="-I$(TARGETPREFIX)/include" \
---extra-ldflags="-L$(TARGETPREFIX)/lib -lz -lfreetype -liconv -lxml2 -L$(TARGETPREFIX)/lib"
+FFMPEG_CONFIGURE += --cpu=armv6 --extra-cflags="-I$(TARGETPREFIX)/include"
endif
-$(D)/ffmpeg: $(D)/libxslt $(D)/libbluray | $(TARGETPREFIX)
+$(D)/ffmpeg: $(D)/librtmp $(D)/libxslt | $(TARGETPREFIX)
tar -C $(SOURCE_DIR)/git/LIBRARIES -cp ffmpeg/$(CST_FFMPEG_VERSION) --exclude=.git | tar -C $(BUILD_TMP) -x
pushd $(BUILD_TMP)/ffmpeg/$(CST_FFMPEG_VERSION) && \
- PKG_CONFIG_PATH=$(TARGETPREFIX)/lib/pkgconfig \
+ $(BUILDENV) \
./configure \
- $(FFMPEG_CONFIGURE) && \
+ $(FFMPEG_CONFIGURE) \
+ --extra-ldflags="-L$(TARGETPREFIX)/lib -lxml2" \
+ --logfile=$(BUILD_TMP)/Config-$(CST_FFMPEG_VERSION).log \
+ --cross-prefix=$(TARGET)- \
+ --prefix=$(TARGETPREFIX) \
+ --mandir=/.remove; \
$(MAKE) && \
$(MAKE) install
if ! test -e $(SOURCE_DIR)/git/LIBRARIES/ffmpeg/$(CST_FFMPEG_VERSION)/version.h; then \
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libavcodec.pc
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libavutil.pc
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libswresample.pc
- $(REMOVE)/ffmpeg
+ $(REMOVE)/ffmpeg $(TARGETPREFIX)/.remove
touch $@
$(D)/dvbsi: | $(TARGETPREFIX)