Pion Productions with Isospin-Dependent In-Medium Cross Sections