Opened 2 years ago

Last modified 2 years ago

#9584 new defect

Cannot use nlmeans_opencl filter with nvenc without going through system memory

Reported by: Dimo Owned by:
Priority: normal Component: undetermined
Version: 4.4.3 Keywords: opencl filter nvenc
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Dimo)

I'm trying to combine the OpenCL version of the nlmeans filter with the nvenc HEVC encoder without copying frames to system memory based on @philipl's suggestion from #8512 but I'm getting errors:

[Parsed_hwupload_0 @ 000001e080a88980] Query format failed for 'Parsed_hwupload_0': Function not implemented
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:1

How to reproduce:

ffmpeg -hwaccel nvdec -hwaccel_output_format cuda -i in.mkv -init_hw_device cuda -filter_hw_device cuda0 -filter:v "hwupload=derive_device=opencl,nlmeans_opencl,hwupload=derive_device=cuda" -c:v hevc_nvenc -preset p7 -rc vbr -cq 24 -c:a copy out.mp4
ffmpeg version N-105185-gce4d459db1-20220105 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 11.2.0 (crosstool-NG 1.24.0.498_5075e1f)

Change History (2)

comment:1 by Dimo, 2 years ago

Description: modified (diff)

comment:2 by Dimo, 2 years ago

Keywords: opencl filter nvenc added
Note: See TracTickets for help on using tickets.