How can I convert an audio file from dts-xll to ac3, & replace video track?  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
Somewhat Reticent
Posts: 158
Joined: Thu Oct 17, 2019 5:37 pm

How can I convert an audio file from dts-xll to ac3, & replace video track?  [Solved]

#1 Post by Somewhat Reticent »

Is there a way to convert an audio (.mka) file from (6-channel) DTS XLL to AC-3?
And maybe replace the audio track in a video .mkv file? Or at least combine/merge them?
I have pieces, but don't know how to re-arrange them.
Issue now moot: found matching .mkv archive and down-converted using handbrake.
Had to give vintage kit several cool-down breaks. Thanks to one & all - will explore options.
Last edited by Somewhat Reticent on Tue Jul 15, 2025 7:24 pm, edited 2 times in total.

BitterTruth
Posts: 684
Joined: Tue Sep 22, 2020 7:36 pm

Re: How can I convert an audio file from dts-xll to ac3, & replace video track?

#2 Post by BitterTruth »

I don't really know much about audio/video but a quick bit of googling and i think you can:

1) use an online converter site to convert .mka to ac-3
2) use mkvtoolnix to change the default audio for the mkv file

i think mkvtoolnix might be in the test repo though.

User avatar
Eadwine Rose
Administrator
Posts: 15067
Joined: Wed Jul 12, 2006 2:10 am

Re: How can I convert an audio file from dts-xll to ac3, & replace video track?

#3 Post by Eadwine Rose »

It is in the normal repos. Enabled repos tab.
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Stevo
Developer
Posts: 14775
Joined: Fri Dec 15, 2006 7:07 pm

Re: How can I convert an audio file from dts-xll to ac3, & replace video track?

#4 Post by Stevo »

We have the latest mkvtoolnix 92.0 backport from Debian in MX 23 main and 21 test. 93.0 apparently needs some patch, even to build on Trixie. Let me see if deb-multimedia has it.

Yes, you can use it to add or replace tracks in an mkv file, and to choose one as the default.

Here's a guide to using ffmpeg on the command line to convert DTS to AC3, though I wonder if MystiQ from the repos could handle it in its GUI. It does have AC3 as a target.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
sunrat
Posts: 666
Joined: Mon Mar 28, 2016 9:54 pm

Re: How can I convert an audio file from dts-xll to ac3, & replace video track?

#5 Post by sunrat »

Here's a command I used to convert an AVC video with 5.1 DTS audio to HEVC with stereo AAC audio:

Code: Select all

ffmpeg -i infile.mkv -c:v libx265 -preset medium -crf 25 -acodec aac -b:a 192k -af "pan=stereo|FL < 1.0*FL + 0.707*FC + 0.4*BL + 0.5*LFE|FR < 1.0*FR + 0.707*FC + 0.4*BR + 0.5*LFE" output_stereo.mkv
infile was 4.4GB, out was 1.1GB
It would be quite easy to adapt that for AC3 audio, although personally I would prefer AAC or vorbis.
Stevo wrote: Tue Jul 15, 2025 4:43 amHere's a guide to using ffmpeg on the command line to convert DTS to AC3, though I wonder if MystiQ from the repos could handle it in its GUI. It does have AC3 as a target.
IIRC i tried Mystiq to do that but it didn't successfully downmix the 5.1 audio to stereo. It was a while ago though so memory may be hazy.

Post Reply

Return to “MX Help”