Opened 14 months ago
Last modified 14 months ago
#10714 new defect
FFmpeg 6.1 nlmeans_vulkan unwanted mosaic effect
Reported by: | ioctl | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | ioctl | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
With nlmeans_vulkan image become is a slightly mosaic. Steps to reproduce:
magick \( xc:red xc:gold +append \) \( xc:gold xc:green +append \) -append -filter point -interpolate mesh -define distort:viewport=800x600 -distort Affine '.5,.5 .5,.5 1.5,1.5 799.5,599.5' gradient_mesh.jpg # Generate gradient image
ffmpeg -y -init_hw_device opencl:0.0 -i gradient_mesh.jpg -filter_hw_device opencl0 -vf format=yuv420p,hwupload,nlmeans_opencl=s=2.5:r=75,hwdownload,format=yuv420p gradient_mesh-cl.jpg # Treated with the OpenCL image, looks good
ffmpeg -y -init_hw_device vulkan=vul -i gradient_mesh.jpg -vf format=yuv420p,hwupload,nlmeans_vulkan=s=2.5:r=75,hwdownload,format=yuv420p gradient_mesh-vulk.jpg # Treated with the Vulkan image, has mosaic artefacts when looking closely.
Attachments (3)
Change History (5)
by , 14 months ago
Attachment: | gradient_mesh-vulk.jpg added |
---|
by , 14 months ago
Attachment: | gradient_mesh-cl.jpg added |
---|
Good gradient file treated with the same, but OpenCL filter.
comment:2 by , 14 months ago
Why you use magick?
Because I have it installed in my system.
It's not fundamental. This generated file is attached, so, it can be used to reproduce the problem.
Gradient file with unwanted mosaic effect