calculate default_duration according to framerate only when not already set