GNOME Bugzilla – Bug 756636
nvenc: Avoid extra bitstream buffers allocation
Last modified: 2018-11-03 13:41:28 UTC
Bitstream buffers allocation is very expensive operation. We shouldn't use 32 / 48, as this gives us no performance boost but makes initialisation take 2 seconds of whole CPU / memory bus, adds unacceptable latency and other operations should wait. For shorter videos this makes nvh264enc less performant than x264enc.
Maybe the max. number of buffers to allocate should be configurable via a property then. I think it makes sense to optimise for long streams rather than short ones, but it's a bit crazy that allocating a buffer takes so much time. We should check if that also happens with the nvenc test apps that come with the nvidia sdk.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/313.