After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756636 - nvenc: Avoid extra bitstream buffers allocation
nvenc: Avoid extra bitstream buffers allocation
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-15 13:15 UTC by Kyrylo V. Polezhaiev
Modified: 2018-11-03 13:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kyrylo V. Polezhaiev 2015-10-15 13:15:42 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.
Comment 1 Tim-Philipp Müller 2015-10-15 13:30:55 UTC
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.
Comment 2 GStreamer system administrator 2018-11-03 13:41:28 UTC
-- 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.