Adding ONVIF NTP Timestamp in outgoing RTP Packets

kalpesh shukla kalshukla at
Mon Jan 24 06:37:28 UTC 2022

Hi Team,

We are required to add ONVIF NTP Timestamp in outgoing RTP packets of our
After going through Gstreamer documentation we have zero downed on
rtponviftimestamp element.

On including rtponviftimestamp in our pipeline, the application is crashing
due to segmentation fault. Debugging the same is not giving any useful

We have written the application in python and below is our example pipeline,

'appsrc is-live=true name=source format=GST_FORMAT_TIME '\

'caps=video/x-raw,format=BGR,width=640,height=352,framerate=30/1 ' \
                              '! videoconvert ! videoscale !
video/x-raw,format=I420 ! x264enc speed-preset=ultrafast tune=zerolatency !
queue max-size-time=0 ' \
                              '! rtph264pay name=pay0 pt=98 !

We are using the above pipeline configuration inside GstRTSPServer/Media
Factory functionality to provide an external RTSP interface.

Please guide us on the correct usage of rtponviftimestamp or an alternate
way to add ONVIF NTP timestamp.

Thanks in advance.

Kalpesh Shukla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list