I am trying to get statistics on how much of a video a user watched. I understand this value is more about how much data was streamed. Below I watched my test.mp4 video 100% using both rtsp and http. The sc-bytes, x-duration, sc-stream-bytes are much higher in both cases than the x-file-size and x-file-length. Is there information that shows this additional overhead that can be used to make the calculation more accurate?
Are the calculations for % streamed
% streamed in bytes = sc-stream-bytes / x-file-size
% streamed in seconds = x-duration / x-file-length
x-severity x-category x-event date time x-comment c-client-id c-ip c-port cs-bytes sc-bytes x-duration x-sname x-stream-id x-spos sc-stream-bytes cs-stream-bytes x-file-size x-file-length x-ctx x-sname-query
INFO "rtsp stream destroy" 10/31/2013 16:14:06 - 929240264 - 12096 8913791 184.567 test.mp4 1 180949 8913791 12096 8821762 180.971 test.mp4 -
INFO "cupertino stream destroy" 10/31/2013 16:07:13 - 740652923 - 0 9802746 203.222 test.mp4 1 180971 9798184 0 8821762 180.971 test.mp4 -