Well, this is a very vague question. However, assuming you mean the optical output of a tv, then the answer is the optical output will output 5.1 from the tv's internal tuner, both OTA and QAM, if the source is 5.1 of course. Devices connected to the tv via hdmi will normall not output 5.1 through the optical port, only stereo. There are a few models that will, however they are slim to none.