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 778676 - vaapijpegenc does not work together with videotestsrc
vaapijpegenc does not work together with videotestsrc
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
Other Linux
: Normal normal
: 1.11.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2017-02-15 12:15 UTC by Soren Friis
Modified: 2017-04-07 11:17 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Soren Friis 2017-02-15 12:15:55 UTC
In Gstreamer version 1.11.1, the following command is now broken. This worked fine with earlier releases:

gst-launch-1.0 -e --gst-debug=vaapi*:5 videotestsrc num-buffers=60 ! vaapijpegenc ! multifilesink location=test%05d.jpg

It fails with:
0:00:00.904744007  2496 0x5596ca33a8a0 DEBUG            vaapiencode gstvaapiencode.c:420:gst_vaapiencode_get_caps:<vaapiencodejpeg0> Returning sink caps EMPTY

The patch that breaks it is:
9bda7a6 vaapiencode: get surface formats in get_caps()

Possibly related to the discussion in:

libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: Intel i965 driver for Intel(R) Broxton - 1.8.0.pre1 (1.7.3-287-g05d2d25)
Comment 1 Víctor Manuel Jáquez Leal 2017-02-15 15:41:17 UTC
Thanks for filling this. But yes, it is the same issue as #775490. For this specific case, it is already fixed in master. Hence, closing.