Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Help me get dts to work in foobar (Read 14320 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Help me get dts to work in foobar

I've been banging my head wide open trying to get DTS to play somehow on my new computer for the last 3 days.
Here is my hardware:
ASUS Rampage II Extreme (uses SB X-Fi Soundcard, SoundMAX drivers)
Creative Z5500 Speakers

Now the problem I'm having is to pass through the DTS track stored in a WAV. The file in question is a 5.1 DTS track, 44.1kHz
I've tried WASAPI (I have no idea how to set it up though, tried changing output to WASAPI SPDIF Interface) but all I get is static on my Z5500 (which says Optical, Stereo). Foobar detects my DTS WAV as a stereo PCM as well.
Also tried ASIO but it gives my static as well, though I am not sure if my settings are correct for it.

I've also tried playing DTS WAV in MPC-HC but I couldn't get it to work either. First it was only using Wave Parser and I got only static. I changed a setting in ffdshow audio decoder, in codecs I changed Uncompressed to All Supported and enabled DTS Passthrough. But now even though Z5500 say its DTS, there is no sound coming out, just silence.

Where am I going wrong? Why won't things work? I've played a few mkv files containing DTS files in MPC-HC using pass through just fine. But when it comes to DTS WAVs all hell breaks loose...

Help me get dts to work in foobar

Reply #1
place DTS decoder in DSP chain, then play your file

[edit] additional passthrough


Help me get dts to work in foobar

Reply #2
Also tried ASIO but it gives my static as well, though I am not sure if my settings are correct for it.


ASIO is a good choice. But your sound card must nativeley(!) provide the specific sample rate, 44,1 in your case. When it only supports 96 or 48 resampling happens and  you get static. I use an EMU 404 which works fine for my DTS files.

Help me get dts to work in foobar

Reply #3
I downloaded SPDIF Test (http://ac3filter.net/files/download/spdif_test.exe) and it says support for 44.1kHz.
Anyway, my soundcard is pretty new so I'd think it would support the pass through. I'm not sure if the Z5500 support 44.1kHz though (but they probably should? Need to confirm it).

As I said, foo_input_dts works as it decodes the dts and outputs to 6 channels, which works when I set my speakers in "Direct mode" using analog connections.
I however wanted it to NOT decode the dts and send it to the Z5500 via optical to decode. However, all the methods I tried give me static?

Help me get dts to work in foobar

Reply #4
AFAIK you need only foo_spdif and of course removing foo_input_dts from DSP chain, thou I've never used S/PDIF with foobar myself

[edit] try this: http://www.ga.cba.pl/

Help me get dts to work in foobar

Reply #5
For some reason I can't open that page

Another question, why can't WASAPI pass through properly so my Z5500 can decode the stream? It passes through normal mp3s alright, ie, using WASAPI SPDIF I can play mp3 properly.

@2E7AH: Thats the link I tried, does not open.

Help me get dts to work in foobar

Reply #6
Now I renamed the wav file containing the dts stream to .dtswav, and foobar detects it as a dts 6 channel stream (as opposed to PCM 2 channel stream before) but wasapi is unable to pass through and gives this error:
"Unrecoverable playback error: Unsupported stream format: 44100 Hz / 24-bit / 6 channels"

Help me get dts to work in foobar

Reply #7
Only rename to .DTSWAV if you are going to decode it. You must name it .DTS or .WAV if you want to pass it through S/PDIF.

Help me get dts to work in foobar

Reply #8
Thats not working...whats going wrong?

Bump? Any other thing I could try out, any inputs?


Help me get dts to work in foobar

Reply #10
What more details do I give? No error message is displayed as such, only static is played back using WASAPI. And there's one more problem using the foo_input_dts DSP, if I seek a DTS WAV file it starts giving static as well. All I want to do is pass through the DTS 44.1kHz track to my Z5500, like I can do with my mkv movies.
BTW shakey_snake, is that you from Neowin?

Help me get dts to work in foobar

Reply #11
What more details do I give? No error message is displayed as such, only static is played back using WASAPI. And there's one more problem using the foo_input_dts DSP, if I seek a DTS WAV file it starts giving static as well. All I want to do is pass through the DTS 44.1kHz track to my Z5500, like I can do with my mkv movies.
BTW shakey_snake, is that you from Neowin?


I just posted about my DTS issues, it might depend on what version of foobar2000 you are using. If foobar is outputting at 6 channels and z-5500 is reading as PCM and the file is a .wav that was renamed as DTSWAV or a .dts file then try adding the input_dts.dll from v.0.9.5.5 the 1.7 version of the decoder (I think) from the Hotel California foobar download...at least this is the one I used. I just posted today and just now found the fix for me - I don't know about SPDIF or WASAPI since I don't use them or ASIO either, but perhaps this helps.


Help me get dts to work in foobar

Reply #13
What more details do I give? No error message is displayed as such, only static is played back using WASAPI. And there's one more problem using the foo_input_dts DSP, if I seek a DTS WAV file it starts giving static as well. All I want to do is pass through the DTS 44.1kHz track to my Z5500, like I can do with my mkv movies.
BTW shakey_snake, is that you from Neowin?



Then don't use WASAPI (it doesn't work for dts passrthrough for me, either).  Use Directsound or WavOut.  I use DirectSound and it works fine for DTS passhrough to my AVR from f2k.

Don't use foo_input_DTS either, that's for decoding (and possibly tagging, though I haven't gotten that to work yet).  Remove it and use foo_spdif.    Your DTS files should have the suffix .dts

(I find I also have to set output to Null in order to use the seekbar and get playback of more than one track )



Help me get dts to work in foobar

Reply #16
0.8.3 was the last version of foobar2000 to include a WaveOut output.

Help me get dts to work in foobar

Reply #17
0.8.3 was the last version of foobar2000 to include a WaveOut output.




When foo_spdif.dll is loaded, there's a new page Preferences-->Playback-->SPDIF offering "Use WaveOut' and 'Use DirectSound' as SPDIF output options.


I'm using f2k 0.9.6.9

Help me get dts to work in foobar

Reply #18
Its a late late reply:
Removed foo_input_DTS, WASAPI module. Installed foo_spdif v1.3, tried both directsound and waveout, but I get this:
Unrecoverable playback error: Unknown error code (0x8889000A)

Help me get dts to work in foobar

Reply #19
Personally, I also find it a mystery why DTS support in foobar is so half-hearted. Granted, there is the exceptional feature for tagging which sets it apart, but when it comes to pass-through, everything gets hazy. Everybody who has looked into DTS a bit more in-depth knows that hardware decoding just sounds so much better than software decoding.

XBMC for example has no problem with alternating between WASAPI and DTS pass-through. Come on devs, give us tagging AND pass-through capabilities, please!

Help me get dts to work in foobar

Reply #20
Yeah, in fact, DTS files play fine using WMP with FFDshow audio set to pass through DTS. It shows up as DTS digital in my Z5500 control pod and gives the full 5.1 sound.
Guess I'll have to use WMP for surround tracks. Optical, for reasons unknown, just sounds better on my Z5500 (clearer/louder).

Help me get dts to work in foobar

Reply #21
Yeah, in fact, DTS files play fine using WMP with FFDshow audio set to pass through DTS. It shows up as DTS digital in my Z5500 control pod and gives the full 5.1 sound.
Guess I'll have to use WMP for surround tracks. Optical, for reasons unknown, just sounds better on my Z5500 (clearer/louder).


Well, I didn't ahve the problems you had with getting multichannel .ac3 or .dts to bitsream with foobar...I was eventually able to get it to work.  I stream too an AVR via the optical output of my laptop.

But I got maximum flexibility by converting my .dts or .ac3 files to .wav (.dtswav or .ac3wav).  These can be losslessly compressed and tagged. I use Audiomuxer for this, but it itself is just a wrapper for other tools (I think the actual tool is spdifer). 

To make them play in f2K, I had to make sure of the following f2k settings:

1) volume is maxed
2) WASAPI, not DirectSound, output is selected
3) playback buffer is set on the low side (now at 870 ms)