Opened 5 years ago

Closed 4 years ago

#12580 closed Patch - Bug Fix (Fixed)

Dolby TrueHD encoding with Atmos extensions does not work in fixes-0.27

Reported by: Glen Dragon <gdragon@…> Owned by: JYA
Priority: minor Milestone: 29.0
Component: MythTV - Audio Output Version: 0.27.5
Severity: medium Keywords:
Cc: Ticket locked: no


Specific blurays are now coming with sound tracks with encoded with Dolby Atmos support encoded as TrueHD tracks. This includes, among others, Transfomers 4, Teenage Mutant Ninja Turtles (2014), the one that I personally care about: Roger Waters The Wall (2015).

The current TrueHD bitstreaming and decoding cannot handle these extra extensions, and will have no sound on the TrueHD track.

I have found the appropriate patches that were put into FFmpeg to support this, and I have tested with my systems. Both bitstreaming to a TrueHD receiver, and SW decoding of the TrueHD seem to work. I have NOT tested with an Atmos capable receiver, but a Kodi thread seems to indicate that it should work [once you ignore the trolls]

This problem should not be experienced in master, as the lastest FFmpeg resync should have caught this. I have not tested master at all.

I have the fixes merged into my git tree:

Change History (4)

comment:1 Changed 5 years ago by Stuart Auchterlonie

Milestone: unknown0.27.6

This is comprised of 2 upstream fixes

ff34b2d6d35b212523428b9b932cce4914f7ac03 mlpdec: support major sync headers with optional extension blocks

36bf549b2706bd10014556a84a33ed6daf5d5373 mlpdec: support TrueHD streams with an Atmos substream

Both fixes are present in upstream ffmpeg v2.5 and above, and therefore will be automatically included in the 0.28 release of MythTV which is based on ffmpeg 2.8.1

comment:2 Changed 5 years ago by JYA

do we really want to fix this for 0.27?

0.28 is coming "soon" :)

comment:3 Changed 5 years ago by Karl Egly


Reschedule all tickets planned for, but not solved in time for, 0.27.6 to 0.27.7.

comment:4 Changed 4 years ago by JYA

Milestone: 0.27.729.0
Resolution: Fixed
Status: newclosed

done with resync to FFmpeg 3.2

Note: See TracTickets for help on using tickets.