How can I modify my chromecast profile so that it will transcode AC3 audio?

Chromecast will passthrough AC3, but the TV I have it setup for doesn't support AC3. I'd like to just transocde the audio to stereo/mp3, or even AAC if chromecast can handle that.

Most of my media is in an mp4 container. with AC3 5.1 audio.