now resampling works, but PTS setting on audio needs review