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: Playing DTS audio in Potplayer etc (Read 22409 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Playing DTS audio in Potplayer etc

I've got quite a mix of audio and video files on my HTPC that are a mix of DD(AC3), DTS, and multi-channel AAC in the audio track.

I have everything, that are contained in video files (be it AC3, DTS, and multi-channel AAC) working perfectly using Potplayer + ffdshow.

It's the DTS audio files that I can't get working using Potplayer (bitstreaming using foobar2k/uLilith over WASAPI exclusive works fine for those files except one : test.dts)

I have ffdshow configured such that multichannel AAC is encoded to AC3 before being sent to my receiver (by enabling AAC decoding through libfaad2 and checking the "AC3 (S/PDIF encode mode)" checkbox under "Supported output sample formats".).

My Spherex receiver has two SPDIF inputs and can play DTS, AC3 and stereo PCM. Supports sampling rates till 48Khz. HTPC only has single TOSLINK.

So my questions are:

1. How do I get these audio files processed by ffdshow so that they get re-encoded to AC3? I have put some sample audio files that I can't play, below (to reiterate bitstreaming using foobar2k/uLilith over WASAPI exclusive works fine for those files except one : test.dts)

2. I would also like to realtime encode multichannel FLAC to AC3

3. I would also like to realtime encode multichannel FLAC to DTS: is there a DTS plugin I could use to do that (just like re-encoding to AC3 from ffdshow)

Potplayer is just a player I found easy to work with - if there is something that can make this work, I am all for it!

Note: If the source is 2 channel, it should CONTINUE to be so and not converted to AC3 or DTS

test.dts: http://pessoal.onda.com.br/rjamorim/stuff/test.dts.zip

Sample multichannel FLAC: http://www.diatonis.com/downloads/diatonis...6-chan_9624.zip

Sample multichannel DTS audio files that I can't get working:

    http://www.diatonis.com/downloads/diatonis...et-universe.zip
    http://www.diatonis.com/downloads/diatonis...wav_io_afos.zip

    MediaInfo says these files have property:

       Audio
       ID                                      : 0
       Format                                  : DTS
       Format/Info                              : Digital Theater Systems
       Mode                                    : 14
       Format settings, Endianness              : Little
       Codec ID                                : 1
       Bit rate mode                            : Constant
       Bit rate                                : 1 411.2 Kbps
       Channel(s)                              : 6 channels
       Channel positions                        : Front: L C R, Side: L R, LFE
       Sampling rate                            : 44.1 KHz
       Bit depth                                : 24 bits
       Compression mode                        : Lossy

    Potplayer filter info:

       [Used Filter List]
       (1) File Source (Async.)
       (2) Wave Parser
       (3) DirectSound Audio Renderer

       [Audio Information]
       Audio Codec:0x0000
       Sample rate:44100 ->44100 samples / sec
       Bit rate:16 ->16 bits / sample
       Channels:2 ->2 channels
       Bitrate: 1411 kbps

I am having similar issues playing rips of Titanic DTS

    MediaInfo says these files have property:

       Audio
       ID                                      : 0
       Format                                  : PCM
       Format settings, Endianness              : Little
       Codec ID                                : 1
       Duration                                : 3mn 3s
       Bit rate mode                            : Constant
       Bit rate                                : 1 411.2 Kbps
       Channel(s)                              : 2 channels
       Sampling rate                            : 44.1 KHz
       Bit depth                                : 16 bits

    Potplayer filter info:

          [Used Filter List]
          (1) File Source (Async.)
          (2) Wave Parser
          (3) DirectSound Audio Renderer

          [Audio Information]
          Audio Codec:0x0000
          Sample rate:44100 ->44100 samples / sec
          Bit rate:16 ->16 bits / sample
          Channels:2 ->2 channels
          Bitrate: 1411 kbps

Playing DTS audio in Potplayer etc

Reply #1
You will need AC3Filter and Reclock setup with PotPlayer, so DTS to work properly.

AC3Filter - for decoding and passthrough the DTS content untouched to Reclock.
Reclock - for WASAPI bit exact output to the receiver.

This setup works for me, maybe it isn't the only one way to get DTS audio from PC, but I use it
If you need the exact settings for that, I can post them later in this topic, when I make screenshots and have free time.

Also AC3Filter can encode almost any 5.1 audio source to AC3 format and passthru it to SPDIF. Not a perfect solution, but still