View Full Version : how to transcode dts files with foobar2000


Kurtnoise
5th November 2004, 01:18
Hi,

Everybody knows (I hope at least) that the freeware to transcode dts files amount on a hand ;) We can have azidts (http://www.doom9.org/Soft21/Audio/azidts.zip) and dtsdec (http://www.rarewares.org/files/others/dtsdec.zip) from the libdca librairy.
The first one seems to be great because we can use it with besweet.dll. So, we can make a transcode of dts to aac/ac3/mp2/mp3/vorbis/wav very quickly. But the most disadvantage is this tool need the WinDVD Intervideo filter :( and unfortunately WinDVD player isn't a freeware...:rolleyes:
The second one dtsdec is a CLI (Command Line Interface). So, first we need to transcode dts to wav and then wav to anything following ours desires. In conclusion we have made 2 steps and this tool is more or less buggy :scared:

Fortunately today we have a new way ;) And it seems to work pretty good. This way is Foobar (http://www.foobar2000.org/), the famous audio player with his new plugin foo_dts (http://www.saunalahti.fi/cse/foobar2000.php) to decode dts files. Yesssss :) One of the good point for this player is we can use directly the encoder and some plugins/dsp. That's why the transcode processing is reduced to one step instead of two like dtsdec. I'm testing dts to aac/mp3/vorbis (6 channels/2channels) and all seems to work very well...and all it's free ;)

Feel free to test it. :D

daphy
5th November 2004, 07:57
ehy

this is really great news - something to play for the weekend :p
What´s about DTSWAV - does this work, too :rolleyes:

Kurtnoise
5th November 2004, 09:22
Hi daphy,

Originally posted by daphy
What´s about DTSWAV - does this work, too :rolleyes:
Mmmh it seems to work but only with 44,1 KHz files. I tested with some 48 KHz samples but dtswav crashes.


And I've forgotten to say one thing. There is an other free way : the lastest AC3Filter to decode to wav with graphedit. Then we can use BeSweet of course...But once again there are 2 steps. ;)



I'll post some examples + screenshots this week-end.

daphy
5th November 2004, 14:02
Mmmh it seems to work but only with 44,1 KHz files. I tested with some 48 KHz samples but dtswav crashes.
Am I wrong, but DTSWAV should always be 44.1KHz?

Kurtnoise
5th November 2004, 15:30
Yes..you're right. :p It's my fault...most of my dts samples come from my DVDs. And these files have a 48 Khz Sample Rate. It was just for testing...;)

daphy
5th November 2004, 16:32
It was just for testing...

me? :D :D :D ;)

Kurtnoise
6th November 2004, 16:40
Achhh nein...:D


Like I said, here are some examples for transcoding dts files with foobar2000. First, grab the latest fb2k release here (http://www.saunalahti.fi/cse/foobar2000.php). Just one note before to begin : don't forget to check Optional Components during installation otherwhise you can't make these steps correctly.


DTS to AAC :

For information, fb2k_special version provides natively the FAAC support.


Load the player and add your dts file with Playlist --> Add file Menu (or drag it & drop it directly into the playlist).
Then go to Foobar2000 --> Preferences --> DiskWriter.
In the Output Directory, check "Same as source file directory".
In the Output Presets, search FAAC : MP4(LC),quality 100...from the list and click on "Edit" button to modify or change the preset. There you can choose quality/bitrate Mode...

http://kurtnoise.free.fr/misc/fb2k_dts_to_aac.gif

Then if you want to keep the 6_channels for the output file, go directly to number 8. ...else if you want to downmix (i.e 6 channels to 2 channels) then read the next items.
In the Processing part, check "Use DSP" and click on "go to DSP Settings" button.
There, you can choose one or more DSP. By example to make a downmix, you must put the "Convert 5.1 to Stereo" on the left.
If all it's ok, then ckick on "Save all" and "Close". To launch the process : a right click on the file following by Convert --> Run Conversion. The select file writer appears. So, click on OK and wait. ;)



DTS to HE-AAC :

For High-Efficiency AAC, we need to install the last Nero Burning ROM (http://www.nero.com). There is of course a special plugin for fb2k (http://www.saunalahti.fi/cse/foobar2000/foo_nero.zip) to access of the Nero decoder/encoder.


Put foo_nero in components folder + copy and paste aacenc32.dll & aac.dll into the foobar2000 directory. These libraries are in Program Files/Commom Files/Ahead/AudioPlugins directory.
Load the player and add your dts file with Playlist --> Add file Menu or drag it & drop it directly into the playlist.
Then go to Foobar2000 --> Preferences --> DiskWriter.
In the Output Directory, check "Same as source file directory".
In the Output Presets, click on "Add New" button and choose Nero Encoder from the scrolling list. If it doesn't appears then you have missing something.
The Nero Encoder window pops up :

http://kurtnoise.free.fr/misc/fb2k_dts_to_heaac_2.gif

[1] : select Nero Digital Audio (HE-AAC) (.mp4).
[2] : check on "Configuration" button to choose a preset. You have some infos here (http://www.doom9.org/oagmachine.htm) to set the different parameters.
[3] : check this case to use .m4a extension. But it's not mandatory. Click on OK to validate.
If you want to transcode 6_channels to 2_channels, then check the "Use DSP" button from the Processing Part in DiskWriter window and click on "go to DSP settings".
On the right, we can see some DSP. To activate one or more, just push it(them) on the left side. By example, the "Convert 5.1 to Stereo" to have 2 channels in output.
If all it's ok, then click on "Save all" and "Close". To launch the process : a right click on the file following by Convert --> Run Conversion. The select file writer appears. So, click on OK and wait. ;)



DTS to MP3 :

For MP3, we need to grab a command line encoder. I use Lame (http://www.rarewares.org/mp3.html).

Put Lame.exe in foobar2000 directory.
Load the player and add your dts file with Playlist --> Add file Menu.
Then go to Foobar2000 --> Preferences --> DiskWriter.
In the Output Directory, check "Same as source file directory".
In the Output Presets, search Command Line Encoder : Lame --alt-preset standard from the list and click on "Edit" button to modify the preset. fb2k has already different presets for Lame. So, just look around the list.
In the Processing part, check "Use DSP" and click on "go to DSP Settings" button.
There, you can choose one or more DSP. By example to make a downmix, you must put the "Convert 5.1 to Stereo" on the left.
If all it's ok, then ckick on "Save all" and "Close". To launch the process : a right click on the file following by Convert --> Run Conversion. The select file writer appears. So, click on OK and wait. ;)



DTS to Vorbis :

For information, fb2k provides natively a vorbis_enc plugin.

First, load the player and add your dts file with Playlist --> Add file Menu.
Then go to Foobar2000 --> Preferences --> DiskWriter.
In the Output Directory, check "Same as source file directory".
In the Output Presets, search Ogg Vorbis : -q 5.00 from the list and click on "Edit" button to modify the q-value with the slice bar following your desires :

http://kurtnoise.free.fr/misc/fb2k_dts_to_vorbis.gif

Then if you want to keep the 6_channels for the output file, go directly to number 8. ...else if you want to downmix (i.e 6 channels to 2 channels) then read the next items.
In the Processing part, check "Use DSP" and click on "go to DSP Settings" button.
There, you can choose one or more DSP. By example to make a downmix, you must put the "Convert 5.1 to Stereo" on the left.
If all it's ok, then ckick on "Save all" and "Close". To launch the process : a right click on the file following by Convert --> Run Conversion. The select file writer appears. So, click on OK and wait. ;)


That's all...:)

Dark-Cracker
6th November 2004, 17:48
why nobody try to made a working plugin for besweet using libdts this could avoid a lot of headache when u want to convert your DTS file.

KpeX
8th November 2004, 23:36
@Kurtnoise

Thanks for posting that :). I hope you don't mind that I added a link to the DTS FAQ.

Kurtnoise
9th November 2004, 08:53
No problem...;)

@DC : you're the man for that...:D

tormento
9th November 2004, 13:37
Great work! :)

Is there a way to transcode in a simple way from DTS to AC3?

Thanks again... :D

Kurtnoise
9th November 2004, 19:03
The easiest way comes with BeSweet, but you must realize that the ac3enc from BeSweet isn't very good...In addition, the only one free ac3_encoder seems to be ffmpeg. But still buggy...

drpaulng
20th November 2004, 04:36
Any way to do it in "one step"?

Kurtnoise
20th November 2004, 10:43
Besure (http://doom9.org/BeSure.html) enables the trick. ;)

drpaulng
21st November 2004, 14:07
Originally posted by Kurtnoise13
Besure (http://doom9.org/BeSure.html) enables the trick. ;)

Thank you.
Are you going to add this feature for your GUI program?
DVD dts ripped -(transcode the bit rate/sampling rate)-> CD dts format (or reverse the process).

Kurtnoise
21st November 2004, 17:01
Nope...but I would like (I don't know when exactly) to create a special tool for dts transcoding. :D

hans-jürgen
19th December 2004, 11:39
Originally posted by Kurtnoise13
DTS to AAC :
For information, fb2k_special version provides natively the FAAC support. That's right, foo_faac.dll is the output plugin created by Case. By the way, nice guide! :) I'll add it to the Audiocoding.com Wiki page for DTS (http://www.audiocoding.com/modules/wiki/?page=DTS) today.

In the Output Presets, search FAAC : MP4(LC),quality 100...from the list and click on "Edit" button to modify or change the preset. There you can choose quality/bitrate Mode...

http://kurtnoise.free.fr/UV/format_dts_section_4_transcode_aac.gif
It would be important to mention that foo_faac.dll still uses the old bitrate setting "per channel" for the ABR mode, so 192 kbps for one channel wouldn't make much sense and wouldn't work either, because FAAC still has an internal maximum limit at ~75 kbps per channel when using ABR. That's why I would rather recommend using the VBR mode at a quality of 100% or higher, because DTS is supposed to deliver a higher sound quality than AC-3, so storing a DTS->AAC transcoding on the HDD or on a DVD/CD should try to match that higher sound quality somehow which is not possible at much lower bitrates with the AAC LC profile. But if you have to use smaller file sizes/bitrates with FAAC, you should read this thread (http://forum.doom9.org/showthread.php?s=&threadid=74708) again.

Bruce Willis
31st January 2005, 15:49
Nice prog fb2k!

I try to do a dts -> mp3 conversion, but fb2k is giving this error message:

INFO (foo_clienc) : CLI encoder: LAME.EXE
INFO (foo_clienc) : Destination file: file://F:\Video\Project predator\001 PREDATOR DVD2AVI DTS T02 DELAY -5ms.mp3
INFO (foo_clienc) : Source file: file://F:\Video\Project predator\PREDATOR DVD2AVI DTS T02 DELAY -5ms.dts
INFO (foo_clienc) : 48000Hz 24bps 2ch
ERROR (foo_clienc) : Writing to encoder failed
ERROR (foo_clienc) : Encoding failed
ERROR (foo_diskwriter) : Conversion failed.



Conversion to wav is no problem, but trying to convert wav --> mp3 gives a similar error as above..:(

Kurtnoise
1st February 2005, 00:03
What's Lame version did you use ? And what preset ?

Could you provide a sample from your dts file please...





BTW, it seems that pictures are disappeared...my fault.:o I'll post new ones tomorrow.

daphy
1st February 2005, 07:45
INFO (foo_clienc) : Source file: file://F:\Video\Project predator\PREDATOR DVD2AVI DTS T02 DELAY -5ms.dts
INFO (foo_clienc) : 48000Hz 24bps 2ch
ERROR (foo_clienc) : Writing to encoder failed
general question: does lame support 24bit 48 KHz @ all?
Conversion to wav is no problem, but trying to convert wav --> mp3 gives a similar error as above..
what kind of WAV, float or fixed point, did you created?

Kurtnoise
1st February 2005, 12:00
Originally posted by daphy
general question: does lame support 24bit 48 KHz @ all?
Yes...;)

johnman
1st February 2005, 17:50
How usable/reliable are the mentioned dts decoding methods?
Is it reliable enough for usage without testing everything afterwards??

I dont know where the foobar dtsdecoding sources come from, but i havent found anything better then some "experimental" but usable code for dts decoding.

tgc225
13th February 2005, 20:10
Is there any way to go from DTS -> 6 mono WAV files using Foobar2000?

daphy
14th February 2005, 06:51
nope, only a 6WAVs are supported but you can split this file with besweet (beware: take a closer look to the channel mapping before reencoding f.e. to AC3)

Kurtnoise
14th February 2005, 11:22
Originally posted by johnman
How usable/reliable are the mentioned dts decoding methods?
Is it reliable enough for usage without testing everything afterwards??

Yes, it is.

Originally posted by johnman
I dont know where the foobar dtsdecoding sources come from, but i havent found anything better then some "experimental" but usable code for dts decoding.
the plugin (foo_dts) used into foobar comes from libdca (http://www.videolan.org/libdca.html). It's still in early development...So, you can have some bugs for sure.

DSP8000
15th February 2005, 02:56
Hi :),

Very good guide Kurtnoise13, just a little correction,
for DTS Audio CD's dtswav extension you'll have to rename the wav files to fileaudio.wav.dts and after that you'll be able to use foo_dts and transcode the files.
Also, don't forget to use advanced limiter or soft clipping limiter in the DSP aray because as described before foo_dts is very experimental.

Another way to convert these DTS Audio CD's is if you have Audigy ZS Pro Sound Card.
Burn or mount the cd, play it with Creative Media Source Player, set recording source to "CD Digital" , choose recording format wave stereo, auto sync on, avl on, and you're done.
IMHO this method sounds better than foobar2k ;)

DSP8000

daphy
15th February 2005, 13:46
@DSP8000

can you please add a screenshot :thanks:
(maybe if you´re not allowed to add by the moderator you can use http://www.imageshack.us/ ;) )

THX

DSP8000
15th February 2005, 15:15
@daphy,

screenshot of what?
The foobar2k conversion or Creative.

DSP8000

daphy
16th February 2005, 07:58
of the creative settings :D

THX

DSP8000
16th February 2005, 11:59
No probs, i'll do it just give me some time.
(real life priorities :) )

Is there any other way of converting/downmixing 5.0,5.1 DTS CD (dtswav) to 2ch wav?

I did coulpe of tests with GraphEdit,Hypercube's DTSWAVsorce,InterVideo WinDVD Decoder,WavDest,FileWriter and in my ears there is big difference between foobar2k and this method.
I'm just looking for acceptable if not the best downmixing method so I can convert some of my DTS CD's to Audio or mp3 disks.
I think that aziddts does this I'm just not sure about the command line process.
Also I'd like to compare the final downmix of the three methods.
I think that aziddts uses different library for decoding the dts stream, but I'm not 100% sure.I remember there was some discussion about azid long time ago and as far as I can remember the last bugfixes solved lots of problems.
The foobar2k method works but it doesn't sound as good as the WinDVD downmix.

DSP8000

Kurtnoise
16th February 2005, 16:21
Originally posted by DSP8000
Is there any other way of converting/downmixing 5.0,5.1 DTS CD (dtswav) to 2ch wav?
Maybe with EAC...:)

Originally posted by DSP8000
I think that aziddts uses different library for decoding the dts stream, but I'm not 100% sure.I remember there was some discussion about azid long time ago and as far as I can remember the last bugfixes solved lots of problems.
azidts uses Gabest's DTSSource filter to decode dts files...So, you need to have WinDVD.

DSP8000
17th February 2005, 08:22
EAC ? Don't think so :D

I tested the method with azid and WinDVD but for some reason crashes instantly and there is no log file, so I can't find out what is wrong :( .
I think the step with DTSparser to rebuild the dtswav to fixed .dts is giving me some trouble. When I play the "fixed" dts file, sounds faster than the original, maybe that's the problem.
I use the provided command lines in the aziddts readme with no modifications.
Maybe if I can call Hypercube's DTSWAVsource filter in command line the problem will dissapear, but there is no read me for DTSWAVsource filter.
So, the graph will look like this:
DTSWAVsource-->call to WinDVD Decoder with options for manual/auto 2/6ch-->WAVdest-->FileWriter.

Is this possible in command line?

Also i found out on some other forums that the method with foobar2k is NOT reliable, because it's based on VLC DTSDec and DTSDec cannot decode LFE propperly :eek:

This DTS is evil :angry:

DSP8000

DSP8000
17th February 2005, 12:55
Update:)

Here's what works for me(slow but good results):

1.Rip the DTS Audio CD with EAC (test and copy files uncompressed) and make image of the CD.
2.Mount the image with DaemonTools or Alchohol 120%.
3.Use any audio capture software that gives you option to record from direct sound, waveout ...
4.Set up WinDVD for 2ch output/send LFE to front l/r
5.Start recording with the app of your choice before you start playing the mounted CD.
6.Set up the app of your choice to record 44.1/16 wav file.
7.Let WinDVD play the whole CD.
8.Split the BIG wave file with app of your choice and export as 44.1/16 waves, DO NOT NORMALIZE OR MODIFY THE ORIGINAL RECORDED WAV IN ANY WAY.
9.Finaly burn as red book CD Audio with Burrrn,BAO,Nero....

To my ears this sounds very good with only one downside, takes lots of time.

DSP8000

Kurtnoise
17th February 2005, 14:16
Originally posted by DSP8000
1.Rip the DTS Audio CD with EAC (test and copy files uncompressed) and make image of the CD.
2.Mount the image with DaemonTools or Alchohol 120%.
3.Use any audio capture software that gives you option to record from direct sound, waveout ...
4.Set up WinDVD for 2ch output/send LFE to front l/r
5.Start recording with the app of your choice before you start playing the mounted CD.
6.Set up the app of your choice to record 44.1/16 wav file.
7.Let WinDVD play the whole CD.
8.Split the BIG wave file with app of your choice and export as 44.1/16 waves, DO NOT NORMALIZE OR MODIFY THE ORIGINAL RECORDED WAV IN ANY WAY.
9.Finaly burn as red book CD Audio with Burrrn,BAO,Nero....

Goood...I'll test it asap. Finally, EAC works like a charm, isn't it ? :D

In addition, to your last post : azidts doesn't seems to recognize dtswav files. So, you can't use it to transcode directly.
An another way with directshow filters could be : dtssource --> ac3filter (the last edition which decode the dts files) --> wav dest --> file writer. But I didn't test it...


BTW, I updated my post, on page 1, where you can find the different explanations. (Some pictures were gone.) For DTS to HE-AAC, finally I use the Nero plugin. It works now...but 6 months ago it doesn't. With NAACEnc, we can't have a 6_channels wav input. That's why I prefer the method with foo_nero plugin.

daphy
17th February 2005, 15:09
8.Split the BIG wave file with app of your choice and export as 44.1/16 waves

why?

use EAC in the CUE/WAV mode and mount the cue-file - after finishing your replay-transcoding-methodthe the WAV should have the same length (time/filesize) as the source -> rename your source DTSWAV and give your target WAV this name, mount again the CUE file and you should have the same tracks as the original DTSWAV

(theoretically :rolleyes: )
DO NOT NORMALIZE OR MODIFY THE ORIGINAL RECORDED WAV IN ANY WAY.
:confused: your target is a normal WAV 16/44.1, you can do a overall normalization without any risk, correct me if I´m wrong?!?

DSP8000
17th February 2005, 16:54
@Kurtnoise13,

Let me know what is your opinion on the quality with this method:D

An another way with directshow filters could be : dtssource --> ac3filter (the last edition which decode the dts files) --> wav dest --> file writer

Why use dtssource when DTSWAVsorce exists and recognizes the dts stream perfectly:confused:

Tnx. for the update about Nero:)

your target is a normal WAV 16/44.1, you can do a overall normalization without any risk, correct me if I´m wrong?!?

Normalization will modify the overall quality and shape of the original recording, instead if you have to you can use dynamic compression.I'm not an expert on this but this is what some people that work in the pro-audio industry do and recommend.

use EAC in the CUE/WAV mode and mount the cue-file - after finishing your replay-transcoding-methodthe the WAV should have the same length (time/filesize) as the source -> rename your source DTSWAV and give your target WAV this name, mount again the CUE file and you should have the same tracks as the original DTSWAV

Well, there is no option auto sync like in Creative Media Player, so unles you're very quick with the mouse there is no way that you'll be able to get exactly the same lenght of the recorded file as the source.
Plus I'm sort of fan of gapless playback, so the editing after the recording is a must for me and I don't like leading and trailing blocks.

As for aziddts, it's so obvious that works much better than dtsdec.
The advantage with dtsdec is that recognizes dtswav(partialy).

DSP8000

daphy
17th February 2005, 17:34
Well, there is no option auto sync like in Creative Media Player, so unles you're very quick with the mouse there is no way that you'll be able to get exactly the same lenght of the recorded file as the source.
some recording apps provide a option to watch the channels and start recording when the reach a predefined peak -> I thought WaveLab works this way :rolleyes:
Normalization is the method I would prever because it changes the peak in the same relation over the complete track -> no change in quality
compressing, I don´t think that´s what you should use to reach fine audio quality :(

planet1
23rd March 2005, 00:41
@ Kurtnoise13

there was a bug in the vorbis encoder dll of foobar2000 (wrong channel mapping in 5.1 mode).

This was fixed by Case, could you update your guide please:

http://www.saunalahti.fi/cse/foobar2000.php

(BeSweet btw did it right all the time ...)


furthermore that quality slider should be chosen carefully (not too high) in the case of 5.1 (seems it was rather intended for 2.0)

Kurtnoise
23rd March 2005, 08:12
Ok...thanks to point me out this correction. I'll update my guide asap.


There is also an update concerning foo_dts plugin. ;)

0.1 (2005-03-20): Fixed incorrect handling for files that had no LFE channel, more accurate seeking.

oddball
26th March 2005, 23:12
Bumping this.

I am looking for an easy way to convert DTS DVD to DTS CD Audio. I have had no joy with the BeSure method thus far or BeSweet which both rely on Intervideo which does not seem to be working correctly for me.

I used the foobar2k method to convert DTS to 6 channel wav file. I then used wav2wav6 to split into 6 mono files (Is this the correct method?), then re-encode in SurCode.

I am in the encoding phase to DTS CD Audio right now and will test the mapping against the source.

I was a bit worried about lack of normalisation while transcoding in foobar2k. BTW what does wavdest do?

oddball
27th March 2005, 00:29
Using the foobar2000 method to convert DTS DVD audio to DTS CD audio results in the following. Success! However...there is a caveat.

The mappings are completely wrong either in the foobar2000 DTS decoder when creating a 5.1 wav file or wav2wav6.exe which splits the 5.1 wav file into 6 mono wav files ready for encoding in something like SurCode.

Which I do not know. However the resulting files are named accordingly with the CORRECT mappings to the right.

front_left.wav -> front_left.wav
front_right.wav -> center.wav
left_surround.wav -> surround_right.wav
right_surround.wav -> subwoofer.wav
center.wav -> front_right.wav
subwoofer.wav -> surround_left.wav

I hope someone finds this useful. :)

magicclue
27th March 2005, 00:55
Channel mappings are wrong with windvd filter, see:
http://forum.doom9.org/showthread.php?threadid=70805

oddball
27th March 2005, 00:59
I was using foo_dts not WinDVD's decoder :)

magicclue
27th March 2005, 01:24
yes you were.

->wav2wav6

uses windvd filter to do 6 wavs out of one multichannel wav

oddball
27th March 2005, 03:56
Oh well there ya go. Learn something new every day :)

Rockaria
29th March 2005, 07:45
Originally posted by Kurtnoise13

There is also an update concerning foo_dts plugin. ;)
0.1 (2005-03-20): Fixed incorrect handling for files that had no LFE channel, more accurate seeking.
A newbee to the fanastic forum.:D

Is there any fix on the distortion(or skipping) on some dtswav audio?
I found we still have to rename the extention to dts to play.

For upper reasons I am using VLC to decode dts stream to intermediate 32bit float 6ch wav.

Upsampling, normalizing through replaygaining(am I right?) and transcoding with foobar seem to be perfect thanks for the guide.

Foobar wav output also works fine with softencode unless bigger than around 3GB.

Keep on good jobs for these novices...:)

Kurtnoise
29th March 2005, 08:56
Originally posted by Rockaria
Is there any fix on the distortion(or skipping) on some dtswav audio?

If you are some problems with dtswav files, try to transcode them into wav. And then you can fix them for sure.

Rockaria
29th March 2005, 09:18
Yes, I tried with foobar on both playing and transcoding of some of my problematic DTS CDs(it even did not work with besplit correctly : half the normal size).

The results had some problems.
. some tic sounds in the middle of the playing
. some distorted sound and skipping(maybe the seeking problem?)
. but no SUB problem to me(not sure if sub channel included in the original source)

I hope the seeking correction took care of this.

gfpk2
4th April 2005, 12:57
Hi, great thread!

I have some questions,

- In Foobar, the vorbis encoder seems to be an old one, isn't it? "vorbis_vendor = Xiph.Org libVorbis I 20040629" how could we upgrade it?
- I'm now reading an Audio FAQ, where "The 2.0 stream has a better mix for 2 channels than the 5.1 to 2.0 downmix features offered by AC3 decoding tools" I'm riping a Live DVD ( dvd decrypter streaming mode ) with 3 audios, AC3 2 ch 448, AC3 6 ch 448, and DTS 6 ch 768; I want to transcode it to a Vorbis or MPC 2 ch bitrate about 180-200 with foobar, it seems more easy than other tools like besweet and similars. Which stream should I decode? DTS I think but... could be possible that AC3 2.0 is more optimized for this?
- With Vorbis or Mpc, not lame, Would be better downgrade the audio to 44.1 khz or keep the original 48 khz?

Thanks for all and sorry about my english and for this amount of ( probably ) dumb questions. Any other suggestion will be be apreciated, perhaps i must consider the option of transcode it to Vorbis 5.1 channel from AC3 or DTS ch. streams, but i never did it before.


Thanks!

magicclue
4th April 2005, 18:30
Originally posted by gfpk2
[B]Hi, great thread!

:thanks: and welcome to the forum.


- In Foobar, the vorbis encoder seems to be an old one, isn't it? "vorbis_vendor = Xiph.Org libVorbis I 20040629" how could we upgrade it?
Yes you can. Just use an ogg vorbis CLI encoder instead!
e.g. from rarewares.org (http://www.rarewares.org)
In the diskwriter tab coose "output presets" select "Commandline Encoder Vorbis -qx" whatever quality. Click on "edit" and put in the path to your updated ogg encoder (oggenc.exe or oggenc2.exe). change the -q settings to whatever meets your needs ;)


.. Live DVD ..with 3 audios, AC3 2 ch 448, AC3 6 ch 448, and DTS 6 ch 768; I want to transcode it to a Vorbis or MPC 2 ch...
Would be better downgrade the audio to 44.1 khz or keep the original 48 khz?

If you want to encode to 2 channels I would grab the 2ch AC3 to transcode as it is professionally downmixed with clear "vocal sound". If you do the downmix it may be that the "surround sound" is too dominant.


..perhaps ... transcode it to Vorbis 5.1 channel from AC3 or DTS...

I would suggest AAC 5.1 as it is more stable.

gfpk2
6th April 2005, 13:01
welcome to the forum

Thanks:p

In the diskwriter tab coose "output presets" select "Commandline Encoder Vorbis -qx" whatever quality. Click on "edit" and put in the path to your updated ogg encoder (oggenc.exe or oggenc2.exe). change the -q settings to whatever meets your needs

Done, Great! aoTuVb RuLeZ :thanks:

I would suggest AAC 5.1 as it is more stable.

Yes, it could be the best option, some questions about that:

- Could you suggest me a configuration in diskwriter fot AAC? I never work with it before. High Quality VBR

http://kurtnoise.free.fr/misc/fb2k_dts_to_aac.gif

- I´m reading at Roberto's the listening test of the diferent AACs. What is the FB default one? Perhaps I must change it...
- I think for this option that encoding from DTS is better than enconding from AC3, doesn't be?


Thanks magicclue

Kurtnoise
6th April 2005, 14:31
Originally posted by gfpk2
- Could you suggest me a configuration in diskwriter fot AAC? I never work with it before. High Quality VBR[/b]
Here is a good post (http://forum.doom9.org/showthread.php?s=&threadid=74708) to start FAAC 5.1 configuration with fb2k.

Originally posted by gfpk2
- I´m reading at Roberto's the listening test of the diferent AACs. What is the FB default one? Perhaps I must change it...
The picture show you the default values, optimized for stereo output. If you want to keep the multichannel order, then read my first sentence above. :)

Originally posted by gfpk2
- I think for this option that encoding from DTS is better than enconding from AC3, doesn't be?
No...

Sherlock_2
8th April 2005, 20:50
I don't know why DTS decoding is very hard

There is a long time that I am looking for a simple way to decode a DTS to 6 real 32 bit WAV , in mono 48KHz

But the only chance was Hypercube Transcoder

But it can make 16bit wav files.

Isn't there any way yet ?

Krismen
8th April 2005, 22:52
Maybe ffdshow?

http://forum.doom9.org/showthread.php?s=&threadid=86876

oddball
11th April 2005, 01:01
How do I get fb2k to use ffdshows libdts for decoding instead of WinDVD etc?

magicclue
11th April 2005, 13:49
Foobar2000 uses its own decoder!
So no ffdshow or windvd helps!

What you need to do is to set up a graph with graphedit or use a directshow player when ffdshow's decoder is default!

My guides in german, maybe google's translator service or babelfish helps:


Webhop:
http://dtsguide.de.vu

genuine url:
http://www.schudy.de/dts

oddball
13th April 2005, 17:43
I was told fb2k uses windvd's filter to decode then the fb2k dts plugin translates that to wav output. Problem is the channel mapping is all wrong just like windvd's filter is incorrect. That's why I asked to use ffdshow's DTS decoder in fb2k instead.

planet1
13th April 2005, 17:53
@ oddball


afaik foobar2000 doesnt use any dshow components at all :cool:

the foobar2000 dts plugin (by Case) is based on libdca a.k.a libdts

http://www.videolan.org/libdca.html

Rockaria
13th April 2005, 20:41
Originally posted by oddball
...the channel mapping is all wrong just like windvd's filter I believe all the players(decoders) correctly recognize the channels.
Only some splitters and encoders messup the channel orders.

]Originally posted by Sherlock_2
I don't know why DTS decoding is very hard...
This thread has been talking about dts decoding(playing) using foobar2k(& vlc)!:p

neo_anderson
22nd April 2005, 09:59
is there any way to normalize dts audio in foobar, when it is being or it si to be converted to aac 2 channels?

magicclue
22nd April 2005, 13:11
for all questions concerning foobar2000 please move to the foobar2000 support forum @ hydrogenaudio.org
Foobar2000 Forums (http://forums.foobar2000.org/)

Foobar2000 has a DSP panel. So just put in the filters you need.
Maybe read some manual or FAQ to understand how it's working.

MacAddict
6th November 2005, 13:01
Anyone have the foo_nero working with the foobar 0.9 beta versions??

Kurtnoise
6th November 2005, 15:03
this plugin is not available for 0.9 beta version as far I know...

sigma_sigma
13th February 2006, 00:38
# DTS to Vorbis :

For information, fb2k provides natively a vorbis_enc plugin.
I'm trying to transcode a dts file with foobar2k in ogg 5.1. There is no option in disk writer on output presets about ogg. I have only wav, wav32 and FAAC (cause i'm using foo_faac.dll) So looks like I have to use a oggvorbis.dll or smth pluggin for make the transcodding. Where I can find it or what can I do for?
Thanks in advance!

Kurtnoise
13th February 2006, 19:01
Which fb2k version did you have ?

dimzon
13th February 2006, 19:07
beHappy/MeGui can transcode DTS using NicDtsSource AviSynth plugin :)

sigma_sigma
13th February 2006, 19:25
my apology, I found the plugin foo_vorbisenc.dll to the official foobar2k web page. I use v0.8.3 special. I made many tests with aac, He aac, ogg (all of them 5.1) . I'm trying to transcode a dts file into anotherone format 5.1(with foobar2k). The resulting file, any would be..I want to keeps the original 5.1 channels in the same order and to have a quality almost the same like the original dts original file. Which is the wright choice?
Unfortunately I don't have a 5.1 sound card, so I listen to my headphones :D. I prepare the files as if I'd be deaf....for be listened on another computer with a good soundcard 5.1 and 5.1 speakers
At the headphones, in my opinion (my sound card is very bad, ac97 onboard....)dts is maximum quality, then ogg, and the last place is aac and HE aac. I don't figure any difference between aac and HE aac...maybe I'm wrong...anyway I saw in your tutorial (very good tutorial) the way how to convert a dts into aac, he-aac, ogg. Which one do you recomend?
Thanks!

Kurtnoise
13th February 2006, 20:32
@sigma : try he-aac around 128 kbps....

@dimzon: try to avoid to hijack this thread with your tool, this is not the subject here. thanks.

dimzon
14th February 2006, 12:28
@dimzon: try to avoid to hijack this thread with your tool, this is not the subject here. thanks.
I'm not hijacking!
thread name is 'a new free way to transcode dts files'
BeHappy / MeGUI is FREE and really NEW
So rename it to "transcoding dts file via foobar2000" if You want to avoid such posts

Rockaria
14th February 2006, 13:29
I don't figure any difference between aac and HE aac...
A very impressive thread to me. I started this forum posting here around 11 month ago...

Foobar2k 0.83 supports another way of nero AAC encoding, which iirc, supports forced VBR HE quality grade.
(You can use it in cli mode with foobar 2k. I can confirm it supports the forced quality grade for VBR HE in this mode)
http://www.saunalahti.fi/~cse/files/naac.zip requires two nero files as mentioned in the 1st post , together in the program folder.

Also an useful remind is that Nero released a new v6.6.1.4 of V6(independant to V7) to update if you have V6 installed.
The required DLLs in the package does not seem to require the mfc71.dll (unlike v7 shrinked, messup-channel(aac.dll) dlls).

The streaming quality VBR HE was OK to me (most economic with decent quality) @ around 64k(stereo) * 2.5(5.1ch multiplier) = 160k.
The actual sampling rate varies around 100~220k depending on the stream complexity, which is why vbr is most efficient.

But if you want the 'transcoding quality', I suggest VBR LC 'transcoding quality', around the half the size of the DTS.

Most of this information is already in the Audio-FAQ sticky thread.
[edit] forced sampling rate-> forced quality grade

Kayaker
20th April 2006, 16:02
There is not foo_dts plugin working with 0.9 right ?

All this should be done with 0.8.3 right ?

Kurtnoise
25th April 2006, 09:13
There is not foo_dts plugin working with 0.9 right ?
Right...

All this should be done with 0.8.3 right ?
There is an ac3 plugin (http://kode54.foobar2000.org/) for v0.9 but no dts plugin yet. So, yes all things described earlier should be done with 0.8.3.

sigma_sigma
8th May 2006, 13:38
I would like to use the new He AAC encoder from nero to encode with foobar 2000 my .dts files in 5.1 mp4...this exists in command line version (neroAacEnc.exe, build date 1 may 2006).but i haven't succeed to encode....
The old version is foo_nero.dll, I'm looking for the new version in same .dll format, or some advice for how can I encode a dts file into mp4 file(5.1) using this new version.
Thanks in advance.

P.S. I'm using foobar 2000 v0.8.3 but i can change it to v0.9 if need.......

Kurtnoise
8th May 2006, 15:32
There is no dts plugin for v 0.9.xx yet. So, to transcode dts to m4a with this encoder, you need the v 0.8.3.

1. check out foo_dts and the special version. Then go to Foobar2000 --> Preferences --> Diskwriter and click on "Add New" in Output presets.

2. Choose "Command Line Encoder" from the drop down list and valid by ok.

3. Use these settings :

http://kurtnoise.free.fr/fb2k_dts2m4a.gif

4. Click again on Ok and Save All. At last, a right click on the playlist and then Convert --> Run Conversion. This should work.

sigma_sigma
8th May 2006, 21:03
ok, I'm using foobar 2000 v 0.8.3.
I did exactly what u told me with exact same parameters:
result:

INFO (CORE) : startup time: 260 ms
INFO (foo_clienc) : CLI encoder: S:\Audio\neroAacEnc_sse2.exe
INFO (foo_clienc) : Destination file: file://C:\001 d.m4a
INFO (foo_clienc) : Source file: file://C:\d.dts
INFO (foo_clienc) : 44100Hz 32bps 6ch
ERROR (foo_clienc) : Writing to encoder failed
ERROR (foo_clienc) : Encoding failed
ERROR (foo_diskwriter) : Conversion failed.

The same .dts file I encode succesfully ogg 5.1 (foo_vorbisenc.dll) or HEAAC (foo_nero.dll) without problems.

shon3i
8th May 2006, 23:13
Try to use neroAacEnc.exe instead neroAacEnc_sse2.exe and try with this parameters for example

-br 112000 -if - -of %d

sigma_sigma
9th May 2006, 08:22
Ok is working fine with neroAacEnc.exe instead neroAacEnc_sse2.exe. Thank you!

Kurtnoise
25th May 2006, 16:41
There is now a dts plugin for 0.9.xx version (http://www.hydrogenaudio.org/forums/index.php?showtopic=44963&hl=).

Kayaker
26th May 2006, 12:15
OK. Kurtnoise.

Thanks for let us know !

Jorgosch
7th June 2006, 19:34
Did anybody manage to grab the latest version of foo_dts before they took it offline and would be willing to send it to me by email? I only managed to locate the version that would always play the first song in a cue-file :P

Thanks!

Kayaker
7th June 2006, 20:12
I've got it.

GodofaGap
7th June 2006, 20:55
http://www.saunalahti.fi/cse/foobar2000/?C=M;O=D

(for foobar 0.8.3)

Jorgosch
8th June 2006, 06:50
Sorry, I need the lastest foo_dts for foobar 9.x, I know that the one for 8.x is available from websites. Thanks, though.

MacAddict
8th June 2006, 10:06
I got it, both the SSE and SSE2. Anyone willing to host it?

daphy
8th June 2006, 13:17
sure - upload via needfulthings (http://www.needfulthings.webhop.org) :)

MacAddict
8th June 2006, 13:53
Thanks :-) Do I need a login? My upload fails for some reason.

daphy
8th June 2006, 16:00
strange :sly:
try this link (http://www.needfulthings.webhop.org/upload/) and press the animated arrow button - should work :rolleyes:

AMED
12th June 2006, 05:55
strange :sly:
try this link (http://www.needfulthings.webhop.org/upload/) and press the animated arrow button - should work :rolleyes:

I'm having the same problem as MacAddict, every time i try to upload the foobar2000 v9.0 DTS plugin it fails.I've tried with Firefox and IE.

daphy
12th June 2006, 08:48
uploaded :p

THX AMED

sigma_sigma
18th March 2007, 23:35
I'm using old foobar 2000 v.0.8.3 and I want to make a rip from a normal cd audio to hard drive using nero digital audio. I've already found last version (12 feb 2007). With command line encoder everything is fine, but I didn't find yet somewhere some settings...
I use to rip a cd audio Kurtnoise13's settings :|

-ignorelenght -q 0.55 -if - -of %d
ND VBR q=0.5

I would like to know how to change parameters to get different results: " Nero Digital Audio Reference Quality MPEG-4 & 3GPP Audio Codec

* Compression Ratios ranging from ultra high (58 CDs fit on one!) to High-End Audio (2.5:1), for absolutely perfect audiophile encodings ".......so with another words, where to cheange and what????
I'll appreciate a link or something with some tutorial.
Thanks in advance!

I've found here (http://www.nero.com/nerodigital/eng/ND_Audio_Tutorials.html) tutorials Thanks!

magicclue
19th March 2007, 11:02
See:
http://dtsguide.de.vu

0.9 plugin not working?
I still use Foobar 0.8.3 so I don't know.

jolson
20th March 2007, 11:09
uploaded :p

THX AMED
Tried to search for "dts" at needfulthings, found some things but not foo_dts. Made a direct search for foo_dts - got a "crash" of the site, an otherwise blank page with the text "Fatal ::"...

tebasuna51
20th March 2007, 12:38
Tried to search for "dts" at needfulthings, found some things but not foo_dts. Made a direct search for foo_dts - got a "crash" of the site, an otherwise blank page with the text "Fatal ::"...
needfulthings web seems out.
You can try this foo_input_dts (http://www.saunalahti.fi/~cse/foobar2000/foo_input_dts.zip) for Foobar2000 v0.9