Skip to main content
August 7, 2011
Question

How to get a timestamp of a live stream recording

  • August 7, 2011
  • 2 replies
  • 697 views

I'm recording a lot of live streams for archiving purposes. Is it possible to somehow (programmaticly) get the timestamp of a certain point of such record?  The solution can be in any programming language.

    This topic has been closed for replies.

    2 replies

    August 11, 2011

    Basically, what I need is to know that time it was at point X of the video (When it was live).

    Think about it like an archiving system. You can write the time you want at the video, and then play it.

    Participating Frequently
    August 11, 2011

    Yes very much - you can use Server-side API of Stream Class. Say if you are recording "mylivestream" and recording is done mp4 format i.e. file on disk is mylivestream.f4v - you can call

    Stream.length(mp4:mylivestream.f4v) at any point of time and this will return length of file recorded till that point of time.

    Is this what you were looking for - if i did not get your problem right - do let me know.

    calmchessplayer
    Inspiring
    August 11, 2011

    from the client side you can ask the recordeing's meta data what its lenght is also.