Jump to content

DTS-HD HRA Wont Work


georgewill76

Recommended Posts

georgewill76

Hi

 

I have a few movies that have a DTS-HD HRA audio track.  However, they dont seem to work in Emby Theater.  I have bitstreaming set for all the formats.  I am able to play DTS-X, DTS-HD, DTS-HD MA, True HD without any problems.  I am using a Denon AVR-X2400H receiver.  I have tested my files to make sure the DTS-HD HRA track plays as I have PowerDVD 17 installed on my HTPC and it is able to play the audio track without any problems.

 

Has anyone else seen this problem before?  Is there a fix or something I could do to get this audio track to play?

 

 

Link to comment
Share on other sites

Guest asrequested

It's ostensibly just a higher bitrate. I'm not sure I have anything to test with.

 

Can you give me a sample, so I can take a look? But on it's face, it should just bitstream. If the receiver supports the bitrate, then it will play. A quick heads about PDVD (I have it, too). it can do some funky stuff with audio. But I really need to have a sample before I can figure anything out. It is peaking my curiosity.

 

I just got a test file.....testing

Link to comment
Share on other sites

georgewill76

Hi Doofus

 

Thanks for looking into this me.  From what you say does it mean something needs to be updated in the emby theatre software?

 

 

Link to comment
Share on other sites

Guest asrequested

Hi Doofus

 

Thanks for looking into this me. From what you say does it mean something needs to be updated in the emby theatre software?

No, it's down to how ffmpeg handles it, as the player that's in theater is mpv and runs on ffmpeg. I've been looking into it. I haven't found anything specific to bitstreaming HRA, but I haven't experimented with making a profile, yet. I know it can be decoded, but in my testing it only decodes the core. DCA apparently supports all the dts extensions, so it may just need some tweaking. I ran out of time, last night.

Link to comment
Share on other sites

Guest asrequested

One variation I didn't try, was dts-hd_hra. I'll see how that goes, tonight, among other things.

Link to comment
Share on other sites

Guest asrequested

Unfortunately, the best I'm coming up with is decoding the core audio. I haven't found any reference to bitstreaming HRA. As far as I can tell, DCA relies on dts-hd to bitstream all of the extensions, but doesn't appear to work with HRA.

 

@@daedalus, have you seen anything relating to DTS-HD HRA? When I look at the list of decoders, for DTS it all comes under DCA, with no specific listings for the other DTS extensions.

Audio decoders:
    comfortnoise - RFC 3389 comfort noise generator
    dvaudio - Ulead DV Audio
    8svx_exp - 8SVX exponential
    8svx_fib - 8SVX fibonacci
    s302m - SMPTE 302M
    sdx2_dpcm - DPCM Squareroot-Delta-Exact
    aac - AAC (Advanced Audio Coding)
    aac_fixed (aac) - AAC (Advanced Audio Coding)
    aac_latm - AAC LATM (Advanced Audio Coding LATM syntax)
    ac3 - ATSC A/52A (AC-3)
    ac3_fixed (ac3) - ATSC A/52A (AC-3)
    alac - ALAC (Apple Lossless Audio Codec)
    als (mp4als) - MPEG-4 Audio Lossless Coding (ALS)
    amrnb (amr_nb) - AMR-NB (Adaptive Multi-Rate NarrowBand)
    amrwb (amr_wb) - AMR-WB (Adaptive Multi-Rate WideBand)
    ape - Monkey's Audio
    aptx - aptX (Audio Processing Technology for Bluetooth)
    atrac1 - ATRAC1 (Adaptive TRansform Acoustic Coding)
    atrac3 - ATRAC3 (Adaptive TRansform Acoustic Coding 3)
    atrac3al - ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)
    atrac3plus (atrac3p) - ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)
    atrac3plusal (atrac3pal) - ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)
    binkaudio_dct - Bink Audio (DCT)
    binkaudio_rdft - Bink Audio (RDFT)
    bmv_audio - Discworld II BMV audio
    cook - Cook / Cooker / Gecko (RealAudio G2)
    dca (dts) - DCA (DTS Coherent Acoustics)
    dolby_e - Dolby E
    dsd_lsbf - DSD (Direct Stream Digital), least significant bit first
    dsd_msbf - DSD (Direct Stream Digital), most significant bit first
    dsd_lsbf_planar - DSD (Direct Stream Digital), least significant bit first, planar
    dsd_msbf_planar - DSD (Direct Stream Digital), most significant bit first, planar
    dsicinaudio - Delphine Software International CIN audio
    dss_sp - Digital Speech Standard - Standard Play mode (DSS SP)
    dst - DST (Digital Stream Transfer)
    eac3 - ATSC A/52B (AC-3, E-AC-3)
    evrc - EVRC (Enhanced Variable Rate Codec)
    wavesynth - Wave synthesis pseudo-codec
    flac - FLAC (Free Lossless Audio Codec)
    g723_1 - G.723.1
    g729 - G.729
    gsm - GSM
    gsm_ms - GSM Microsoft variant
    iac - IAC (Indeo Audio Coder)
    imc - IMC (Intel Music Coder)
    interplayacm - Interplay ACM
    mace3 - MACE (Macintosh Audio Compression/Expansion) 3:1
    mace6 - MACE (Macintosh Audio Compression/Expansion) 6:1
    metasound - Voxware MetaSound
    mlp - MLP (Meridian Lossless Packing)
    mp1 - MP1 (MPEG audio layer 1)
    mp1float (mp1) - MP1 (MPEG audio layer 1)
    mp2 - MP2 (MPEG audio layer 2)
    mp2float (mp2) - MP2 (MPEG audio layer 2)
    mp3 - MP3 (MPEG audio layer 3)
    mp3float (mp3) - MP3 (MPEG audio layer 3)
    mp3adu - ADU (Application Data Unit) MP3 (MPEG audio layer 3)
    mp3adufloat (mp3adu) - ADU (Application Data Unit) MP3 (MPEG audio layer 3)
    mp3on4 - MP3onMP4
    mp3on4float (mp3on4) - MP3onMP4
    mpc7 (musepack7) - Musepack SV7
    mpc8 (musepack8) - Musepack SV8
    nellymoser - Nellymoser Asao
    on2avc (avc) - On2 Audio for Video Codec
    opus - Opus
    paf_audio - Amazing Studio Packed Animation File Audio
    qcelp - QCELP / PureVoice
    qdm2 - QDesign Music Codec 2
    qdmc - QDesign Music Codec 1
    real_144 (ra_144) - RealAudio 1.0 (14.4K)
    real_288 (ra_288) - RealAudio 2.0 (28.8K)
    ralf - RealAudio Lossless
    shorten - Shorten
    sipr - RealAudio SIPR / ACELP.NET
    smackaud (smackaudio) - Smacker audio
    sonic - Sonic
    tak - TAK (Tom's lossless Audio Kompressor)
    truehd - TrueHD
    truespeech - DSP Group TrueSpeech
    tta - TTA (True Audio)
    twinvq - VQF TwinVQ
    vmdaudio - Sierra VMD audio
    vorbis - Vorbis
    wavpack - WavPack
    wmalossless - Windows Media Audio Lossless
    wmapro - Windows Media Audio 9 Professional
    wmav1 - Windows Media Audio 1
    wmav2 - Windows Media Audio 2
    wmavoice - Windows Media Audio Voice
    ws_snd1 (westwood_snd1) - Westwood Audio (SND1)
    xma1 - Xbox Media Audio 1
    xma2 - Xbox Media Audio 2
    pcm_alaw - PCM A-law / G.711 A-law
    pcm_bluray - PCM signed 16|20|24-bit big-endian for Blu-ray media
    pcm_dvd - PCM signed 16|20|24-bit big-endian for DVD media
    pcm_f16le - PCM 16.8 floating point little-endian
    pcm_f24le - PCM 24.0 floating point little-endian
    pcm_f32be - PCM 32-bit floating point big-endian
    pcm_f32le - PCM 32-bit floating point little-endian
    pcm_f64be - PCM 64-bit floating point big-endian
    pcm_f64le - PCM 64-bit floating point little-endian
    pcm_lxf - PCM signed 20-bit little-endian planar
    pcm_mulaw - PCM mu-law / G.711 mu-law
    pcm_s8 - PCM signed 8-bit
    pcm_s8_planar - PCM signed 8-bit planar
    pcm_s16be - PCM signed 16-bit big-endian
    pcm_s16be_planar - PCM signed 16-bit big-endian planar
    pcm_s16le - PCM signed 16-bit little-endian
    pcm_s16le_planar - PCM signed 16-bit little-endian planar
    pcm_s24be - PCM signed 24-bit big-endian
    pcm_s24daud - PCM D-Cinema audio signed 24-bit
    pcm_s24le - PCM signed 24-bit little-endian
    pcm_s24le_planar - PCM signed 24-bit little-endian planar
    pcm_s32be - PCM signed 32-bit big-endian
    pcm_s32le - PCM signed 32-bit little-endian
    pcm_s32le_planar - PCM signed 32-bit little-endian planar
    pcm_s64be - PCM signed 64-bit big-endian
    pcm_s64le - PCM signed 64-bit little-endian
    pcm_u8 - PCM unsigned 8-bit
    pcm_u16be - PCM unsigned 16-bit big-endian
    pcm_u16le - PCM unsigned 16-bit little-endian
    pcm_u24be - PCM unsigned 24-bit big-endian
    pcm_u24le - PCM unsigned 24-bit little-endian
    pcm_u32be - PCM unsigned 32-bit big-endian
    pcm_u32le - PCM unsigned 32-bit little-endian
    pcm_zork - PCM Zork
    gremlin_dpcm - DPCM Gremlin
    interplay_dpcm - DPCM Interplay
    roq_dpcm - DPCM id RoQ
    sol_dpcm - DPCM Sol
    xan_dpcm - DPCM Xan
    adpcm_4xm - ADPCM 4X Movie
    adpcm_adx - SEGA CRI ADX ADPCM
    adpcm_afc - ADPCM Nintendo Gamecube AFC
    adpcm_aica - ADPCM Yamaha AICA
    adpcm_ct - ADPCM Creative Technology
    adpcm_dtk - ADPCM Nintendo Gamecube DTK
    adpcm_ea - ADPCM Electronic Arts
    adpcm_ea_maxis_xa - ADPCM Electronic Arts Maxis CDROM XA
    adpcm_ea_r1 - ADPCM Electronic Arts R1
    adpcm_ea_r2 - ADPCM Electronic Arts R2
    adpcm_ea_r3 - ADPCM Electronic Arts R3
    adpcm_ea_xas - ADPCM Electronic Arts XAS
    g722 (adpcm_g722) - G.722 ADPCM
    g726 (adpcm_g726) - G.726 ADPCM
    g726le (adpcm_g726le) - G.726 ADPCM little-endian
    adpcm_ima_amv - ADPCM IMA AMV
    adpcm_ima_apc - ADPCM IMA CRYO APC
    adpcm_ima_dat4 - ADPCM IMA Eurocom DAT4
    adpcm_ima_dk3 - ADPCM IMA Duck DK3
    adpcm_ima_dk4 - ADPCM IMA Duck DK4
    adpcm_ima_ea_eacs - ADPCM IMA Electronic Arts EACS
    adpcm_ima_ea_sead - ADPCM IMA Electronic Arts SEAD
    adpcm_ima_iss - ADPCM IMA Funcom ISS
    adpcm_ima_oki - ADPCM IMA Dialogic OKI
    adpcm_ima_qt - ADPCM IMA QuickTime
    adpcm_ima_rad - ADPCM IMA Radical
    adpcm_ima_smjpeg - ADPCM IMA Loki SDL MJPEG
    adpcm_ima_wav - ADPCM IMA WAV
    adpcm_ima_ws - ADPCM IMA Westwood
    adpcm_ms - ADPCM Microsoft
    adpcm_mtaf - ADPCM MTAF
    adpcm_psx - ADPCM Playstation
    adpcm_sbpro_2 - ADPCM Sound Blaster Pro 2-bit
    adpcm_sbpro_3 - ADPCM Sound Blaster Pro 2.6-bit
    adpcm_sbpro_4 - ADPCM Sound Blaster Pro 4-bit
    adpcm_swf - ADPCM Shockwave Flash
    adpcm_thp - ADPCM Nintendo THP
    adpcm_thp_le - ADPCM Nintendo THP (little-endian)
    adpcm_vima - LucasArts VIMA audio
    adpcm_xa - ADPCM CDROM XA
    adpcm_yamaha - ADPCM Yamaha
    libopus (opus) - libopus Opus
    libspeex (speex) - libspeex Speex
    libvorbis (vorbis) - libvorbis
Link to comment
Share on other sites

Guest asrequested

So, I'm gonna go ahead and say that at this time, mpv doesn't support DTS-HD HRA bitstreaming.

 

5aa8a8ab20be6_Snapshot_488.jpg

Edited by Doofus
Link to comment
Share on other sites

Guest asrequested

I saw that when I was researching, this. PowerDVD will bitstream it. Luke, maybe add a selection for an external player to play it? Until ffmpeg, matures. 

Link to comment
Share on other sites

Guest asrequested

Of course, the other option is to let mpv do the decoding and pass the uncompressed audio directly to the receiver. Technically, it's the exact same audio. To try it, disable DTS-HD in the settings and make sure that the audio channels are set correctly in both Theater and Windows. That way mpv will decode it instead of the receiver. So any DTS-HD will be treated the same way. There shouldn't be any difference in fidelity. I have a feeling that ffmpeg is heading in this general direction. This will also most likely remove any metadata, which could be a problem.

 

I haven't actually tested this, but I will, tonight.

 

Luke, as a side note. Make sure that Emby has an ffmpeg build that has the DCA decoder. Otherwise if the server has to transcode that audio, it will come out wrong or not at all.

Edited by Doofus
Link to comment
Share on other sites

Guest asrequested

Is it transcoding OK now?

Bitstreaming, you mean? No, it won't bitstream, but it can be decoded to PCM. I just need to test that it isn't just decoding the core audio. Which is what I'll test, tonight.

 

Ffmpeg appears to rely on DCA decoding for all dts audio. So I was giving a shout out, for that. I think I remember seeing DCA in some transcode logs, but I thought I'd just draw some attention to it.

Link to comment
Share on other sites

Guest asrequested

OK, so that works, but there are a few things to consider. One is that you have to disable all DTS bitstreaming. If you only disable DTS-HD, it will still bitstream the core audio (5.1). This means that all DTS will be decoded to PCM raw audio (lossless, and still discrete channels). The second is that you will lose any metadata. Which really only applies to DTS-X (object based processing). The audio fidelity should not be affected, and with the exception of the metadata, the audio should be identical. You should also disabled audio exclusivity.

 

5aa9d15fa411b_Snapshot_490.jpg

 

From the mpv log

[ad] Selected audio codec: dca (DCA (DTS Coherent Acoustics))
[   0.082][v][cplayer] Starting playback...
[   0.083][v][af] Audio filter chain:
[   0.083][v][af]   [in] 96000Hz 7.1 8ch floatp
[   0.083][v][af]   [out] 96000Hz 7.1 8ch floatp
[   0.083][v][af]   [ao] 96000Hz 7.1 8ch floatp
[   0.083][v][ao] Trying audio driver 'wasapi'
[   0.083][v][ao] Using preferred device 'SC-95 (Intel(R) Display Audio)'
[   0.083][v][ao/wasapi] requested format: 96000 Hz, 7.1 channels, floatp
[   0.083][d][ao/wasapi] Init wasapi
[   0.083][d][ao/wasapi] Find device 'SC-95 (Intel(R) Display Audio)'
[   0.088][v][ao/wasapi] Selecting device by name: 'SC-95 (Intel(R) Display Audio)'
[   0.088][v][ao/wasapi] Selecting device '{2e25d85a-2baf-4064-aafd-c0e05aef416f}' (SC-95 (Intel(R) Display Audio))
[   0.089][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{2e25d85a-2baf-4064-aafd-c0e05aef416f}
[   0.100][d][ao/wasapi] Init wasapi thread
[   0.100][d][ao/wasapi] Activating pAudioClient interface
[   0.103][d][ao/wasapi] Probing formats
[   0.103][v][ao/wasapi] Trying 7.1 float (32/32 bits) @ 96000hz (shared) -> ok
[   0.103][v][ao/wasapi] Accepted as 7.1 float @ 96000hz -> 7.1 float (32/32 bits) @ 96000hz (shared)
[   0.103][d][ao/wasapi] Fixing format
[   0.103][d][ao/wasapi] IAudioClient::GetDevicePeriod
[   0.103][v][ao/wasapi] Device period: 10 ms
[   0.103][d][ao/wasapi] IAudioClient::Initialize
[   0.124][d][ao/wasapi] IAudioClient::Initialize pRenderClient
[   0.124][d][ao/wasapi] IAudioClient::Initialize IAudioClient_SetEventHandle
[   0.124][d][ao/wasapi] IAudioClient::Initialize IAudioClient_GetBufferSize
[   0.124][v][ao/wasapi] Buffer frame count: 4800 (50 ms)
[   0.124][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 3072000.
[   0.125][d][ao/wasapi] IAudioClient::Initialize pAudioVolume
[   0.125][d][ao/wasapi] Entering dispatch loop
[   0.125][d][ao/wasapi] Init wasapi done
[   0.126][v][ao/wasapi] device buffer: 4800 samples.
[   0.126][v][ao/wasapi] using soft-buffer of 19200 samples.
[   0.126][i][cplayer] AO: [wasapi] 96000Hz 7.1 8ch float
[   0.126][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
[   0.126][v][af] Adding filter lavrresample 
[   0.126][v][af] Audio filter chain:
[   0.126][v][af]   [in] 96000Hz 7.1 8ch floatp
[   0.126][v][af]   [lavrresample] 96000Hz 7.1 8ch float [a]
[   0.126][v][af]   [out] 96000Hz 7.1 8ch float
[   0.126][v][af]   [ao] 96000Hz 7.1 8ch float
Edited by Doofus
Link to comment
Share on other sites

Guest asrequested

I think I read that lavrresample is going to be removed in the next mpv build. So this will need to be retested if that happens.

Link to comment
Share on other sites

Guest asrequested

I have the same issue, and I have a Pioneer Elite SC-95. I should report it to mpv and post my logs. I was waiting for the next mpv release, first. There are many changes coming.

Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...