<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 4 nov. 2019 15 h 40, surprised <<a href="mailto:1028554060@qq.com">1028554060@qq.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,gstreamers.<br>
At sender,I use appsrc for abtaining outer YUV data,and then encode and<br>
transmit via rtph265pay and udpsink.<br>
At receiver,I use udpsrc and rtph265depay to receive H265 bitstream,and then<br>
I use appsink to extract YUV data.<br>
<br>
In appsrc, I set timestamp like this:<br>
GST_BUFFER_PTS(buffer)=100;<br>
<br>
In appsink,I get the timestamp like this:<br>
timestamp=GST_BUFFER_PTS;<br>
<br>
But it comes the problem:the value of timestamp don't equal to 100(I set in<br>
appsrc). Why???<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Did you configure your appsrc to operate in time format ?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>