[FFmpeg-trac] #10733(avfilter:new): nlmeans_vulkan Filter Generates Artefacts

FFmpeg trac at avcodec.org
Mon Dec 11 18:51:22 EET 2023


#10733: nlmeans_vulkan Filter Generates Artefacts
-------------------------------------+-------------------------------------
             Reporter:  solchi       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  filters      |               Blocked By:
  vulkan                             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by solchi:

Old description:

> Summary of the bug: Applying the nlmeans_vulkan filter produces various
> video artefacts. These video artefacts usually present on the right-hand
> side of the video as rogue green pixels. Sometimes this behaviour can be
> found at the bottom of the effected video as well.
>
> How to reproduce:
> {{{
> % ffmpeg -init_hw_device vulkan=vk:0 -filter_hw_device vk -i
> inputfile.mkv -vf hwupload,nlmeans=s=5,hwdownload,format=yuv420p -c:v
> libx264 -b:v 0 -crf 18 -tune fastdecode -map 0:0 outputfile.mkv
> ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
>   built with gcc 13 (Gentoo 13.2.1_p20230826 p7)
> }}}
> Zip file contains: full-uncut console output, vulkaninfo, source and
> effected video and other possible relevant information.
>
> URL to Zip File:
> https://mega.nz/file/AKNWHRiY#ngjsTe0X4Us_ZxFxeLTttKI8lCbhW1O49RfyPl2R4ME
>
> (Note: other vulkan filters were tested and appear to be functioning as
> expected e.g. flip_vulkan or gbblur_vulkan)

New description:

 Summary of the bug: Applying the nlmeans_vulkan filter produces various
 video artefacts. These video artefacts usually present on the right-hand
 side of the video as rogue green pixels. Sometimes this behaviour can be
 found at the bottom of the effected video as well.

 How to reproduce:
 {{{
 % ffmpeg -init_hw_device vulkan=vk:0 -filter_hw_device vk -i inputfile.mkv
 -vf hwupload,nlmeans=s=5,hwdownload,format=yuv420p -c:v libx264 -b:v 0
 -crf 18 -tune fastdecode -map 0:0 outputfile.mkv
 ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
   built with gcc 13 (Gentoo 13.2.1_p20230826 p7)
 }}}
 Zip file contains: full-uncut console output, vulkaninfo, source and
 effected video and other possible relevant information.

 URL to Zip File:
 https://mega.nz/file/AKNWHRiY#ngjsTe0X4Us_ZxFxeLTttKI8lCbhW1O49RfyPl2R4ME

 (Note: other vulkan filters were tested and appear to be functioning as
 expected e.g. flip_vulkan or gblur_vulkan)

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10733#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list