[Bug 793338] videometa: add support for encoder parameters to ROI meta

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 9 15:59:23 UTC 2018


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

Guillaume Desmottes <gdesmott at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #368187|0                           |1
        is obsolete|                            |

--- Comment #2 from Guillaume Desmottes <gdesmott at gnome.org> ---
Created attachment 368189
  --> https://bugzilla.gnome.org/attachment.cgi?id=368189&action=edit
videometa: add support for downstream parameters to ROI meta

The current GstVideoRegionOfInterestMeta API allows elements to detect
and name ROI but doesn't tell anything about how this information is
meant to be consumed by downstream elements.
Typically, encoders may want to tweak their encoding settings for a
given ROI to increase or decrease their quality.
Each encoder has its own set of settings so that's not something that
can be standardized.

This patch adds encoder-specific parameters to the meta which can be
used to configure the encoding of a specific ROI.

A typical use case would be: source ! roi-detector ! encoder
with a buffer probe on the encoder sink pad set by the application.
Thanks to the probe the application will be able to tell to the encoder
how this specific region should be encoded.

Users could also develop their specific roi detectors meant to be used with a
specific encoder and directly putting the encoder parameters when
detecting the ROI.

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