Fixes #4. Might want to change the precission of VideoProcessor duration
function to further improve this.