Log in

View Full Version : Cut single multichannel WAV or FLAC into multiple files


Infineon
24th March 2013, 19:36
Can anyone recommend a good tool to do this? Must be lossless without any pops/clicks and something that can work from a cue file would be a bonus. More convenient if it can work with FLACs but I understand that involves decode / cut / re-encode so working with WAV is also fine. I can encode to FLAC after.
:thanks:

Furiousflea
24th March 2013, 20:54
eac3to

tebasuna51
24th March 2013, 21:05
You can open the cue file in Foobar2000 and convert directly to multiple flac's.

Infineon
24th March 2013, 23:12
Thanks, I used eac3to to rip DTS-MA to a single WAV file originally, I couldn't find a way to do it to multiple files or am I wrong? It also wouldn't decode the individual demuxed DTS-MA (.dts) files I took from the blu-ray. Eac3to told me it couldn't recognize the file format. The Foobar option for splitting the wav and transcoding into multiple FLACs using Cue sheets works great, thanks.

Furiousflea
24th March 2013, 23:55
You can decode to separate mono wavs by using filename.wavs for the output, instead of filename.wav

If you mux the .dts into an MKV container, that should solve your problem with eac3to not recognizing it. (maybe, not sure about this bit)

Sparktank
25th March 2013, 22:06
Thanks, I used eac3to to rip DTS-MA to a single WAV file originally, I couldn't find a way to do it to multiple files or am I wrong?

Like multiple audio streams converted to wav files?
stream1.dtshd to stream1.wav
stream2.dtshd to stream2.wav
etc

You can create a batch script and use that to do the multiple processes.
There are several ways of creating one that works.

create a text file rename to "eac3to.bat" (including renaming the extension; confirm "yes" to rename extension)

eac3to.bat
@echo off
%~dp1
CD %~dp1
MD WAV
SET destfolder=WAV
FOR %%A IN (*.dts) DO "C:\Apps\eac3to.exe" "%%~nxA" "%destfolder%\%%~nA.wav"

"%~dp1/CD %~dp1" makes sure that the app (eac3to in this case) is opened and operated in the directory where you open the .bat file. And, thus, all new files/folders are created in the same folder where the .bat file is opened. So if you save the .bat file and open/run it from the Desktop, your files/folders will be saved on the Desktop. AND it will also expect to see all the files (.dts in your case) to be in the same folder as the .bat file.
"MD" (Make Directory) and "destfolder" are optional. Change "MD" to whatever you want also make sure set the destfolder to the new directory (as named in MD).
"%%~nxA"/"%%~nA" use the names of each file specified earlier (*.dts). With the "x" in "nxA" includes the extension (*.dts).


You can also create a more involved script where you name everything yourself...

"C:\Apps\eac3to.exe" "path\source1.dts" "path\output1.wav"
"C:\Apps\eac3to.exe" "path\source2.dts" "path\output2.wav"
etc

The first batch script is pretty much the all-in-one.
you can create more lines of the commands for different formats in the same folder where all your audio needs processing...

@echo off
%~dp1
CD %~dp1
MD WAV
SET destfolder=WAV
FOR %%A IN (*.dts) DO "C:\Apps\eac3to.exe" "%%~nxA" "%destfolder%\%%~nA.wav"
FOR %%A IN (*.dtshd) DO "C:\Apps\eac3to.exe" "%%~nxA" "%destfolder%\%%~nA.wav"
FOR %%A IN (*.thd) DO "C:\Apps\eac3to.exe" "%%~nxA" "%destfolder%\%%~nA.wav"
FOR %%A IN (*.mka) DO "C:\Apps\eac3to.exe" "%%~nxA" 1: "%destfolder%\%%~nA.wav"
FOR %%A IN (*.mkv) DO "C:\Apps\eac3to.exe" "%%~nxA" 2: "%destfolder%\%%~nA.wav"

It also wouldn't decode the individual demuxed DTS-MA (.dts) files I took from the blu-ray. Eac3to told me it couldn't recognize the file format.

Make sure there's no spaces where they shouldn't be.
Extract the audio again using eac3to to work directly form the blu-ray this time.

How was it originally extracted? The extracting process might be the issue.

Make sure your ArcSoft decoder is registered.
regsvr32 ASAudioHD.ax

Do a -test with eac3to to make sure ArcSoft decoder is operational.
eac3to -test -log=test.txt

eac3to v3.27
command line: eac3to -test -log=test_log.txt
------------------------------------------------------------------------------
eac3to (v3.27) is installed
Nero Audio Decoder (Nero 6 or older) doesn't seem to be installed
http://www.nero.com/eng/store-blu-ray.html
CAUTION: You need Nero 7. Nero 8 won't work with eac3to.
ArcSoft DTS Decoder (1.1.0.0) works fine
Sonic Audio Decoder (3.27.0.0) doesn't seem to be installed
Haali Matroska Muxer (2011-09-08) is installed
Nero AAC Encoder (1.5.4.0) is installed
Surcode DTS Encoder doesn't seem to be installed
http://www.surcode.com

jkauff
26th March 2013, 01:07
Another vote for foobar. Load the CUE file and choose Convert, and you're done. Dead easy.