[Bug 778749] New: Using vaapih265enc without h265parse causes assert

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 16 09:03:14 UTC 2017


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

            Bug ID: 778749
           Summary: Using vaapih265enc without h265parse causes assert
    Classification: Platform
           Product: GStreamer
           Version: 1.11.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: soren.friis at intel.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

When executing the example command from here:

https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-vaapi-plugins/html/gstreamer-vaapi-plugins-vaapih265enc.html

gst-launch-1.0 -ev videotestsrc num-buffers=60 ! vaapih265enc ! matroskamux !
filesink location=test.mkv

This will cause an assert in the “gst-libs/gst/vaapi/gstvaapiencoder_h265.c” in
the function “GstVaapiEncoderStatus”. There are a couple of asserts added and
the first one always triggers since the bitsize count at that place is 154 and
all the nbits inputs to the WRITE_UINT32 function are hardcoded values.

When adding a h265parse to the command, the encoding succeeds.

gst-launch-1.0 -e videotestsrc num-buffers=60 ! vaapih265enc ! h265parse !
matroskamux ! filesink location=test.mkv

-- 
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