How to get the RTP/RTCP timestamps at Rx for video frames send from Tx.

vk_gst venkateshkuppan26 at gmail.com
Fri Oct 26 09:43:20 UTC 2018


Hello,

I have an application that send video packets from an iMX6 device to an
Ubuntu PC. I want to have the knowledge of  the timestamps of the video
packets at the receiver side, to analyse the incoming data flow. 
Right now I installed a python timer and for every push buffer, note down
the time. However it would be better, if I can get the timestamps from the
video packets itself. 

Below are my pieplines: 

Tx pipeline: 
v4l2src -> h264encode ->  rtph264pay -> rtpbin -> udpsink(port=5000) ->
rtpbin.send_rtcp(port=5000) -> rtpbin.recv_rtcp(port=5000)

Rx pipeline: 
udpsrc(port=5000) -> rtpbin -> rtph264depay -> avdec_h264 ->
rtpbin.recv_rtcp(port=5000) -> rtpbin.send_rtcp(port=5000) -> videosink


1. Does anyone have any idea on how to read the timestamps in my
application?
2. Does rtp send and rtcp send/recv have to be on the same port(in my case
5000), or should I use different ports for rtp and rtcp ? 


P.S. I know that the log file does have the timestamps, but I would prefer
it to be accessible from my application without the log information. 



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list