[FFmpeg-devel] [PATCH 0/2] Interpolation filter using nvidia OFFRUC Library

Dennis Mungai dmngaie at gmail.com
Tue Jan 3 01:39:19 EET 2023


On Tue, 3 Jan 2023 at 02:22, Philip Langdale <philipl at overt.org> wrote:

> This filter implements frame rate down/upsampling using nvidia's
> Optical Flow FRUC (Frame Rate Up Conversion) library. It's neat because
> you get realtime interpolation with a decent level of quality. It's
> impractical because of licensing.
>
> I have no actual intention to merge this, as it doesn't even meet our
> bar for a nonfree filter, and given the EULA restrictions with the SDK,
> anyone who would want to use it can easily cherry-pick it into the
> build they have to anyway. But I figured I'd send it to list as a way
> of announcing that it exists.
>
> How nice would it be if nvidia had sane licensing on this stuff?
>
> I'll keep a branch at: https://github.com/philipl/FFmpeg/tree/fruc-me
>
> --phil
>
> Philip Langdale (2):
>   lavu/hwcontext_cuda: declare support for argb/abgr/rgba/bgra
>   avfilter/vf_nvoffruc: Add filter for nvidia's Optical Flow FRUC
>     library
>
>  configure                  |   7 +-
>  libavfilter/Makefile       |   1 +
>  libavfilter/allfilters.c   |   1 +
>  libavfilter/vf_nvoffruc.c  | 644 +++++++++++++++++++++++++++++++++++++
>  libavutil/hwcontext_cuda.c |   4 +
>  5 files changed, 654 insertions(+), 3 deletions(-)
>  create mode 100644 libavfilter/vf_nvoffruc.c
>
> --
> 2.37.2



Related,

If this were to be implemented in mpv, can libplacebo pick up this feature
spec as a filter in ffmpeg? Perhaps that would make such a feature easier
to merge down the line, instead of re-implementing it directly in ffmpeg as
an additional filter.

Adding Niklaas to the thread.


More information about the ffmpeg-devel mailing list