• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Why is my AMD SPDIF/HDMI not bitstreaming .DTS Audio Files?

Joined
Mar 18, 2010
Messages
292 (0.06/day)
Hi, I'm trying to figure out why I cannot seem to get bitstream to work for DTS, only Dolby Digital over my LG BG6720S 3D BluRay Home Theater Receiver.

Thanks

AMD Radeon RX Vega 56/64 : HDMI to Hisense 43A6H 4K Google TV : LG BH6720S to Hisense 43A6H over Optical... LG BH6720S Digital Output set to Bitstream & TV set to PassThru.

Dolby Digital bitstream works but DTS doesn't for .DTS audio sound files, but movies with DTS audio work on MPC BE.
 

Attachments

  • LG BH6720S 3D BluRay Home Theater Receiver - Copy.jpg
    LG BH6720S 3D BluRay Home Theater Receiver - Copy.jpg
    38.5 KB · Views: 37
  • Dolby Digital 5.1.jpg
    Dolby Digital 5.1.jpg
    1.8 MB · Views: 38
  • DTS 5.1.jpg
    DTS 5.1.jpg
    1.7 MB · Views: 38
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)
From what I can see from the Hisense 43A6H specs, it does support Dolby, but does not support DTS (formats).
Not sure how you have setup MPC BE it might be using exclusive, event driven.

Is this correct? | AMD > HDMI > TV > Optical > Blu-ray

If you had onboard audio with optical out, you could test bypassing the TV, and see if its that.

----

Also note the only EDID (HDMI) the GPU can read is the TV not the Blu-ray, in terms of formats.
 
Last edited:
Joined
Mar 18, 2010
Messages
292 (0.06/day)
@Ferather Thanks, it supports all formats pretty much except it only supports I think 48khz 24bit 640kbps dolby digital & 1536kbps dts, the TV does.

I get DTS passthrough on movies, just not my .DTS music files I converted. They usually come out 32bit for some reason... why 32bit?

AUDIO PASSTHROUGH:​

ARC/eARC Port :eARC
eARC: Dolby Atmos Over Dolby Digital Plus :Yes
eARC: Dolby Digital Plus 7.1 :Yes
eARC: LPCM 7.1 Over Dolby MAT:Yes
eARC: Dolby TrueHD 7.1 :Yes
eARC: DTS:X Over DTS-HD Master Audio:Yes
eARC: DTS-HD Master Audio 7.1:Yes
eARC: LPCM Channels (Bitstream) :2.0
ARC: Dolby Digital 5.1Yes
ARC: DTS 5.1Yes
Optical: Dolby Digital 5.1:Yes
Optical: DTS 5.1 :Yes
 
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)
What formats show when you open the TV in the Windows sound panel, can you post a screenshot?
 
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)
Strange, when I Googled the model you said I did not find much for formats within specs sheets.
If you set 1536 when you made them try 1509, which is the true maximum.

1536 is the stream size for 2 x 48K 16B, not the DTS format.
 
Joined
Mar 18, 2010
Messages
292 (0.06/day)
So here's the original source flac stereo file specs.
Audio: FLAC 44100Hz 2.0 chn 1411 kbit/s [Flac Audio Output (FLAC, 44.1 kHz, 2.0 chn, 16 bit, 1411 kbit/s)]
Here's the 5.1 FLAC specs.
Audio: FLAC 44100Hz 5.1 chn 4233 kbit/s [Flac Audio Output (FLAC, 44.1 kHz, 5.1 chn, 16 bit, 4233 kbit/s)]
Here's the 5.1 DTS specs.
Audio: DTS 44100Hz 5.1 chn 1537 kbit/s [Output (DTS, 44.1 kHz, 5.1 chn, 1537 kbit/s)]

I set it to 1536kbps, but the output is a little higher. Is that a problem?

General
Complete name : D:\Music\AC3 Dolby Digital & DTS Digital Theater Systems Audio\POWERS - Just Kids\DTS Audio\POWERS_Just_Kids_5.1.dts
Format : DTS
Format/Info : Digital Theater Systems
File size : 49.4 MiB
Duration : 4 min 29 s
Overall bit rate mode : Constant
Overall bit rate : 1 538 kb/s

Audio
Format : DTS
Format/Info : Digital Theater Systems
Duration : 4 min 29 s
Bit rate mode : Constant
Bit rate : 1 538 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 44.1 kHz
Frame rate : 86.133 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 49.4 MiB (100%)

Check this out, the Output isn't DTS, it's 32bit float & the decoder isn't even active on MPC BE. Why not?

MPC BE Audio Formats.jpg
 
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)
Yes, I have tried 1536kbps myself in the past and ended up with just noise. I Googled around and found both 1509kbps and 1536kbps posts (conflicting results).
DTS 1536kbps Google results are less common, some results where about issues (same as me, noise-other). DTS 1509kbps | DTS 1536kbps.

Below is a screenshot of a Blu-ray sourced file, with both DTS:X and DTS track, and stream size (probably 1509 + metadata).

----
 

Attachments

  • DTS Format.png
    DTS Format.png
    17.9 KB · Views: 16
  • Bitstream Size.png
    Bitstream Size.png
    10.5 KB · Views: 15
Joined
Mar 18, 2010
Messages
292 (0.06/day)
Can you convert this file to DTS 5.1 16bit 44.1khz for me & test it to make sure it works & the decoder activates?

Why isn't my decoder for DTS, activating?

 
Joined
Mar 18, 2010
Messages
292 (0.06/day)
By the way I cannot download your file you sent, because everytime I do, it's an .html file and not the .dts audio file.

Thanks man. So I got it to work on my end, maybe my SPDIF cable is damaged or something? I got a mute bitstream @ 1411.2kbps, but at 1024kbps, I got sound.

I'm just trying to reproduce the highest possible quality of the source in 5.1 DTS basically, since the source is a FLAC Stereo 1411kbps track.

Downloading your file now.
 
Last edited:
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)
If you had an encoder on SPDIF, in my case DTS encoder, you would just store the FLAC files as they are, and simply play those (will convert to DTS on the fly).
Alternatively certain media players can also do similar, by setting up conversion to DTS then passthrough, FLAC storage.

If you cant do 1411.2 its either the software-codec or as you said possible cable issue (although not sure how you can play DTS movies).

----

FLAC to DTS (Online & Free) — Convertio (Seems .dts might flag so try it your self).
 
Last edited:
Joined
Mar 18, 2010
Messages
292 (0.06/day)
Yeah I know it's weird I can watch movies at 1500kbps+ DTS, but only 1344kbps is the max for DTS music file. I heard a slight distortion, but maybe it's just the LFE bass reverberating off the tile floor.
 
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)
Potplayer can be set to transcode DTS-HD HRA on the fly. So you open a FLAC file, which it converts to DTS-HD HRA (+ Core) then passthrough.
 
Joined
Mar 18, 2010
Messages
292 (0.06/day)
Thanks. My receiver will do DTS-Reencode but I like to listen to my original Dolby Digital 640kbps tracks & listen to DTS separately, not have everything in one format.

@Ferather Hi, I keep getting speaker distortion with DTS even after applying a clip fix, according to the what do u call the frequency graph in audacity (histogram)? There is no clipping, it's far from clipping & still there is distortion. Are you good at remastering audio? Maybe you can listen to it for me. Thanks

Is DRC being enabled, the cause?
 
Last edited:
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)
DTS APO4 masters all my audio, on the fly. Is Audacity set to 16 bits? If Audacity is set to 24-32 bits then it can represent audio at a higher volume that what you are doing (16 B).
For example 96 dB with 16 bit would hit the top, but if you was to show that in a 24 or 32 bit spectrogram it would look like its well under maximum volume.

If the audio was 120 dB, that would look normal under a 24 or 32 bit spectrogram, but if it was output as 16 without attenuation, it will clip.

----

Below is example images, in my case I am using 32 bit float processing, and Audacity in 32 bit float (Audacity spectrogram max is 24 bit ~145dB).
2 channel 32 bit float 48k from Potplayer, 32 bit float 48k upmixed from EAPO, 32 bit audio is above the 24 bit spectrogram.

Due to 32 bit float and float capture, although the audio is above 24 bit, its not clipped, not lost.


Note that 32 bit float can represent 1,528 dB, so you wont be clipping anytime, ever, also no power amp can output that much.

----
 

Attachments

  • EAPO.png
    EAPO.png
    2.1 MB · Views: 13
  • Sample - Unchanged.png
    Sample - Unchanged.png
    161.1 KB · Views: 15
  • Sample - Attenuation.png
    Sample - Attenuation.png
    171.6 KB · Views: 16
  • Sample - Result.png
    Sample - Result.png
    157.8 KB · Views: 16
Last edited:
Joined
Mar 18, 2010
Messages
292 (0.06/day)
Thanks man yeah I'll need to change the bit width of each channel & possibly reduce the amount of high & low pass filter. I'll need to reduce the roll off db per octave, right? I think that's the cause along with the editing at 32 bit float. How do I force all tracks into a certain (BIT) in audacity before importing?
 

Attachments

  • High pass low pass filter.jpg
    High pass low pass filter.jpg
    36.5 KB · Views: 15
  • Quality 32 bit float.jpg
    Quality 32 bit float.jpg
    493.1 KB · Views: 14
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)
Right click the left side section of the audio track(s), then change to what ever you need:

Audacity.png

====

General ffmpeg usage: ffmpeg.exe -i "Source" -strict -2 -b:a Bitrate "Output"
Example ffmpeg usage: ffmpeg.exe -i "X.flac" -strict -2 -b:a 1509k "X.dts"

Audacity example: ffmpeg.exe -i - -strict -2 -c:a dts -b:a 1509k "%f"

----
 

Attachments

  • CMD.png
    CMD.png
    187.3 KB · Views: 17
  • Audacity.png
    Audacity.png
    72.7 KB · Views: 19
  • Audacity.png
    Audacity.png
    77.8 KB · Views: 20
Last edited:
Joined
Mar 18, 2010
Messages
292 (0.06/day)
Where do I find ffmpeg.exe? Is it in the root directory of audacity or something?

Can u please link me to a mediafire link or a github or sourceforge or whereever I can find the appropriate ffmpeg.exe and all it's corresponding files that audacity looks for.

Thanks
 
Last edited:
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)

Audacity.png
 
Joined
Mar 18, 2010
Messages
292 (0.06/day)
Thanks

@Ferather No matter what I do, I always get distortion on DTS tracks, converted just the way you say. If I output the same exact configuration in AC3, the quality is pristine, zero distortion in Dolby Digital 5.1, why?
 
Joined
Dec 8, 2020
Messages
2,780 (2.22/day)
The DTS codec used in ffmpeg is experimental, whereas AC3 for some reason is easy to implement-copy, I think even Kodi can transcode to AC3.
 
Joined
Mar 18, 2010
Messages
292 (0.06/day)
How do I use DTS in advanced audio instead of Dolby Digital? I always select Dolby DS1 7.6.5.1 in the APO Driver, but if you can tell me how to get it to work exactly the same but with DTS, that would be amazing!

I'd like to know how to add DTS to the list, along with Dolby Digital? Thanks

Dolby Digital and DTS same time.jpg


@Ferather how to add dts and dolby digital to the advanced format list?
 
Joined
Mar 18, 2010
Messages
292 (0.06/day)
Hi @Ferather may you please help me add Advanced audio format DTS & Dolby Digital in the list at the same time? Thanks
 
Joined
Mar 18, 2010
Messages
292 (0.06/day)
I figured out what was causing the distortion with DTS, it was the setting on the TV settings, under "Audio Output" "Digital Audio Out" was set to "Pass Through or Auto which caused the distortion". There's another option called "Dolby Audio - Dolby Digital" & "DTS Surround". It changes automatically according to the bitstream & zero distortion now. However I'm still limited to 1400kbps 16bit possibly support 24 bit idk i haven't tested 24 bit or 48khz over 44.1kbps.

Any who, it would be nice to know why my movies can bitstream DTS @ 1511kbps yet my sound music files DTS aren't streaming the audio above 1400kbps.

Thanks

Here's my Eric Clapton Live DTS Movie & It sounds great.

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1 h 46 min
Bit rate mode : Constant
Bit rate : 1 509 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.12 GiB (35%)
Language : English
Default : Yes
Forced : No

Here's the best I can sound to work at all on my exported audio from Audacity in .DTS using ffmpeg. Same applies to any method converting to dts though so far.

Audio
Format : DTS
Format/Info : Digital Theater Systems
Duration : 4 min 29 s
Bit rate mode : Constant
Bit rate : 1 400 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 44.1 kHz
Frame rate : 86.133 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 45.0 MiB (100%)

The Main Difference Is The Frame Rate. How Do I Change The Frame Rate In The FFMPEG Export Command In Audacity?
 
Last edited:
Top