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 723282 - vaapiencode: fix caps to report the supported resolution range
vaapiencode: fix caps to report the supported resolution range
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
unspecified
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
P2
Depends on:
Blocks: 758397
 
 
Reported: 2014-01-30 13:28 UTC by Gwenole Beauchesne
Modified: 2018-11-03 15:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gwenole Beauchesne 2014-01-30 13:28:53 UTC
Currently, the resolution reported in static caps is fixed to be [ 1 - 2147483647 ]. When a complete pipeline is built at run-time, the correct range needs to be probed and reported on query-caps event, so that appropriate fallback could possibly be taken care of earlier.

Implementation note: VA surface attributes (min-width, min-height, max-width, max-height) are to be used.

The GstVaapiEncoder object can now be created earlier, and appropriate dimensions be extracted through gst_vaapi_encoder_get_min_resolution() and gst_vaapi_encoder_get_max_resolution().

If VA surface attributes are not supported, the default minimum would be one macroblock (16x16) and the default maximum to match the codec specs. Or, the default maximum could be 1080p, and the underlying VA driver shall actually report the real HW capabilities.
Comment 1 sreerenj 2016-03-24 16:55:01 UTC
Moving to Product:GStreamer, Component:gstreamer-vaapi
Comment 2 Víctor Manuel Jáquez Leal 2017-06-13 15:09:32 UTC
Also we shall to report the maximum quality level available (bug #783567)
Comment 3 GStreamer system administrator 2018-11-03 15:44:46 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/gstreamer-vaapi/issues/12.