Results 1 to 2 of 2

Thread: Recording duration (sum of chunks)

  1. #1

    Default Recording duration (sum of chunks)


    Assume we have a live stream from IP camera.
    Let its name be:
    We record this stream by duration (liveStreamRecordSegmentDuration)

    We use default file version naming convention for recorded files

    Assume we started recording at 13.18.01.
    At 13.40.01 we loat connection with IP camera.
    At 15.18.01 connection was reestablished.

    So we get 2 recordings with some chunks:

    Recordinng I: _2013-01-11- _2013-01-11-
    ... _2013-01-11-

    Recordinng II: _2013-01-11- _2013-01-11-
    ... _2013-01-11-


    How to find duration of the recording? (starting from the 1st chunk till the last one)

    Any ideas, appreciated

  2. #2
    Join Date
    Sep 2011


    The easiest way to find the duration of a single .MP4 file is to play it, a player should instantly tell you the duration of the file.
    If you're using a Windows operating system then you could [right-click], "Properties" > "Details" which will provide the duration if the file you're looking at.

    If you're asking what the total duration is when adding all the individual files together, I think this is something you would have to manually calculate.
    A helpful tip if you're using Windows, is to drag and drop the files into VLC player. This will show the the duration of all the files in the playlist when not playing them.
    If this doesn't happen by default in the player, click "View" > "Playlist" to show the playlist which will show all the files which have been added.

    Then you can simply add up each duration to get the total you require.


Similar Threads

  1. Multiple chunks as one recording (playlist)
    By sam.shm in forum On-Demand Streaming
    Replies: 3
    Last Post: 05-08-2014, 01:25 PM
  2. How to get recording segment duration at onWriteComplete()
    By spiritsoul in forum Live Streaming and Encoder Discussion
    Replies: 7
    Last Post: 08-19-2013, 07:39 PM
  3. Recording in 2 hour chunks
    By Bencredible in forum AddOn: Other AddOns
    Replies: 3
    Last Post: 03-07-2012, 12:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts