Files
bpfire/lfs/ffmpeg
Adolf Belka 4745cff3df ffmpeg: Update to version 5.1.2
- Update from version 4.4 to 5.1.2
- Update of rootfile
- avresample has been removed from ffmpeg and so ./configure option had to be removed
- many libraries had an so bump so checked with find-dependencies - nothing flagged
- Changelog
    version 5.1.2:
	- avcodec/dstdec: Check for overflow in build_filter()
	- avformat/spdifdec: Use 64bit to compute bit rate
	- avformat/rpl: Use 64bit for duration computation
	- avformat/xwma: Use av_rescale() for duration computation
	- avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration calculation
	- avformat/sbgdec: Check ts_int in genrate_intervals
	- avformat/sbgdec: clamp end_ts
	- avformat/rmdec: check tag_size
	- avformat/nutdec: Check fields
	- avformat/flvdec: Use 64bit for sum_flv_tag_size
	- avformat/jacosubdec: Fix overflow in get_shift()
	- avformat/genh: Check nb_channels for IMA ADPCM
	- avformat/dxa: avoid bpc overflows
	- avformat/dhav: Use 64bit seek_back
	- avformat/cafdec: Check that nb_frasmes fits within 64bit
	- avformat/asfdec_o: Limit packet offset
	- avformat/apm: Use 64bit for bit_rate computation
	- avformat/ape: Check frames size
	- avformat/icodec: Check nb_pal
	- avformat/aiffdec: Use 64bit for block_duration use
	- avformat/aiffdec: Check block_duration
	- avformat/mxfdec: only probe max run in
	- avformat/mxfdec: Check run_in is within 65536
	- avcodec/mjpegdec: Check for unsupported bayer case
	- avcodec/apedec: Fix integer overflow in filter_3800()
	- avcodec/tta: Check 24bit scaling for overflow
	- avcodec/mobiclip: Check quantizer for overflow
	- avcodec/exr: Check preview psize
	- avcodec/tiff: Fix loop detection
	- libavformat/hls: Free keys
	- avcodec/fmvc: Move frame allocation to a later stage
	- avfilter/vf_showinfo: remove backspaces
	- avcodec/speedhq: Check width
	- avcodec/bink: disallow odd positioned scaled blocks
	- avformat/cafenc: derive Opus frame size from the relevant stream parameters
	- avformat/dashdec: Fix crash on invalid input/ENOMEM, fix leak
	- lavc/videotoolbox: do not pass AVCodecContext to decoder output callback
	- lavc/pthread_frame: always transfer stashed hwaccel state
	- avcodec/arm/sbcenc: avoid callee preserved vfp registers
	- avformat/riffdec: don't unconditionally overwrite WAVEFORMATEXTENSIBLE layout
	- avfilter/vf_scale: overwrite the width and height expressions with the original values
	- lavc/pthread_frame: avoid leaving stale hwaccel state in worker threads
	- avutil/tests/.gitignore: Add channel_layout testtool
    version 5.1.1:
	- avformat/asfdec_o: limit recursion depth in asf_read_unknown()
	- avformat/mov: Check count sums in build_open_gop_key_points()
	- doc/git-howto.texi: Document commit signing
	- libavcodec/8bps: Check that line lengths fit within the buffer
	- avcodec/midivid: Perform lzss_uncompress() before ff_reget_buffer()
	- libavformat/iff: Check for overflow in body_end calculation
	- avformat/avidec: Prevent entity expansion attacks
	- avcodec/h263dec: Sanity check against minimal I/P frame size
	- avcodec/hevcdec: Check s->ref in the md5 path similar to hwaccel
	- avcodec/mpegaudiodec_template: use unsigned shift in handle_crc()
	- avformat/subviewerdec: Make read_ts() more flexible
	- avcodec/mjpegdec: bayer and rct are incompatible
	- MAINTAINERS: Add ED25519 key for signing my commits in the future
	- avcodec/pngdec: Fix APNG_DISPOSE_OP_BACKGROUND
	- avcodec/libvpx: fix assembling vp9 packets with alpha channel
	- fftools/ffmpeg_opt: try to propagate the requested output channel layout
	- avcodec/libsvtav1: properly initialize the flush EbBufferHeaderType struct
	- configure: enable the av1_frame_split bsf for the av1 decoder
	- swresample/swresample: fill the correct buffer to print the output layout string
	- ffprobe: restore reporting error code for failed inputs
	- ipfsgateway: Remove default gateway
	- avcodec/libspeexdec: Fix use of uninitialized value
	- avformat/avisynth: use ch_layout.nb_channels for channel count
	- fate/lavf-image: Disable file checksums for exr tests
	- tests/fate-run: Allow to skip file checksums for lavf_image
	- fate/imf: Rename IMF fate-target
	- avcodec/alac: don't fail if channels aren't set during init() when extradata is valid
	- configure: properly require libx264 if enabled
    version 5.1:
	- add ipfs/ipns protocol support
	- dialogue enhance audio filter
	- dropped obsolete XvMC hwaccel
	- pcm-bluray encoder
	- DFPWM audio encoder/decoder and raw muxer/demuxer
	- SITI filter
	- Vizrt Binary Image encoder/decoder
	- avsynctest source filter
	- feedback video filter
	- pixelize video filter
	- colormap video filter
	- colorchart video source filter
	- multiply video filter
	- PGS subtitle frame merge bitstream filter
	- blurdetect filter
	- tiltshelf audio filter
	- QOI image format support
	- ffprobe -o option
	- virtualbass audio filter
	- VDPAU AV1 hwaccel
	- PHM image format support
	- remap_opencl filter
	- added chromakey_cuda filter
    version 5.0:
	- ADPCM IMA Westwood encoder
	- Westwood AUD muxer
	- ADPCM IMA Acorn Replay decoder
	- Argonaut Games CVG demuxer
	- Argonaut Games CVG muxer
	- Concatf protocol
	- afwtdn audio filter
	- audio and video segment filters
	- Apple Graphics (SMC) encoder
	- hsvkey and hsvhold video filters
	- adecorrelate audio filter
	- atilt audio filter
	- grayworld video filter
	- AV1 Low overhead bitstream format muxer
	- swscale slice threading
	- MSN Siren decoder
	- scharr video filter
	- apsyclip audio filter
	- morpho video filter
	- amr parser
	- (a)latency filters
	- GEM Raster image decoder
	- asdr audio filter
	- speex decoder
	- limitdiff video filter
	- xcorrelate video filter
	- varblur video filter
	- huesaturation video filter
	- colorspectrum source video filter
	- RTP packetizer for uncompressed video (RFC 4175)
	- bitpacked encoder
	- VideoToolbox VP9 hwaccel
	- VideoToolbox ProRes hwaccel
	- support loongarch.
	- aspectralstats audio filter
	- adynamicsmooth audio filter
	- libplacebo filter
	- vflip_vulkan, hflip_vulkan and flip_vulkan filters
	- adynamicequalizer audio filter
	- yadif_videotoolbox filter
	- VideoToolbox ProRes encoder
	- anlmf audio filter
	- IMF demuxer (experimental)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-11-28 13:07:17 +01:00

108 lines
3.6 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2021 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 = 5.1.2
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 = 14
DEPS = sdl2 lame libvorbis xvid
SERVICES =
ifeq "$(BUILD_ARCH)" "armv6l"
LDFLAGS += -latomic
endif
ifeq "$(BUILD_ARCH)" "riscv64"
LDFLAGS += -latomic
endif
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 4e2682f040205e6344ff1f2cf8ac69c35cac90a14634a2cd4b41fffc0e09264586b014327f7e9cb6417d12210894cdbc180541c07ad02e782bdf79af9f22991f
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)