PS: fix duration computation on some files