Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Aug 2025
Posts: 2
|
ffmpeg's DTS not playing on hardware decoders
I am having trouble getting any DTS (DCA) 5.1 track created in ffmpeg to decode properly on my hardware decoders. My two main AVRs are older JVC units that play back a loud buzz over top of any audio.
Interestingly, an old version of ffdcaenc will produce usable output, but ffmpeg's mkv muxer also doesn't much like using external tracks in many cases. I can get around the issues, but it complicates my workflow greatly to have to insert ffdcaenc and MKV Toolnix/mkvmerge into the mix. I know that ffmpeg uses dcaenc's library for its dts/dca encoding. So I don't see why ffdcaenc can encode a track that will work while ffmpeg can't. Does anyone know how to coax ffmpeg's dca encodes to tow the line a little better? |
|
|
|
|
|
#2 | Link |
|
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 7,368
|
I see that problem longtime ago, but no one is interested in modifying ffmpeg for an obsolete codec like DTS.
It's better to use AC3, which has better compatibility and quality/size than DTS. The current use of DTS seems like an attempt to pass off edited audio as original; I don't see any other justification for it. |
|
|
|
|
|
#3 | Link |
|
ffx264/ffhevc author
![]() Join Date: May 2007
Location: /dev/video0
Posts: 2,039
|
I have the same issue. Encoded DTS by ffmpeg gets decoded by my AVR with a loud buzz.
No, DTS is not obsolete. And I find it sounds better than AC3/EAC3. Granted, the AC3/EAC3 encoder in ffmpeg is not best of all. DTS sounds more spacious to me. I don't really care for the a bit higher bitrate. You can't really compare DTS and AC3 1-on-1.
__________________
The Cyberpunk Database || NTP & NTS Time Server || Mirror Services ffhevc || ffx264 || ffxvid |
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: Aug 2025
Posts: 2
|
DTS isn't my first choice. For some critical titles that come in TrueHD (which my older JVC AVRs don't support) where I want to preserve quality, I will re-roll them as DTS @ 1509.75kbps.
I find DTS is superior to AC3 at anything over about 1100kbps. That said, I don't want to start a DTS vs AC3 discussion. Just hoping there is some setting hidden in ffmpeg somewhere that will help. |
|
|
|
|
|
#5 | Link |
|
ffx264/ffhevc author
![]() Join Date: May 2007
Location: /dev/video0
Posts: 2,039
|
DTS encoder in ffmpeg is very experimental, that's why you need to use the -strict option to enable it. There are no hidden options that can "fix" it. Some coder with knowledge needs to have a look at it.
__________________
The Cyberpunk Database || NTP & NTS Time Server || Mirror Services ffhevc || ffx264 || ffxvid |
|
|
|
|
|
#6 | Link |
|
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 7,368
|
What is this?
Sorry, I couldn't resist... We're not really going to argue about it. For the record, I say it was a better quality-to-size ratio. We're not going to compare a 1500 bitrate to a 448 bitrate like the tracks on old DVDs. But maybe yes with a 640 DD+ and with a AAC CVBR 448 (average, go over 1000 Kb/s when needed) Remember disable the DRC for DD in AVR's to recover the original (maybe more spacious) dynamic range. A old multichannel test: Last edited by tebasuna51; 12th August 2025 at 10:58. Reason: add info |
|
|
|
|
|
#7 | Link | |
|
Registered User
Join Date: Oct 2012
Posts: 8,625
|
Quote:
there is a real chance it is actually smaller and lossless. or is his some spdif stuff? |
|
|
|
|
|
|
#8 | Link | |
|
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,458
|
Apologies for being late to the party
![]() Quote:
ffdcaenc includes various improvements written by Aleksei Andropov. In other words, libdcaenc =/= libffdcaenc.
__________________
«Your software patents have expired.» |
|
|
|
|
|
|
#9 | Link |
|
ffx264/ffhevc author
![]() Join Date: May 2007
Location: /dev/video0
Posts: 2,039
|
I really, really hope someone takes up working on the DTS encoder in FFmpeg! To me, DTS is superior sounding compared to AC-3 (I don't care for the bitrate differences). To me, DTS sounds more spatial.
__________________
The Cyberpunk Database || NTP & NTS Time Server || Mirror Services ffhevc || ffx264 || ffxvid |
|
|
|
|
|
#10 | Link |
|
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,402
|
Yep... After all these years it would be great to have a fully working freeware DTS encoder
![]() EDIT: It would appear that my LG OLED65C46LA TV is able to play FFmpeg DTS (48/24 1510kbps) encodes just fine. Out of interest has anybody tried cutting say a 500ms bit off a compliant DTS stream and adding it to the beginning of an FFmpeg DTS stream? Unfortunately I'm currently unable to bit-stream DTS (or Dolby Digital) files to an AVR as most of my gear is packed up ready for my house move...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
Last edited by SeeMoreDigital; 6th November 2025 at 18:32. |
|
|
|
|
|
#12 | Link | |
|
ffx264/ffhevc author
![]() Join Date: May 2007
Location: /dev/video0
Posts: 2,039
|
Quote:
EDIT: OK, here's a 1 minute sample of the beginning of The Astronaut. It contains DTS core @ 1509 kbps (default track) extracted with -bsf:a dca_core from source audio using FFmpeg , AC-3 @ 640 kbps encoded from source with FFmpeg and E-AC-3 @ 960 kbps also encoded from source with FFmpeg. Source movie audio is DTS-HD MA -- https://nextcloud.teambelgium.net/s/rd6mzkHaynx5eSF
__________________
The Cyberpunk Database || NTP & NTS Time Server || Mirror Services ffhevc || ffx264 || ffxvid Last edited by microchip8; 7th November 2025 at 10:30. |
|
|
|
|
|
|
#14 | Link |
|
ffx264/ffhevc author
![]() Join Date: May 2007
Location: /dev/video0
Posts: 2,039
|
Huh? I'm comparing DTS Core vs AC-3. No lossless here!
__________________
The Cyberpunk Database || NTP & NTS Time Server || Mirror Services ffhevc || ffx264 || ffxvid |
|
|
|
|
|
#15 | Link | |
|
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,458
|
Quote:
![]() https://forum.doom9.org/showthread.php?t=185664
__________________
«Your software patents have expired.» |
|
|
|
|
|
|
#16 | Link |
|
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,402
|
When the first run of (Universal) Blu-ray Audio HFPA discs appeared back in 2013 they often had the same album encoded in multi-channel Dolby TrueHD and DTS-HD MA (along with LPCM).
This made it pretty easy to de-mux the lossy cores from both and compare them. That being said, unlike DTS audio streams all Dolby encoded audio streams are encoded with evil DialNorm...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
Last edited by SeeMoreDigital; 8th December 2025 at 16:13. |
|
|
|
|
|
#17 | Link |
|
Registered User
Join Date: Nov 2025
Posts: 1
|
does anyone know if the FFmpeg DTS encoder defaults to a different channel coupling or stereo matrixing setting compared to the AC3 encoder?coc mod apk
|
|
|
|
![]() |
| Tags |
| dts 6-track, ffmpeg audio |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|