Files
bpfire/lfs/ffmpeg
Adolf Belka 0a554a474e ffmpeg: Update to version 6.0
- Update from version 5.1.2 to 6.0
- Update of rootfile
- sobump occurs so find-dependencies checked and the addons mpd, shairport-sync &
   minidlna will be bumped to the next PAK_VER as a patch set with this change.
- Changelog
    version 6.0:
	- Radiance HDR image support
	- ddagrab (Desktop Duplication) video capture filter
	- ffmpeg -shortest_buf_duration option
	- ffmpeg now requires threading to be built
	- ffmpeg now runs every muxer in a separate thread
	- Add new mode to cropdetect filter to detect crop-area based on motion vectors and edges
	- VAAPI decoding and encoding for 10/12bit 422, 10/12bit 444 HEVC and VP9
	- WBMP (Wireless Application Protocol Bitmap) image format
	- a3dscope filter
	- bonk decoder and demuxer
	- Micronas SC-4 audio decoder
	- LAF demuxer
	- APAC decoder and demuxer
	- Media 100i decoders
	- DTS to PTS reorder bsf
	- ViewQuest VQC decoder
	- backgroundkey filter
	- nvenc AV1 encoding support
	- MediaCodec decoder via NDKMediaCodec
	- MediaCodec encoder
	- oneVPL support for QSV
	- QSV AV1 encoder
	- QSV decoding and encoding for 10/12bit 422, 10/12bit 444 HEVC and VP9
	- showcwt multimedia filter
	- corr video filter
	- adrc audio filter
	- afdelaysrc audio filter
	- WADY DPCM decoder and demuxer
	- CBD2 DPCM decoder
	- ssim360 video filter
	- ffmpeg CLI new options: -stats_enc_pre[_fmt], -stats_enc_post[_fmt],
	  -stats_mux_pre[_fmt]
	- hstack_vaapi, vstack_vaapi and xstack_vaapi filters
	- XMD ADPCM decoder and demuxer
	- media100 to mjpegb bsf
	- ffmpeg CLI new option: -fix_sub_duration_heartbeat
	- WavArc decoder and demuxer
	- CrystalHD decoders deprecated
	- SDNS demuxer
	- RKA decoder and demuxer
	- filtergraph syntax in ffmpeg CLI now supports passing file contents
	  as option values, by prefixing option name with '/'
	- hstack_qsv, vstack_qsv and xstack_qsv filters
    For more details about the changes you have to review the commits in the git repo
     https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n6.0

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2023-05-03 07:54:11 +00:00

104 lines
3.5 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
SUMMARY = Library for working with various multimedia formats
VER = 6.0
THISAPP = ffmpeg-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = ffmpeg
PAK_VER = 15
DEPS = sdl2 lame libvorbis xvid
SERVICES =
ifeq "$(BUILD_ARCH)" "riscv64"
LDFLAGS += -latomic
endif
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = c70884911f3a3e40fe87473f241a2a56b303f5abe7f1d7fa797d05e29e00971f98cbf37832c1c3dc5fa949a5beddef05a6ec55ae6668091976ea870ad93c0e8d
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && \
CFLAGS="$(CFLAGS)" \
LDFLAGS="$(LDFLAGS)" \
./configure \
--prefix=/usr \
--enable-shared \
--disable-static \
--enable-gpl \
--enable-version3 \
--enable-avfilter
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)