./multimedia/ffmpeg5, Decoding, encoding and streaming software (v5.x)

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 5.1.10, Package name: ffmpeg5-5.1.10, Maintainer: pkgsrc-users

FFmpeg is a complete, cross-platform solution to record, convert
and stream audio and video. It includes libavcodec - the leading
audio/video codec library.

This package contains major version 5.


Required to run:
[textproc/libxml2] [graphics/freetype2] [multimedia/xvidcore] [multimedia/libtheora] [audio/speex] [audio/lame] [audio/libvorbis] [fonts/fontconfig] [security/gnutls] [x11/libxcb] [multimedia/libvdpau] [multimedia/libva] [multimedia/libvpx] [multimedia/libass] [graphics/libwebp] [audio/libopus] [multimedia/x265] [multimedia/libbluray] [multimedia/libaom] [multimedia/dav1d] [multimedia/x264]

Required to build:
[pkgtools/x11-links] [devel/nasm] [x11/xcb-proto] [x11/xorgproto]

Package options: aom, ass, bluray, fontconfig, freetype, gnutls, lame, libvpx, libwebp, opus, speex, theora, vaapi, vdpau, vorbis, x11, x264, x265, xvid

Master sites:

Filesize: 9805.617 KB

Version history: (Expand)


CVS history: (Expand)


   2026-06-23 15:02:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ffmpeg5 ffplay5: updated to 5.1.10

5.1.10:
configure: do not use interval regexp operators with awk
configure: fix symbol prefix detection
configure: Disable linker warnings for common symbols
avcodec/mpegvideo_dec: Add NULL pointer checks to MPV_motion_lowres()
avcodec/mpegvideo_dec: Fix lowres=3 field select interlaced mpeg4 frame
avcodec/mpegvideo_dec: consider interlaced lowres 4:2:0 chroma in edge emulation \ 
check better
avcodec/mlpdec: add max channels check
libswresample: Prevent out of bounds.
avcodec/dvdsub_parser: Fix length check for short packets
lavfi/bwdif: fix heap-buffer-overflow with small height videos
avcodec/h264_slice: guard color_frame() against chroma-width underflow
avformat/matroskadec: Check audio.sub_packet_h * audio.frame_size
avformat/flvdec: Check *size in cts parsing
avcodec/iff: Clear ham_buf
avcodec/h2645_parse: Ignore NAL with nuh_layer_id == 63
avcodec/eatgq: Check bytestream2_get_buffer() for failure
avcodec/cbs_sei: Always zero-initialize SEI payload
avformat/mpegts: Don't use uninitialized value in av_log()
avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation
avcodec/hevc/hevcdec: initialize qp_y_tab
aarch64/hpeldsp_neon: fix out-of-bounds read
swscale/alphablend: don't overread alpha plane on subsampled odd size
avcodec/jpeg2000dec: clear array length when freeing it
avformat/mov: ensure required number of bytes is read
avformat/av1dec: Check bits left before get_leb128()
avformat/nuv: return early if header id fails to read
avformat/dhav: Check amount read
avformat/hls: update current segment reference before use
avcodec/parser: Reset *buf_size on realloc failure
avfilter/af_stereotools: round-up max size of buffer
avformat/dashdec: Fail with any inner stream count being 0
swscale/x86/rgb_2_rgb: fix uyvytoyuv422 overwrite on odd width
avcodec/snowenc: fix SIGFPE in get_dc() when a block lies outside the plane
avcodec/snowenc: fix out-of-bounds OBMC read in get_dc() for narrow planes
avcodec/snowenc: fix out-of-bounds memcpy in get_block_rd() for narrow planes
avformat/icecast: reject CR/LF in metadata header values
avfilter/avf_showspectrum: Fix allocation check
avformat/sctp: add size check in sctp_read() matching sctp_write()
avcodec/cbs_av1_syntax_template: reset seen_frame_header on sequence headers
avfilter/convolution: compute user matrix products in unsigned
avformat/mpegts: use av_fast_realloc() for prg
avfilter/v360: compute remap table offsets in 64bit
avfilter/v360: reject out-of-range dimensions
swresample/x86/resample: write only int16 in the int16 resampler
avformat/rtpenc_amr: Check input size
swscale/ppc: fix ASAN stack-buffer-overflow in yuv2planeX
swscale/ppc: fix LOAD_FILTER overread in VSX path
avfilter: add ff_slice_pos() helper for slice boundaries
avfilter/estdif: avoid signed overflow in slice boundary calculation
avformat/rtspdec: bound Content-Length in the ANNOUNCE handler to SDP_MAX_SIZE
avcodec/rv10, rv34: check init_get_bits8() before RealVideo bit access
avformat/http: reject request-line tokens not terminated by whitespace
avcodec/agm: validate actual src_y against prev plane in decode_inter_plane
avcodec/hevc/ps: Check window parameters
avcodec/hevc/ps: Factor window reading out
avcodec/truespeech: reject iterations count whose * 240 product overflows 32-bit
avcodec/on2avc: reject subframe count whose * SUBFRAME_SIZE product overflows 32-bit
avfilter/zmq: initialize send_buf before shared cleanup on parse failure
avcodec/adpcm: fix signed integer overflow in get_nb_samples()
avformat/matroskadec: avoid signed overflow in DASH cue time differences
avcodec/fastaudio: reject subframes count whose * 256 product overflows 32-bit
avcodec/vc2enc_dwt: avoid signed overflow in the 9/7 DWT lifting
avcodec/mwsc: do not dereference a missing reference frame
tools/target_dem_fuzzer: do not exit on io_buffer allocation failure
avformat/gxfenc: Check timecode and propagate error
swscale/rgb2rgb_template: use unsigned for <<24
avformat/matroskadec: bound TRACKENTRY parsing by max_streams
avcodec/diracdec: fix heap buffer overflow in edge_emu_buffer
avformat/rtmppkt: Check recursion depth
avcodec/jpeglsdec: only apply color transform to decoded rows
avcodec/aac/aacdec: reject decoded frame without a valid sample rate
avformat/iff: check av_get_packet() result in ANIM branch
avfilter/vf_drawtext: avoid double-free of aliased FT_Glyph in glyph_enu_free
avcodec/cook: bound subpacket channel sum against channel count
avformat/mxfdec: Remove unneeded check
avformat/ftp: Check string used for RNTO
avformat/ftp: Check for Telnet IAC characters and other non printable ASCII chars
avformat/ftp: reject CR/LF in the URL path to prevent FTP command injection
avcodec/jpeg2000dec: Clear header derived variables
avformat/avc: Adjust get_ue_golomb() to handle 32 bit
avcodec/x86/vorbisdsp: change cmpleps to cmpltps in inverse coupling
avfilter/af_join: fix wrong loop bound in buffer dedup (use-after-free)
avcodec/magicyuv: reject slice_height misaligned with chroma vshift
avcodec/magicyuv: Expand the s->interlaced slice-height sanity check
avcodec/magicyuv: Fix 1 line MEDIAN slices
avformat/mxfdec: zero-init Sony MPEG-4 extradata and add padding
avformat/soxdec: Check sample_rate for nan
tests/tiny_ssim: fixed mistake in ssim_c1 calculation
avformat/hls: Check TIME-OFFSET value
avformat/hls: Check url_offset and size
avformat/ty: check rec_size
avformat/rtpenc_xiph: bail out when the max payload size underflows
avformat/rtpenc_aac: reject packets smaller than the ADTS header
avcodec/jpeg2000dec: compute mask in decode_clnpass() like in decode_sigpass()
avformat/vividas: fix misaligned access
avcodec/g2meet: The stack is EPIC_PIX_STACK_SIZE
avfilter/boxblur: Fix off by one errors
avcodec/diracdec: Enlarge `mctmp` to cover the worst-case `blheight·ybsep + \ 
yblen` rows, and break the MC loop when no output rows remain
tools/zmqsend: free the AVBprint buffer after using it
[Wave] Fix issues with unaligned metadata chunks.
avcodec/hevc: limit missing-ref fill to coded planes
   2026-05-15 13:49:46 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
ffmpeg5 ffplay5: updated to 5.1.9

5.1.9:
avcodec/av1dec: check that primary_ref_frame is within range
configure: bump CONFIG_THIS_YEAR to 2026
avcodec/dfpwmdec: Check nb_samples
avcodec/alsdec: do not set nbits invalidly
swscale/swscale_unscaled: adjust last line copy
avformat/avidec: check LIST size in avi_load_index()
avformat/avidec: validate INFO list size before parsing
libavformat/xwma: fix overflow in seek position
avformat/pcm: Use 64bit for byte_rate
avfilter/vf_kerndeint: Check for minimum height
avcodec/ralf: Add the missing return statement after the error log
avfilter/vf_codecview: Clamp block to the visible frame region
avcodec/zmbv: reject XOR data that overruns the decompression buffer
avcodec/rasc: fix heap use-after-free in decode_move()
avformat/rtpdec_mpeg4: reject zero-length AU header sections
fftools/ffmpeg_opt: validate stream index in negative map handling
avformat/rtmpproto: prevent integer overflow accumulating FLV buffer size
avformat/rtmpproto: validate compressed SWF header length
avformat/rtsp: Fix out-of-bounds read in SDP parser when control_url is empty
avformat/rtpdec_latm: avoid integer overflow in LATM length parsing
avcodec/h264: recompute per-slice direct mode state for every slice
avcodec/h264_refs: Clear stale pointers from ref_list
avformat/concat: guard total_size overflow
avcodec/wmaenc: Fix missing padding in extradata
avcodec/tdsc: remove double stride adjustment
avformat/cafdec: fix negative index use in read_seek
avcodec/notchlc: Check 255 loops
avformat/rtpdec_jpeg: check qtable_len
avformat/vividas: use-of-uninitialized-value in keybuffer
avcodec/tdsc: Check jpeg size
avcodec/tdsc: Better input size check
avcodec/tdsc: Check tile_size
avformat/mov: check extradata in mov_read_dops()
avformat/mov: Check read size for opus extradata
avformat/rtspdec: reject non-positive ANNOUNCE Content-Length
avformat/wavdec: Fix use-of-uninitialized-value in find_guid()
avformat/hls_sample_encryption: add missing padding for audio setup buffer
avcodec/svq1dec: Check input space for minimum
avcodec/vp9: Rollback dimensions when format is rejected
avformat/rtpdec_qdm2: Check block_size
avcodec/escape130: Initialize old_y_avg
avutil/samplefmt: Dont claim that av_get_sample_fmt_string checks sample_fmt
avformat: check avio_read() return values in dss/dtshd/mlv
avcodec/alsdec: preserve full float value in zero-truncated samples
avcodec/alsdec: propagate read_diff_float_data() errors in read_frame_data()
avcodec/alsdec: fix mantissa unpacking in compressed Part A path
libavfilter/vf_v360: fix operator precedence in stereo loop condition
avcodec/alsdec: fix abs(INT_MIN) UB in read_diff_float_data()
avformat/rsd: reject short ADPCM_THP extradata reads
avformat/mov: Handle integer overflow in MOV parser
avcodec/dvdsub_parser: Fix buf_size check
avfilter/af_pan: fix sscanf() return value checks in parse_channel_name
avutil/bswap: fix implicit conversion warning in av_bswap64
avformat/mpegts: fix descriptor accounting across multiple IOD descriptors
avcodec/xxan: zero-initialize y_buffer
avcodec/exr: Check input space before reverse_lut()
avcodec/h264_slice: reject slice_num >= 0xFFFF
avutil/timecode: Check for integer overflow in av_timecode_init_from_components()
avformat/mov: do not allocate out-of-range buffers
avfilter/af_lv2: call lilv_instance_activate before lilv_instance_run
avformat/rtmpproto: fix listen_timeout conversion for special negative values
swscale/output: fix integer overflows in chroma in yuv2rgba64_X_c_template()
avcodec/lcldec: Fixes uqvq overflow
avcodec/av1dec: sync frame header and tile group behavior with CBS
avformat/mlvdec: avoid uninitialized read in read_string()
avcodec/magicyuv: fix small median images
swscale/output: Fix integer overflow in alpha in yuv2rgba64_1_c_template()
swscale/utils: Check *Inc
avfilter/vf_scale: Fix integer overflow in config_props()
swscale/output: Fixes integer overflow in yuv2planeX_8_c
swscale/utils: initialize chroma when luma switched to cascade
avformat/rtsp: Pass blacklist
avformat/rtsp: Explicitly check protocol
avfilter/vf_convolution: Use avpriv_mirror
avfilter/vf_convolution: Handle corner cases with small frames
avformat/mov: use 64bit in CENC subsample bounds checks
avutil/eval: Check depth of AVExpr
avformat/vividas: Reset n_audio_subpackets on error
avformat/matroskadec: Check that end_time_ns >= start_time_ns
avcodec/vp3: Sanity check cropping
avformat/dhav: Check avio_seek() return
avformat/segafilm: dont read uninitialized value
avcodec/mpegvideo_enc: Restructure ff_h263_encode_gob_header() relation to \ 
update_mb_info()
avcodec/exr: check tile_attr.x/ySize
avformat/demux: Fix integer overflows in select_from_pts_buffer()
avcodec/golomb: Fix get_ur_golomb_jpegls() with esclen = 0
swresample/resample_template: add casts to avoid undefined overflows
avcodec/h264_parser: Check pts for overflow
avformat/wtvdec: Check that language is fully read
avcodec/imm5: Dont pass EAGAIN on as is
avcodec/interplayacm: Check input for fill_block()
avcodec/flashsv: Check for input space before (re)allocating frame
avcodec/mdec: Check input space vs minimal block size
avcodec/h264_parser: Check remaining input length in loop in scan_mmco_reset()
avcodec/exr: fix AVERROR typo
avcodec/cfhd: Check transform type before continuing
avcodec/cfhd: Add CFHDSegment enum and named identifiers
avformat/icodec: Check size
avformat/lrcdec: Check ss for finiteness
avformat/http: Also count redirects from the cache
avformat/http: allow adjusting the redirect limit
fftools/ffmpeg_opt: limit recursion of presets
swscale/rgb2rgb_template: fix signed shift into sign bit
swresample: Check ch layouts in swr_alloc_set_opts2()
swresample: Check user chlayout in swr_set_matrix()
avcodec/bmp: fix indention
avcodec/exr: Handle axmax like bxmin in 04d7a6d3db56ea1a93908ff2d3d312e3fc40a58c
avformat/cafdec: Check nb_entries in read_info_chunk()
avcodec/vp9: Reallocate on resolution change which does not change tile_cols
avformat/img2dec: Check avio_size() for failure
avformat/mpegtsenc: Check remaining space in SDT
avformat/img2enc: Check split planes packet size
avformat/yuv4mpegen: Sanity check input packet frame dimensions
avformat/iff: Error out with 0 channel loudspeaker configuration
Fix overflow in STSD parser
avcodec/adpcm: Check input buffer size
avformat/scd: Use ffio_read_size()
avformat/hls: Check for integer overflow with #EXTINF:
avcodec/dca_xll: Clear padding in ff_dca_xll_parse()
vfilter/vf_find_rect: Clamp x/y min/max to valid values
avcodec/dca_xll: Check get_rice_array()
avformat/mpegts: Check program_info_length
avformat/mpegts: Check IOD_DESCRIPTOR len
avcodec/qdm2: fix heap-use-after-free in qdm2_decode_frame
avcodec/jpeg2000dec: Print bpno level when erroring out
avformat/dashdec: check value valid after read value from mpd xml
swscale/utils: zero init filter memory as before
lavc/j2kdec: Do not ignore colour association for packed formats
swscale/utils: Sanity check sizeFactor
swscale/utils: Avoid FF_ALLOC_TYPED_ARRAY() and use av_malloc_array() directly
avcodec/mjpegdec: fix segfault on extern_huff and no extradata
avcodec/exr: use av_realloc_array()
avcodec/omx: Check extradata size and nFilledLen
avfilter/scale_eval: Use 64bit for factor_w/h
avfilter/scale_eval: Avoid undefined behavior with double to int cast
avformat/http: Check that the protocol of redirects is http or https
avfilter/vf_find_rect: Fix handling odd sized images
avcodec/notchlc: zero-initialize history buffer
avfilter/vf_stack: add checks for the final canvas dimensions
avcodec/mjpegdec: only test the size bound in sequential mjpeg
avformat/hls: fix double space
avformat/hls: Check seg size and offset for overflow
avformat/flac_picture: Correct check
avfilter/vf_neighbor_opencl: add error condition when filter name doesn't match
avfilter/vf_libopencv: make sure there is space for null-terminator in shape_str
fate: add missing options in config template
(fforge/pr/22398) swscale/x86/yuv2rgb_template: Add emms to MMX(EXT) functions
forgejo: backport CI job names
(fforge/pr/21341) avformat/img2dec: reject input images too big to fit into a \ 
single packet
avfilter/af_amerge: fix possible crash with custom layouts
(fforge/pr/21063) avformat/os_support: Include stdint.h for int64_t
all: apply linter fixes
tools/check_arm_indent: skip empty glob
forgejo: apply needed CI changes for 5.1
forgejo: backport CI to release/5.1
   2026-05-14 18:42:34 by Ryo ONODERA | Files touched by this commit (1335)
Log message:
*: Recursive revbump from security/nettle-4.0
   2026-04-20 20:14:10 by Adam Ciarcinski | Files touched by this commit (45)
Log message:
revbump for x265
   2026-02-06 11:06:21 by Thomas Klausner | Files touched by this commit (1305)
Log message:
*: recursive bump for nettle 4.0 shlib major bump
   2026-01-07 09:49:50 by Thomas Klausner | Files touched by this commit (2525)
Log message:
*: recursive bump for icu 78.1
   2025-12-22 07:08:18 by Adam Ciarcinski | Files touched by this commit (128)
Log message:
revbump for x264
   2025-12-16 15:57:46 by Paolo Vincenzo Olivo | Files touched by this commit (5)
Log message:
multimedia/ffmpeg*: add optional sndio support