[Bug 781039] New: Suspecting unnecessary memcopy with encode use cases

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 7 17:44:52 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=781039

            Bug ID: 781039
           Summary: Suspecting unnecessary memcopy with encode use cases
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bsreerenj at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

Just noticed the encoder pipeline is doing extra memcopy.

sample pipeline:
gst-launch-1.0 filesrc location=sample.yuv ! videoparse format=nv12 width=1280
height=720 framerate=30 ! vaapih264enc ! filesink location=sample.264

vaapiencode (precisely gst_vaapi_plugin_base_get_input_buffer() ) is not
receiving buffers from the pre-allocated pool, so it end up with an extra copy
and attach vaapivideometa.

It would be good to investigate it since it may significantly affect the
performance.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list