gstreamer-devel Digest, Vol 149, Issue 39
Marianna Smidth Buschle
msb at qtec.com
Thu Jun 29 13:28:05 UTC 2023
I would say that probes is the way to do it.
The identity element is, as the description says, just a dummy element
which contains some diagnostic functions.
In order to have control over the information you are looking for you
make your own probes.
I have never done heartbeats but used for inspecting framerate, bitrate,
delay, processing time, etc...
On 27/06/2023 14.00, gstreamer-devel-request at lists.freedesktop.org wrote:
> Message: 2
> Date: Mon, 26 Jun 2023 12:39:16 -0700
> From: Divya Sampath Kumar<divyakumar71 at gmail.com>
> To:gstreamer-devel at lists.freedesktop.org
> Subject: Identity element vs probes
> Message-ID:
> <CAOZbvVzc8AYj4NT+1uiXx1v0k7B+z3N8+DFo5oYdS+bDJ+Gj=w at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello. Can anybody help me with the difference between probes and identity
> element? I have a use case where I have an appsrc acting as a file source
> -> identity -> sink. The identity element is not manipulating the incoming
> buffers, but it is a mechanism to report heartbeats or health of the
> pipeline to suggest there is data flowing from source to sink. But, I am
> noticing that despite having media flow, the identity element's callback
> does not get triggered at times and it is hard to debug why this could be
> happening. So now I am looking into probes as a mechanism to report
> heartbeats periodically, but I do not quite understand the underlying
> difference between the 2 and what I should use for this use case. Anybody
> who has implemented a similar functionality before?
>
> Regards,
> Divya
--
Best regards / Med venlig hilsen
“Marianna Smidth Buschle”
More information about the gstreamer-devel
mailing list