png: encoder: set pts and dts
jpeg: encoder: set pts and dts