How to write timestamp into each encoded frame data?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to write timestamp into each encoded frame data?

surprised
Hi,gstreamers.
     I encode YUV data into H265 bitstream using omxh265enc,then I send them
into network using rtph265pay and udpsink. Now,I want to write timestamp
into each encoded frame data.So how should I do to achieve this? Looking
forward to your early reply.Thank you!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to write timestamp into each encoded frame data?

givip
Anywhere in pipeline, but you should know where this is needed. Timestamps
are stored in GstBuffer. So my advice is to read, watch first everything you
can find about time and synchronization in GStreamer. This is slightly
complicated topic.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel