gst-plugins-good: flvmux: Ensure Timestamp starts at 0

Sebastian Dröge sebastian at centricular.com
Wed Aug 27 15:19:04 PDT 2014


On Mi, 2014-08-27 at 18:04 -0400, Nicolas Dufresne wrote:
> Le 2014-08-27 18:00, Sebastian Dröge a écrit :
> > Take the smallest timestamp of all streams as the offset for all
> > streams. That way the earliest one always starts at 0 and the others are
> > properly offset relative to it.
> But that would only work for live sources, where the timestamp is stream 
> time. I am correct to think that I should set the stream time rather 
> then the timestamp value ? Using collect pad, I could wait for all pad 
> to have 1 buffers, and decide on the starting stream-time to offset to ?

Muxers should work in running time, and IIRC collectpads by default
gives you the running time as GST_BUFFER_TIMESTAMP() already.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140828/95833c51/attachment-0001.sig>


More information about the gstreamer-devel mailing list