Use more accurate duration calculation, if enough information is available from the stream.