Making the "start time" of a source available to gstreamer

Graham Leggett minfrin at sharp.fm
Wed Dec 16 17:11:51 PST 2015


Hi all,

I have a need to know the “start time” of a stream, which in the case of a file would be the creation time of the file, and in the case of a live stream would be the time the stream was started.

Does gstreamer have any mechanism like this (combing the source suggests no), and if not how would you suggest I implement it?

Would placing a well defined message on a bus with the “start time” do the trick? Would it be true to say that any frame time can be calculated by adding the PTS to this start time?

Regards,
Graham
—



More information about the gstreamer-devel mailing list