The process in which a relatively unspecialized cell acquires the specialized features of an oligodendrocyte. An oligodendrocyte is a type of glial cell involved in myelinating the axons of neurons in the central nervous system. [ http://www.ncbi.nlm.nih.gov/pubmed/15139015 GOC:vp ]