GstBuffer identifier along the pipeline
Nostalgia
akra.hanine at gmail.com
Thu Mar 8 15:25:07 UTC 2018
Hi,
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
0:00:00.543751650 8575 0x59f630 DEBUG GST_SCHEDULING
gstpad.c:4186:gst_pad_chain_data_unchecked:<myapp_encoder:sink> calling
chainfunction &gst_video_encoder_chain with buffer buffer: 0x7f9c036090, pts
0:00:14.840000000, dts 99:99:99.999999999, dur 0:00:00.040000000, size
345600, *offset 372, offset_end 372,* flags 0x4000
0:00:00.544511870 8575 0x7f9c003280 DEBUG GST_SCHEDULING
gstpad.c:4186:gst_pad_chain_data_unchecked:<myapp_filter:sink> calling
chainfunction &gst_base_transform_chain with buffer buffer: 0x7f9c1e63d0,
pts 0:00:14.400000000, dts 0:00:14.400000000, dur 0:00:00.040000000, size
30448, *offset none, offset_end none,* flags 0x0
Thanks in advance.
Regards,
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list