You'll have MASSIVE quality loss when encoding from DTS to AC3. AC3 is a prehistoric format and is not suited for encoding anything short of lossless source files. At the most encode from DTS to MP3 for stereo or AAC for 5.1. If you have a DTS decoder filter installer like AC3Filter, then you can use AVIDemux to keep the source video and mux it with re-encoded audio.