add seeking for transocding with ffmpeg