Kodi Community Forum

Full Version: Default audio track / changing audio track
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I add the following file (with "automatic renaming" on):
Quote:General
Unique ID                                : 
Complete name                            : 
Format                                   : Matroska
Format version                           : Version 4
File size                                : 17.9 GiB
Duration                                 : 50 min 48 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 50.4 Mb/s
Encoded date                             : UTC 2020-04-08 10:33:57
Writing application                      : mkvmerge v45.0.0 ('Heaven in Pennies') 64-bit
Writing library                          : libebml v1.3.10 + libmatroska v1.5.2

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main [email protected]@high
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 50 min 48 s
Bit rate                                 : 44.8 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Original 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.216
Stream size                              : 15.9 GiB (89%)
Title                                    : MPEG-H HEVC Video / 44826 kbps / 2160p / 25 fps / 16:9 / Main 10 Profile 5.1 High / HDR / BT.2020
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              : 1019 cd/m2
Maximum Frame-Average Light Level        : 278 cd/m2

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 50 min 47 s
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
Delay relative to video                  : 24 ms
Stream size                              : 232 MiB (1%)
Title                                    : Compatibility Track / Dolby Digital Audio / 5.1-EX / 48 kHz / 640 kbps
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
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                                 : 50 min 46 s
Bit rate mode                            : Variable
Bit rate                                 : 4 855 kb/s
Maximum bit rate                         : 7 110 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)
Compression mode                         : Lossless
Delay relative to video                  : 1 ms
Stream size                              : 1.72 GiB (10%)
Title                                    : Dolby TrueHD/Atmos Audio / 7.1 / 48 kHz / 4855 kbps / 24-bit
Language                                 : English
Default                                  : No
Forced                                   : No
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE



It will be added and renamed as a Dolby Digital file (cause that's the default audio track of the file, I think?).
How can I change it to the second audiotrack (Atmos) after adding it to TMM? Or should I do something before adding it to TMM? 

How I do it now is:
- Add the file in TMM.
- Rename the filename manually with Atmos in the name.
- Kodi shows Atmos, TMM still Dolby Digital.

My goal is to have it in TMM with the Atmos track and renamed accordingly, so Kodi will also display the correct/preffered Atmos audiotrack.
Without having to change it manually, is this possible or is my method wrong?
this is a problem if the best steam is not #1;

just imagine you have downloaded a subbed DL movie where the first stream is AC3 (in DE) and Atmos (in EN) and your main language is DE... do you expect tmm to show the second (EN) stream as the default?
I am unsure ho Kodi handles this, but we take the first stream which _should_ be the default one (and just look at the examples from above, your AC3 stream is the default one!)
Just checked:
we always use the default audiostream (if marked as default inside video file), or the best one (with the most channels)

But it's hard to decide, which always to take.
The "best" does not help you, when it's not in your language, so you might fix the movie metadata and set the correct audio stream as "default"...
(making this configureable does also not help - since it might be completely different on your other video file...)
MKVTOOLNIX will allow you to reorder the tracks as you see fit.