I think it is possible.So just make the right codec to the data and write them.