Set and get the timestamp manually using appsrc/appsink.

surprised 1028554060 at qq.com
Mon Nov 4 13:42:52 UTC 2019


Hi,gstreamers.
At sender,I use appsrc for abtaining outer YUV data,and then encode and
transmit via rtph265pay and udpsink.
At receiver,I use udpsrc and rtph265depay to receive H265 bitstream,and then
I use appsink to extract YUV data.

In appsrc, I set timestamp like this:
GST_BUFFER_PTS(buffer)=100;

In appsink,I get the timestamp like this:
timestamp=GST_BUFFER_PTS;

But it comes the problem:the value of timestamp don't equal to 100(I set in
appsrc). Why???



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


More information about the gstreamer-devel mailing list