eac3to is a freeware application that is capable of converting E-AC3, TrueHD, PCM and DTS-HD audio tracks to AC3, DTS or FLAC. It is a freeware AC3 converting application that's portable, well-designed and advanced.
Here are some screenshots to illustrate the features and user interface of this application: