Opened 5 months ago

Last modified 5 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)

gradient_mesh-vulk.jpg (7.6 KB ) - added by ioctl 5 months ago.
Gradient file with unwanted mosaic effect
gradient_mesh.jpg (32.1 KB ) - added by ioctl 5 months ago.
Original gradient file.
gradient_mesh-cl.jpg (11.8 KB ) - added by ioctl 5 months ago.
Good gradient file treated with the same, but OpenCL filter.

Download all attachments as: .zip

Change History (5)

by ioctl, 5 months ago

Attachment: gradient_mesh-vulk.jpg added

Gradient file with unwanted mosaic effect

by ioctl, 5 months ago

Attachment: gradient_mesh.jpg added

Original gradient file.

by ioctl, 5 months ago

Attachment: gradient_mesh-cl.jpg added

Good gradient file treated with the same, but OpenCL filter.

comment:1 by Elon Musk, 5 months ago

Why you use magick?

comment:2 by ioctl, 5 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.

Note: See TracTickets for help on using tickets.