Open egorapolonov opened 4 years ago
Yes, NPP is being bundled in the presets for CUDA, so it would be possible to update the presets for FFmpeg with a "-gpu" extension as is already done for OpenCV, etc and use it that way.
Create and initialize AVFilterContext
using nppscale_init
and then define in
, out
frame informations(pixel format, size, etc..) to NPPScaleStageContext
.
Now, you can call npp resize function like this.
static int nppscale_resize(AVFilterContext *ctx, NPPScaleStageContext *stage, AVFrame *out, AVFrame *in)
Let's check vf_scale_npp.c
in ffmpeg.
Hi @saudet ,
I'm using ffmpeg.class wrapper for reaching completely GPU-based transcoding.
Actually, I'm trying to repeat command which described here in tutorial https://devblogs.nvidia.com/nvidia-ffmpeg-transcoding-guide/
I see errors that there is no "scale_npp" filter. The ffmpeg should be configured with "--enable-libnpp". Are there any maven-modules which contains libnpp. I'd like to include them into JavaCV