I am murky on the details but would probably try this myself and then provide a PR.
What I would like is, like the nvenc encoder for ffmpeg provides, provide direct access to the underlying hardware buffer, so we can avoid memcopies, especially between different kinds of memory. in this case I suppose that would be the nvbuffer.
I suppose that also entails hooking into the ffmpeg mechanisms for transfer from/to hwaccel devices.
I am murky on the details but would probably try this myself and then provide a PR.
What I would like is, like the nvenc encoder for ffmpeg provides, provide direct access to the underlying hardware buffer, so we can avoid memcopies, especially between different kinds of memory. in this case I suppose that would be the nvbuffer.
I suppose that also entails hooking into the ffmpeg mechanisms for transfer from/to hwaccel devices.