appsink
Function |
Native GStreamer plugin. This plugin is used together with the GetResult and GetResultWithUniqueId APIs to obtain data from streams. The two APIs are available only when the appsink plugin exists in streams. |
|---|---|
Constraints |
None |
Plugin Base Class (Factory) |
appsink |
Input/Output |
Input: buffer Output: external API calling |
Property |
For details, see Table 1. |
Property Name |
Description |
Mandatory or Not |
Modifiable or Not |
|---|---|---|---|
sync |
Synchronization lock, which is used by default. |
No |
No |
max-lateness |
Maximum number of nanoseconds that can be delayed before the buffer is discarded. The default value is -1, indicating that there is no limit. |
No |
No |
qos |
Whether to generate service quality events from upstream. The default value is no. |
No |
No |
async |
Whether to switch from the asynchronous mode to the pause mode. The default value is yes. |
No |
No |
ts-offset |
Timestamp offset (in nanoseconds). The default value is 0. |
No |
No |
enable-last-sample |
Whether to enable the property of the last sample. The default value is yes. |
No |
No |
last-sample |
Read-only property, which is used to check whether the final output result is received. |
No |
No |
blocksize |
Size of data obtained by each buffer (in bytes). The default value is 4096. |
No |
Yes |
render-delay |
Additional rendering delay (in nanoseconds) for the receiving element. The default value is 0. |
No |
No |
throttle-time |
Hold time between rendering buffers. The default value is 0, indicating that the function is disabled. |
No |
No |
max-bitrate |
Maximum number of bits to be rendered per second. The default value is 0, indicating that the function is disabled. |
No |
No |
processing-deadline |
Maximum processing end time (in nanoseconds). The default value is 20000000. |
No |
No |
caps |
Allowed capabilities of the source pad. |
No |
No |
eos |
Whether the receiving element is the EOS or is not started. The default value is yes. |
No |
No |
emit-signals |
Whether to send a new pre-roll and a new sampling signal. The default value is yes. |
No |
No |
max-buffers |
Maximum number of internal buffers. The default value is 0, indicating that there is no limit. |
No |
No |
drop |
Whether to discard the old buffer when the queue is filled. The default value is no. |
No |
No |
wait-on-eos |
Whether to wait until all buffers are processed after the EOS is received. The default value is yes. |
No |
No |
buffer-list |
List of used buffers. |
No |
No |