Results 1 to 2 of 2

Thread: Duration in Log Files not accurate???

  1. #1

    Default Duration in Log Files not accurate???

    Hello Wowza Support,

    We are building some reporting/analytics functionality into Ensemble Video by ingesting Wowza logs and analyzing the fields. We were originally told that the DESTROY event will contain an accurate summary of any given streaming session (duration in particular). However we found that when the player we use (flowplayer) auto buffers, Wowza sees that as a valid play event and starts recording the duration; even though the video is not actually playing. We have investigated turning auto buffering off, but that will effect our software in some other ways.

    We were just wondering if there was a log configuration or something you guys knew of that could help us to get a more accurate streaming duration for a clip. We have found that we can take cs bytes against total bytes for each play event and then get the percentage, allowing us to then apply that percentage to total duration and come up with a fairly accurate duration - this is needed for ABR in particular.

    Any advice you can offer us would be greatly appreciated.

    Your friends at Ensemble Video,
    Jim Daley

  2. #2


    Hi there and welcome to the Wowza support forum.

    There are a few things to consider when using the logs in this manner.
    The buffers can skew the results and duration times are basically how long it takes for a stream to finish transferring to the player rather than how long the client watched it.
    Duration includes connection time, so connect -> play -> stop -> disconnect the time is from connection time to disconnect. Also, jumping around, seeks etc will effect the accuracy of the duration time.

    Basically, the logs aren't meant for accurate auditing of stream duration. You might look into the x-spos (position in milliseconds in the stream) as this may be more accurate than say x-duration when it gets written out at "stream stop" event.
    You may need to write a custom module for this, or seek a consultant here:
    find a consultant


Similar Threads

  1. Upgrade & tuning; Log files maintenance; Pause, rewind deleting of live cached files
    By franklyn in forum Wowza Streaming Engine functionality
    Replies: 1
    Last Post: 07-22-2013, 10:45 AM
  2. Log Files - missing file length (max duration)
    By benoitly in forum Server Administration Discussion
    Replies: 1
    Last Post: 03-12-2013, 02:27 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