Log in

View Full Version : What's the simplest, most user-friendly program for converting DTS files to WAV?


Katie Boundary
17th October 2024, 21:19
At the moment, I'm using AVIsynth to attach the DTS files to some video, importing the scripts into Virtualdub, and then exporting AVI files with uncompressed audio, but I feel like this level of fuckery shouldn't be necessary.

FranceBB
17th October 2024, 21:51
I actually like the fact that you're using Avisynth and I don't actually think there's anything wrong with it as I often do it in a similar way with BlankClip() as a fake video. Anyway, an alternative solution that also works on XP would be:

ffmpeg.exe -i "file.dts" -c:a pcm_s24le -ar 48000 -y "file.wav"

That would create a standard RIFF wav with PCM 24bit 48000Hz little endian inside.
If you need the new RF64 wav container, instead, you can use:

ffmpeg.exe -i "file.dts" -c:a pcm_s24le -ar 48000 -rf64 always -y "file.wav"

Reino's builds are here on Doom9 https://forum.doom9.org/showthread.php?t=181802

If you prefer a GUI for it that also works on XP, there's Pazera which works with a simple drag and drop. I can upload the build I use tomorrow if you want. ;)

Katie Boundary
18th October 2024, 02:22
What's the simplest, most user-friendly program

(some command-line bullshit that nobody understands)

ROFL. I'll take the GUI option if you don't mind :)

(it doesn't necessarily need to work on XP, but that would save me the extremely difficult, time-consuming, and exhausting task of disconnecting my external hard drive, moving it about 2 meters, and connecting it to another computer... :D )

StainlessS
18th October 2024, 11:39
To BATCH extract WAV from Movie file,

Whatever.bat

setlocal

REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"

REM Where to get input file, No terminating Backslash, "." = current directory
set INDIR="."


REM Where to place output file, No terminating Backslash.
set OUTDIR=".\OUTPUT"


FOR %%A IN (*.wmv *.mpg *.avi *.flv *.mov *.mp4 *.m4v *.RAM *.RM *.mkv *.TS *.ogv *264 *.webm *.m2v *.VOB) DO (
%FFMPEG% -i "%INDIR%\%%A" -vn -acodec pcm_s16le "%OUTDIR%\%%~nxA.WAV"

)
Pause


Change [add/remove] input file extension types from RED line,
Blue line, can modify to suite, -vn skips any video output [can just leave in-situ if not video input].

Modified slightly, a bit more like FaBB's sample

WhereEver.bat.

setlocal

REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"

REM Where to get input file, No terminating Backslash, "." = current directory
set INDIR="."


REM Where to place output file, No terminating Backslash.
set OUTDIR=".\OUTPUT"


FOR %%A IN (*.dts *.mp3 *.wav) DO (
%FFMPEG% -i "%INDIR%\%%A" -vn -c:a pcm_s24le -ar 48000 -rf64 always -y "%OUTDIR%\%%~nxA.WAV"

)
Pause


INDIR is set to same directory as the batch file, OUTDIR is set to "OUTPUT" folder in same directory as bat file.
Maybe set to explicit full paths to input/output folders.
I think that the bat files dont like filenames with spaces too much.
Maybe you have a lot of files to process at once.

EDIT: Added "*.wav" (SPACE separated) extension, will convert any input WAV to 24 bit little endian and 48KHz samplerate.

If you need the new RF64 wav container, instead, you can use:
If you dont want new RF64 wav container, then omit the "-rf64 always -y" stuff.

FranceBB
18th October 2024, 15:52
I'll take the GUI option

There you go: Link (https://mega.nz/file/bQVHwKbL#2HXxUyGp9D_hH1Uax7MsvMeCbSSyxRm4lMMw4UA2MAM)

Just open "Audio Extractor.exe"

https://i.imgur.com/TDv6WLO.png
https://i.imgur.com/hScSY9i.png

Drag and drop the .dts audio track

https://i.imgur.com/yk01i1h.png

make sure that the output format is set to WAV - PCM 16bit Little Endian at 48000Hz and then click convert and it will create the PCM output muxed in wav.

https://i.imgur.com/Cil6RiP.png

Katie Boundary
19th October 2024, 03:37
Whoops, I just noticed that Virtualdub has an "export WAV" function that does literally exactly what I want (although I still have to load the DTS file into an avisyth script first).


Sorry to waste your time, guys.