real movie duration based on ffprobe, refactoring,