change codec and format