set stream time_base properly