Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#9976 closed defect (fixed)

fftdenoiz gives corrupt results

Reported by: erjiang Owned by:
Priority: important Component: avfilter
Version: git-master Keywords: fftdenoiz regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Regression in the 3d FFT Denoiser filter in libavfilter, with ffmpeg 5.0.1 as shipped with Kdenlive 22.08.1 (AppImage). When rendered, the bottom lines of the video are corrupted and are black, green, or garbage data.

How to reproduce:

$ ffmpeg -version
ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 9 (GCC)
configuration: --enable-shared --disable-debug --disable-doc --enable-gpl --enable-version3 --enable-libmp3lame --cc=gcc --cxx=g++ --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libass --enable-libaom --enable-libdav1d --enable-libzimg --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-cuvid --enable-vaapi --enable-vdpau --enable-libmfx --prefix=/home/appimage/Craft/BC/linux-64-gcc --libdir=/home/appimage/Craft/BC/linux-64-gcc/lib
libavutil      57. 17.100 / 57. 17.100
libavcodec     59. 18.100 / 59. 18.100
libavformat    59. 16.100 / 59. 16.100
libavdevice    59.  4.100 / 59.  4.100
libavfilter     8. 24.100 /  8. 24.100
libswscale      6.  4.100 /  6.  4.100
libswresample   4.  3.100 /  4.  3.100
libpostproc    56.  3.100 / 56.  3.100
$ ffmpeg -i Steatocranus_casuarius_-_Buckelkopfbuntbarsch_mit_Jungen.m4v -vf fftdnoiz=sigma=30:amount=1.0:block=6:overlap=0.5 ffmpegout.mp4

The source file can be found here: https://invent.kde.org/erjiang/kdenlive-backcompat/-/tree/master/projects/footage

This seems to be a regression because 4.4.2-0ubuntu0.22.04.1 does not have the same problem.

Attachments (1)

vlcsnap-2022-10-16-13h51m45s867.png (2.0 MB ) - added by erjiang 2 years ago.
Frame taken from corrupt output

Change History (4)

by erjiang, 2 years ago

Frame taken from corrupt output

comment:1 by Carl Eugen Hoyos, 2 years ago

Please test current FFmpeg git head, the only version supported on this bug tracker, and provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

comment:2 by Elon Musk, 2 years ago

Resolution: fixed
Status: newclosed

Fixed and improved edges filtering in master.

comment:3 by Carl Eugen Hoyos, 2 years ago

Keywords: fftdenoiz regression added
Priority: normalimportant
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.