Page 1 of 1

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

Posted: Tue Jul 15, 2025 1:51 am
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.

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

Posted: Tue Jul 15, 2025 4:05 am
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.

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

Posted: Tue Jul 15, 2025 4:39 am
by Eadwine Rose
It is in the normal repos. Enabled repos tab.

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

Posted: Tue Jul 15, 2025 4:43 am
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.

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

Posted: Tue Jul 15, 2025 11:08 pm
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.