read extract duration from config