How to maintain 96 Hz when converting DTS-MA to FLAC

I have some DTS-MA tracks from a BluRay (96Hz 24 bit) that I’m trying to convert to 96 Hz FLAC but when imported I believe it is just seeing the DTS core track as the project rate only shows 48 Hz. I’ve tried importing the audio as m2ts, mkv & dts but get the same project rate every time.
Running version 2.0.6 on Win 10.
Any help is appreciated!

This topic may help: https://superuser.com/questions/813933/how-do-i-extract-dts-core-from-a-dts-hd-ma-track-using-ffmpeg-or-alternative-lin

Thanks, but this topic discusses extracting the core track from DTS-MA which is not what I need help with.

I guess you didn’t read down as far as the second reply.

I read ALL replies. All I see are instructions on extracting the DTS core. Am I missing something?

I wasn’t sure what your original question was asking, but I assumed that when you wrote: “DTS-MA tracks from a BluRay (96Hz 24 bit)”, you were referring to DTS-HD Master Audio (DTS-HD MA), or DTS-HD High-Resolution Audio (DTS-HD HR). I’ve not used these formats myself, so it’s not something I know a great deal about, but the post that I linked to appeared to touch on most of the things that you might be interested in.

Audacity itself does not support DTS-HD MA/HR, but if you have a suitable version of FFmpeg installed, then Audacity is able to use FFmpeg to import the DTS core. As far as I’m aware FFmpeg supports the audio core but not the lossless encoded DTS Digital Surround soundtrack.

From the second reply in this post: audio - How do I extract DTS core from a DTS-HD MA track using ffmpeg or alternative linux based tool? - Super User

Be aware though: For eac3to to decode DTS-HD, you’ll need DLLs from commercial software, either “Sonic Cinemaster Audio Decoder 4.3” or various versions of “Arcsoft TotalMediaTheatre” (recommended). AFAIK this isn’t entirely legal, so I won’t directly link it.

You can find eac3to here: eac3to - audio conversion tool - Doom9's Forum

Does any of that help?

Nope. The DTS core is exactly what I do not want. You got on me for supposedly not readon your entire link but you diodnt read my entire question. I want to encode the LOSSLESS DTS-MA audio track 96Hz to 96Hz FLAC & e every tyime I import these files Audacity only seems to see the core DTS track

Is that not what this is (emphasis mine):

eac3to v3.34, freeware by madshi.net

  • can show information about audio, video, VOB/EVO/(M2)TS and MKV files
  • can decode and encode various audio formats
  • can remove dialog normalization from AC3, E-AC3, DTS and TrueHD tracks
  • can extract AC3 stream from Blu-Ray TrueHD/AC3 tracks
    - can extract TrueHD stream from Blu-Ray TrueHD/AC3 tracks
  • can extract DTS core from DTS-HD tracks
  • can remove DTS zero padding and repair outdated DTS-ES headers
  • can apply positive or negative audio delays
  • can reduce bitdepth of decoded audio data by using TPDF dithering
  • can resample decoded audio data (using SSRC or r8brain)
  • can apply/reverse PAL speedup on decoded audio data (SSRC/r8brain)
  • can demux video / audio tracks of EVO/VOB/(M2)TS and MKV sources
  • can list available titles of Blu-Ray and HD DVD discs
  • can extract Blu-Ray and HD DVD chapter information and subtitles
  • can mux MPEG2, VC-1 and h264 video tracks to Matroska
  • can remove pulldown flags from MPEG2, VC-1 and h264 video tracks

OK. I know of MANY ways to extract the DTS core stream from DTS-MA, this is not the issue. The DTS core stream is LOSSY. I want to be able to import the DTS-MA file into Audacity & re-encode to high res FLAC. Problem is, when importing the DTS-MA stream (96Hz) into Audacity, I’m assuming it is only seeing the core stream by default as the project rate reads 48Hz. If it was actually seeing the dts-ma stream itself (AND NOT THE CORE), project rate should read 96Hz. I guess there is no way to do this.

I’ve been converting 5.1 Blu-Ray audio to 5.1 FLAC. Most, if not all of the Blu-Ray audio is 96Hz, so when I import in Audacity, I encode to FLAC 96Hz to achieve a high res FLAC audio file.

I understand both FLAC & DTS-MA are lossless codecs. However… If I encoded the 96Hz DTS-MA file to 48Hz FLAC, then wouldn’t the resulting FLAC file be lossy?

I don’t know the details of DTS but It’s hard to the core has a different sample rate than the underlying file/data. Have you seen that documented somewhere?

Did you set your Audacity project rate to 96kHz?

Are you sure the original file is 96kHz?

I’m positive the sample rate is 96Hz for losssless DTS-MA audio & the"core" track is lossy 48Hz.

If I manually set the sample rate to 96Hz. it would not be true 96Hz. It would be the equivalent of encoding a 128kbs mp3 to a higher bit rate than 128kbs.

I just tried an experiment. I imported Dolby True HD audio which also is 96Hz. Audacity automatically displayed 96Hz as the project rate which tells me for certain that when importing DTS-MA files Audacity is only seeing the core by default.

Even though both are lossless, Dolby TrueHD & DTS-MA are different as DTS-MA has the core track & Dolby TrueHD does not.

With DTS-HD, you can extract the core but not the other way around. In other words you cannot “strip” the core & just be left with the lossless DTS-MA track so I’m guessing as of now there is no way to do what I’m trying to do.

Audacity uses FFmpeg to import DTS.
FFmpeg extracts the “core” signal from DTS, so that’s what Audacity gets when importing DTS.
So the short answer is, no you can’t directly import the lossless channels from DTS into Audacity.

Did you look at “eac3to”? Can that do what you want?

Update for anyone that comes across this with the same issue…
Looks like eac3to is able to convert the DTS-MA high res (NOT CORE track) to flac with the same Hz as the source file.

LOL just saw your reply right after I posted mine about eac3to. Thank you!
Too bad Audacity can’t do this. It’s an excellent program otherwise.