How to insert timestamp with gstreamer

this is my pipeline:

appsrc name=input caps="%s" ! nvvidconv ! video/x-raw(memory:NVMM), format=(string)NV24 ! nvv4l2h265enc insert-sps-pps=true enable-lossless=true idrinterval=20 iframeinterval=10 profile=3 maxperf-enable=true ! appsink name=output

I want to add timestam and parse the timestamp in my client, and How should I do ? Looking forward to your early reply.Thank you!

Hi,
You can set timestamps in appsrc plugin. Please refer to the sample:
Latency issue: nvv4l2h265enc accumulates four images before releasing the first - #3 by DaneLLL

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.