Thanks both. We’ll check it through again.
[ffmpeg] Add new audio profiles in stream codec name
xbmc:master
← sundermann:ffmpeg-new-codec-profiles
## Description Adds the new profiles for Atmos and DTS to the stream codec …
Thanks both. We’ll check it through again.
This isn’t clear to me as to what you refer to.
Can you post a log?
I didn’t see any difference after the update with either Harry Potter clip.
This might be unrelated and just a coincidence but I’m running some DV test on some MCU titles and when I scanned them in the skin is not showing DV and the audio looks weird in the bottom left corner.
Maybe @Chillbo knows if something changed.
How I expect titles to look:
What I am getting now:
Both are missing the HDR type (they are DV) and the audio description looks weird.
Hulk used to say DTS:X * DTS-HD MA 7.1 and Iron Man used to look like Ant-Man does.
MediaInfo
Ant-Man:
General
Unique ID : 106697053597303032034112913044031232711 (0x50451AE4901C58D88794BA0C9E455AC7)
Complete name : S:\Movie\The Infinity Saga\Ant-Man (2015) [DV.UHDRemux] {4F02B186}.atmos.mkv
Format : Matroska
Format version : Version 4
File size : 45.7 GiB
Duration : 1 h 57 min
Overall bit rate mode : Variable
Overall bit rate : 55.9 Mb/s
Frame rate : 23.976 FPS
Movie name : Ant-Man
Writing application : mkvmerge v88.0 ('All I Know') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, Profile 8.1, dvhe.08.06, BL+RPU, no metadata compression, HDR10 compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 57 min
Bit rate : 50.7 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.255
Stream size : 41.5 GiB (91%)
Title : Ant-Man
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 577 cd/m2
Maximum Frame-Average Light Level : 512 cd/m2
Audio #1
ID : 2
ID in the original source medium : 4352 (0x1100)
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 1 h 57 min
Bit rate mode : Variable
Bit rate : 4 485 kb/s
Maximum bit rate : 8 226 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 3.67 GiB (8%)
Title : Dolby TrueHD 7.1 Atmos
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray
Number of dynamic objects : 13
Bed channel count : 1 channel
Bed channel configuration : LFE
Audio #2
ID : 3
ID in the original source medium : 4352 (0x1100)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 1 h 57 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 536 MiB (1%)
Title : Dolby Digital 5.1
Language : English
Service kind : Complete Main
Default : No
Forced : No
Original source medium : Blu-ray
Dialog Normalization : -27 dB
compr : 0.53 dB
dynrng : 0.53 dB
cmixlev : -3.0 dB
surmixlev : -6 dB
dmixmod : Lo/Ro
ltrtcmixlev : -3.0 dB
ltrtsurmixlev : -4.5 dB
lorocmixlev : -3.0 dB
lorosurmixlev : -4.5 dB
dialnorm_Average : -27 dB
dialnorm_Minimum : -27 dB
dialnorm_Maximum : -27 dB
Text
ID : 4
ID in the original source medium : 4768 (0x12A0)
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 56 min
Bit rate : 40.3 kb/s
Frame rate : 0.491 FPS
Count of elements : 3432
Stream size : 33.6 MiB (0%)
Title : English SDH PGS
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray
Menu
00:00:00.000 : en:Chapter 01
00:02:08.545 : en:Chapter 02
00:08:39.852 : en:Chapter 03
00:15:24.131 : en:Chapter 04
00:19:59.406 : en:Chapter 05
00:27:49.876 : en:Chapter 06
00:33:06.776 : en:Chapter 07
00:38:53.539 : en:Chapter 08
00:44:36.131 : en:Chapter 09
00:49:22.125 : en:Chapter 10
00:57:43.585 : en:Chapter 11
01:00:48.394 : en:Chapter 12
01:06:31.070 : en:Chapter 13
01:23:20.704 : en:Chapter 14
01:34:20.196 : en:Chapter 15
01:47:33.864 : en:Chapter 16
Iron Man:
General
Unique ID : 64092440651497269884861339159248036555 (0x3037C14C00AC157731E5EF1D568CE2CB)
Complete name : S:\Movie\The Infinity Saga\Iron Man (2008) [DV.UHDRemux] {CDB16802}.atmos.mkv
Format : Matroska
Format version : Version 4
File size : 52.4 GiB
Duration : 2 h 6 min
Overall bit rate mode : Variable
Overall bit rate : 59.5 Mb/s
Frame rate : 23.976 FPS
Movie name : Iron Man
Writing application : mkvmerge v88.0 ('All I Know') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, Profile 8.1, dvhe.08.06, BL+RPU, no metadata compression, HDR10 compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 6 min
Bit rate : 54.1 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.272
Stream size : 47.6 GiB (91%)
Title : Iron Man
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 826 cd/m2
Maximum Frame-Average Light Level : 819 cd/m2
Audio #1
ID : 2
ID in the original source medium : 4352 (0x1100)
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 2 h 6 min
Bit rate mode : Variable
Bit rate : 4 725 kb/s
Maximum bit rate : 7 551 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 4.16 GiB (8%)
Title : Dolby TrueHD 7.1 Atmos
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray
Number of dynamic objects : 13
Bed channel count : 1 channel
Bed channel configuration : LFE
Audio #2
ID : 3
ID in the original source medium : 4352 (0x1100)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 6 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 577 MiB (1%)
Title : Dolby Digital 5.1
Language : English
Service kind : Complete Main
Default : No
Forced : No
Original source medium : Blu-ray
Dialog Normalization : -27 dB
compr : 4.86 dB
dynrng : 4.86 dB
cmixlev : -3.0 dB
surmixlev : -6 dB
dmixmod : Lo/Ro
ltrtcmixlev : -3.0 dB
ltrtsurmixlev : -4.5 dB
lorocmixlev : -3.0 dB
lorosurmixlev : -4.5 dB
dialnorm_Average : -27 dB
dialnorm_Minimum : -27 dB
dialnorm_Maximum : -27 dB
Text #1
ID : 4
ID in the original source medium : 4768 (0x12A0)
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 4 min
Bit rate : 44.7 kb/s
Frame rate : 0.400 FPS
Count of elements : 2999
Stream size : 39.9 MiB (0%)
Title : English SDH PGS
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray
Text #2
ID : 5
ID in the original source medium : 4774 (0x12A6)
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 3 min
Bit rate : 729 b/s
Frame rate : 0.019 FPS
Count of elements : 73
Stream size : 339 KiB (0%)
Title : English Forced PGS
Language : English
Default : No
Forced : Yes
Original source medium : Blu-ray
Menu
00:00:00.000 : en:Chapter 01
00:09:04.168 : en:Chapter 02
00:17:58.327 : en:Chapter 03
00:26:47.939 : en:Chapter 04
00:34:59.806 : en:Chapter 05
00:43:13.257 : en:Chapter 06
00:52:36.361 : en:Chapter 07
00:59:22.642 : en:Chapter 08
01:07:30.212 : en:Chapter 09
01:11:41.964 : en:Chapter 10
01:18:29.204 : en:Chapter 11
01:24:38.573 : en:Chapter 12
01:34:58.109 : en:Chapter 13
01:44:27.094 : en:Chapter 14
01:53:29.469 : en:Chapter 15
Hulk:
General
Unique ID : 149842557400142400361141848815238363555 (0x70BAA0778A7A003014D9D01CE81BB9A3)
Complete name : S:\Movie\The Infinity Saga\The Incredible Hulk (2008) [DV.UHDRemux] {6650E32F}.dtsx.mkv
Format : Matroska
Format version : Version 4
File size : 50.4 GiB
Duration : 1 h 52 min
Overall bit rate mode : Variable
Overall bit rate : 64.3 Mb/s
Frame rate : 23.976 FPS
Movie name : The Incredible Hulk
Encoded date : 2025-02-24 10:22:47 UTC
Writing application : mkvmerge v90.0 ('Hanging On') 64-bit
Writing library : libebml v1.4.5 + libmatroska v1.7.1
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, Profile 8.1, dvhe.08.06, BL+RPU, no metadata compression, HDR10 compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 52 min
Bit rate : 57.5 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.289
Stream size : 45.1 GiB (89%)
Title : The Incredible Hulk
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 915 cd/m2
Maximum Frame-Average Light Level : 258 cd/m2
Audio
ID : 2
ID in the original source medium : 4352 (0x1100)
Format : DTS XLL X
Format/Info : Digital Theater Systems
Commercial name : DTS-HD MA + DTS:X
Codec ID : A_DTS
Duration : 1 h 52 min
Bit rate mode : Variable
Bit rate : 6 787 kb/s
Channel(s) : 8 channels
Channel layout : C L R LFE Lb Rb Lss Rss Objects
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 5.32 GiB (11%)
Title : DTS-HD MA 7.1 X
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray
Text
ID : 3
ID in the original source medium : 4768 (0x12A0)
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 44 min
Bit rate : 22.7 kb/s
Frame rate : 0.282 FPS
Count of elements : 1763
Stream size : 16.9 MiB (0%)
Title : English SDH PGS
Language : English
Default : Yes
Forced : No
Original source medium : Blu-ray
Menu
00:00:00.000 : en:Chapter 01
00:05:47.638 : en:Chapter 02
00:12:50.227 : en:Chapter 03
00:16:08.384 : en:Chapter 04
00:21:15.023 : en:Chapter 05
00:26:25.792 : en:Chapter 06
00:30:40.880 : en:Chapter 07
00:34:09.547 : en:Chapter 08
00:40:20.167 : en:Chapter 09
00:47:31.056 : en:Chapter 10
00:55:55.185 : en:Chapter 11
01:02:25.408 : en:Chapter 12
01:07:54.487 : en:Chapter 13
01:12:18.917 : en:Chapter 14
01:19:51.077 : en:Chapter 15
01:24:01.036 : en:Chapter 16
01:30:25.169 : en:Chapter 17
01:37:01.941 : en:Chapter 18
01:42:39.444 : en:Chapter 19
01:45:33.160 : en:Chapter 20
I know it’s not DV related but it may be related to a change in the latest build?
I was just referring to the info you get in the System Information section of the GUI. But here’s a log in case helpful.
I’m not sure how this can be. These info labels you’re seeing for 3D audio are relying on ffmpeg 7.1 and its Kodi v22 implementation - there’s no backport of this feature. We’re running v21.2 on our OSMC systems… Are those screenshots from a Vero?
xbmc:master
← sundermann:ffmpeg-new-codec-profiles
## Description Adds the new profiles for Atmos and DTS to the stream codec …
No changes for me regarding the GoF DV clip with the latest update.
no change here with the GoF clip.
Oops! We applied the adjustment only to P5 files. Stay tuned for P7/8 adjustments.
DoVi_test_saturation_brightness (can’t remember who uploaded it but it’s P5) should be improved already.
Amazing, I just updated!
The DoVi_test_saturation_brightness
clip was me (here). It is definitely improved. I don’t know what to make of this though: now all colors seem to reach ~89 whereas on the native TV player and the TV’s integrated Kodi some colors did not reach 89 (e.g. red was only ~83, I had the comparison table in the link referenced above).
And I had only brought up that brightness test clip because of the actual issue with oversaturated and popping colors here, which unfortunately still persists (the link to the test file in that post is already gone, I’ve reuploaded it here, it’s a P5 clip).
And any idea yet what might cause DoVi not to work at all with certain skins (mentioned here)? I tried resetting it fully, but it still wouldn’t trigger DoVi. Very strange and I’m out of ideas what it could be.
Are those screenshots from a Vero?
Absolutely.
This video is unavailable.
EDIT: I figured it out. For some reason Ember decided to start writing this garbage to NFO files. I never told it to do that so I’ll have to do some research regarding that but if I remove that from the NFO and re-scrape then everything looks as it should be again.
Example from Hulk:
<fileinfo>
<streamdetails>
<audio>
<bitrate>6787</bitrate>
<channels>8</channels>
<codec>dtshd_ma_x</codec>
<language>eng</language>
<longlanguage>English</longlanguage>
</audio>
<subtitle>
<language>eng</language>
<longlanguage>English</longlanguage>
<forced>false</forced>
<type>Embedded</type>
</subtitle>
<video>
<aspect>1.778</aspect>
<bitrate>5750</bitrate>
<codec>hevc</codec>
<durationinseconds>6732</durationinseconds>
<height>2160</height>
<language>eng</language>
<longlanguage>English</longlanguage>
<width>3840</width>
<filesize>54135736148</filesize>
</video>
</streamdetails>
</fileinfo>
Sorry for the false alarm guys.
It is definitely improved.
unfortunately still persists
I’m confused.
I think he’s saying the test clip has improved but his cartoon clip still looks incorrect (saturated) compared to his TV app playing it.
Yes, sorry. I should’ve been more clear.
The color clipping test video has definitely improved because it’s no longer clipping prematurely for all colors.
But the Arcane clip still looks oversaturated for some reason. I can’t even tell if it changed at all.
Oversaturated, overbright, or both?
And any idea yet what might cause DoVi not to work at all with certain skins (mentioned here)? I tried resetting it fully, but it still wouldn’t trigger DoVi. Very strange and I’m out of ideas what it could be.
You and me both. I could reproduce the issue. IIRC Kodi is triggering DV but we can’t figure what a skin might be doing to affect things.
A fix for Harry Potter has been added to the release. Please update and let us know how it goes for you. This affects P7 and P8 only.
The GoF clip seems fine now, thanks for the team’s hard work. May I ask what had to be done to achieve this?
A subtlety of the AML hardware that was overlooked when making another improvement.
Looks like P8 and P7 MEL are working now! Both Goblet of Fire and Deathly Hallows CMv4 are playing as expected now. Also, earlier today I looked at a retail DV example, a scene from Lord of the Rings - Fellowship of the Ring where Saruman attacks Gandalf in the tower. Before applying the most recent update it looked wrong vs other DV playback devices, too much glare in some shots. I’ve just tested my P8 and P7 versions with their retail CMv2.9 RPUs and they are fine now. Thanks to the team for chasing down the issue.
GREAT JOB GUYS!!!
I checked both Harry Potter clips on my C8 and they look as they should.
Since this seemed like the last hurdle before you guys go public with this I decided to go back and run a bunch of other tests as well.
There was no regression on the 12 Monkeys snow, Aliens and Gattaca intros, and the various p5 clips.
I also went and tried various 1,000 / 4,000 / 10,000 clipping test to make sure the blacks were not getting crushed in order to show the previously blown out whites above 1,000 and everything looked as expected.
I also checked color clipping as well and could find no errors.
All gradient tests look great as well.
All my test clips, except FEL, look as they should.
Again, GREAT WORK GUYS!!!
Now with the March update that includes DV-support, is updating via this channel still necessary? Are there any differences?
No - everything has been merged.
which means he doesn’t understand how Profile 5 is supposed to work. Yes, if their content is prepared as Profile 5 with optimised shaping and they stream it with no shaping it will be wrong (very wrong) but if they just take a HDR10 original and package it as P5 with no shaping all they are losing is the extra 1.5 bits of precision Profile 5 is supposed to add. If anyone can tell the difference between 10bits and 11.5bits, especially on a film like Barbie I’d be very surprised.
I suspect he’s very good at guessing the causes of the differences between renderings that he ‘measures’ and mostly getting it wrong.
He’s not very good at explaining his methods (unless you want to spend hours wading through AVSForum posts). I doubt whether the washed-out look he claims he’s getting (I can’t see it in the comparison pics) is because Apple aren’t using shaping.
Just my 2d.
Well , your 2 cents opinion and understanding of profile 5 reshaping is not very good. Even the Dovi_tool author quietvoid confirmed Apple tinkering with the RPU reshaping metadata.
https://forum.makemkv.com/forum/viewtopic.php?p=121576#p121576