appsink
Function |
Native GStreamer plugin. This plugin is used together with 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 |
|
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 upstream service quality events. The default value is false. |
No |
No |
async |
Whether to switch from the asynchronous mode to the pause mode. The default value is true. |
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 true. |
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 |
Throttle 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 false. |
No |
No |
emit-signals |
Whether to send a new pre-roll and a new sampling signal. The default value is false. |
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 false. |
No |
No |
wait-on-eos |
Whether to wait until all buffers are processed after the EOS is received. The default value is true. |
No |
No |
buffer-list |
List of used buffers. |
No |
No |