[Libav-user] zero-copy using libav API and nvidia hw

Morten Fugl morten at sportcaster.dk
Tue Feb 14 11:45:29 EET 2017


Currently we are using the libav API to:

1) decode a 4K mp4 file
2) apply GLSL shader
3) encode to new 4K mp4 file

It works now using AVFrame but the copies to/from GPU is really slow. So
how I make the frames stay in GPU memory and get a texture reference to
them to apply a GLSL shader?

If not possible with ffmpeg, can it be done using nvidia VideoCodecSDK?

Regards, Morten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170214/1cbfc0af/attachment.html>


More information about the Libav-user mailing list