Update ffmpeg to 4.3.2

Authored by aleksvor on Mar 3 2021, 7:43 PM.


Update ffmpeg to 4.3.2

Summarized changelog:

  • avcodec/vp8: Move end check into MB loop in vp78_decode_mv_mb_modes().
  • avformat/wavdec: Consider AV_INPUT_BUFFER_PADDING_SIZE in set_spdif().
  • avcodec/jpeg2000dec: Check atom_size in jp2_find_codestream().
  • avformat/avidec: Use 64bit in get_duration().
  • avcodec/hevc_sei: Check payload size in decode_nal_sei_message().
  • avcodec/nvenc: fix timestamp offset ticks logic.
  • avformat/wavdec: Check avio_get_str16le() for failure.
  • avformat/avidec: dv does not support palettes.
  • avformat/utils: check for integer overflow in av_get_frame_filename2().
  • avformat/mpegts: Increase pcr_incr width to 64bit.
  • avcodec/h264idct_template: Fix integer overflow in ff_h264_chroma422_dc_dequant_idct().
  • avcodec/hevc_cabac: Limit value in coeff_abs_level_remaining_decode() tighter.
  • avformat/wavdec: Refuse to read chunks bigger than the filesize in w64_read_header().
  • avcodec/hevcpred_template: Fix diagonal chroma availability in 4:2:2 edge case in intra_pred.
  • avcodec/hevcdec: Check slice_cb_qp_offset / slice_cr_qp_offset.
  • avformat/avidec: Fix io_fsize overflow.
  • lavf/srt: fix build fail when used the libsrt 1.4.1.
  • x86/yuv2rgb: fix crashes when storing data on unaligned buffers.
  • checkasm/vf_blend: use the correct depth parameters to initialize the blend modes.
  • x86/vf_blend: fix warnings about trailing empty parameters.
  • x86/h264_deblock: fix warning about trailing empty parameter.
  • avutil/x86inc: fix warnings when assembling with NASM 2.15.

Full changelog here.

Packaging changes:

  • Removed caca support. The rationale for it:
    • There is probably no use for terminal-based output on modern desktop OS.
    • libcaca is barely maintaned and was initially added to Solus to provide binary compatibility with DOSBox builds from GOG.
  • Enabled rubberband filter, which allows to use librubberband to stretch and pitch-shift audio while transcoding.

Depends on D10414, D10536.

Test Plan:

  1. Transcoded H264 video to AV1 using libaom-av1.
  2. Transcoded H264 video to HEVC using libx265.
  3. Played back local video and YouTube livestream in mpv.
  4. Reencoded FLAC file, using rubberband to decrease and increase the tempo of the audio. Tested both resulting files in Audacious.

Reviewers: Triage Team, JoshStrobl

Reviewed By: Triage Team, JoshStrobl

Subscribers: JoshStrobl

Differential Revision:


JoshStroblMar 3 2021, 7:43 PM
JoshStroblMar 3 2021, 7:43 PM
Triage Team
Differential Revision
D10584: Update ffmpeg to 4.3.2
R742:49958cefe389: Safety rebuild for samba-4.12.11
tag: ffmpeg-4.3.2-100