add possibility to set video_maximum_duration