set PTS, DTS and duration in avformat_source