Take in mind than NicDtsSource() don't have full support for DTS-HD audio (7.1 must be always DTS-HD), only try (not always work) to decode the 'core' (5.1). The recommended method to manage DTS-HD is first decode the DTS-HD, with eac3to+ArcSoft, to WAV or W64 and after open the WAV/W64 in AviSynth with RaWavSource().