vp9 causes Internal data stream error
A pipeline with vaapih264enc ! vaapih264dec
works fine.
Similarly, vaapih265enc ! vaapih265dec
works, but if I try vaapivp9enc ! vaapivp9dec
I get an internal data stream error:
$ gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080 ! vaapivp9enc ! vaapivp9dec ! vaapisink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapisink0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayWayland\)\ vaapidisplaywayland0", gst.vaapi.Display.GObject=(GstObject)"\(GstVaapiDisplayWayland\)\ vaapidisplaywayland0";
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
OS: Ubuntu 22.10
CPU: 12600k
GPU: Intel ADL-S
gstreamer version: 1.20.3-2
vainfo:
$ vainfo
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.6.0 (54d0e8288)
package versions:
$ dpkg --list | grep gstreamer
ii gir1.2-gstreamer-1.0:amd64 1.20.3-1 amd64 GObject introspection data for the GStreamer library
ii gstreamer1.0-alsa:amd64 1.20.3-2 amd64 GStreamer plugin for ALSA
ii gstreamer1.0-gl:amd64 1.20.3-2 amd64 GStreamer plugins for GL
ii gstreamer1.0-libav:amd64 1.20.3-1ubuntu2 amd64 ffmpeg plugin for GStreamer
ii gstreamer1.0-packagekit 1.2.5-2ubuntu2 amd64 GStreamer plugin to install codecs using PackageKit
ii gstreamer1.0-pipewire:amd64 0.3.58-2ubuntu1 amd64 GStreamer 1.0 plugin for the PipeWire multimedia server
ii gstreamer1.0-plugins-base:amd64 1.20.3-2 amd64 GStreamer plugins from the "base" set
ii gstreamer1.0-plugins-base-apps 1.20.3-2 amd64 GStreamer helper programs from the "base" set
ii gstreamer1.0-plugins-good:amd64 1.20.3-1ubuntu1 amd64 GStreamer plugins from the "good" set
ii gstreamer1.0-plugins-ugly:amd64 1.20.3-1 amd64 GStreamer plugins from the "ugly" set
ii gstreamer1.0-tools 1.20.3-1 amd64 Tools for use with GStreamer
ii gstreamer1.0-vaapi:amd64 1.20.3-1 amd64 VA-API plugins for GStreamer
ii gstreamer1.0-x:amd64 1.20.3-2 amd64 GStreamer plugins for X11 and Pango
ii libgstreamer-gl1.0-0:amd64 1.20.3-2 amd64 GStreamer GL libraries
ii libgstreamer-plugins-bad1.0-0:amd64 1.20.3-1ubuntu6 amd64 GStreamer libraries from the "bad" set
ii libgstreamer-plugins-base1.0-0:amd64 1.20.3-2 amd64 GStreamer libraries from the "base" set
ii libgstreamer-plugins-good1.0-0:amd64 1.20.3-1ubuntu1 amd64 GStreamer development files for libraries from the "good" set
ii libgstreamer1.0-0:amd64 1.20.3-1 amd64 Core GStreamer libraries and elements