Does the optical out actually transcode to 5.1 or is it only proper optical when the source has DD built in ?

Wrong number, I have no idea.