I have this simple pipeline : appsource -> encoder(omxh264enc) -> filter ->
filesource and I want to measure the latency of the encoder. So I use the
GST_SCHEDULING debug category to monitor the data flow and pipe the output
log to a file text. This will help me to monitor buffers traveling through
my pipeline, I give for each buffer I push to my appsource an offset but in
the log file I found that this offset is maintained for encoder sink only
(it is considered as none for other elements) so hope someone help me to
clarify the following :
1) How to maintain buffers' offset constant along my pipeline ?
2) If (1) can't be achieved what identifier can we use to monitor a buffer
in the log file ?
3) Where I can find details about the produced log, there are many fields
Maybe we can use pts to identify the buffers. But I have a question : is it
necessary to indicate the pts, dts and duration of a buffer before pushing
it to the appsrc anf if so what is their values if we are pushing buffer
with same size of single video frame ?