define chunk duration by pts and time_base