Jump to content

Audio codec detection


schmitty
 Share

Recommended Posts

Hello,

 

Could audio codec detection be improved for Emby Server?

 

The below is Atmos MediaInfo taken from Minions:

Audio #1
ID                                       : 2
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 30 min
Bit rate mode                            : Variable
Bit rate                                 : 5 262 kb/s
Maximum bit rate                         : 7 269 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
Stream size                              : 3.34 GiB (14%)
Title                                    : English - Dolby Atmos 7.1
Language                                 : English
Default                                  : Yes
Forced                                   : No
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

When displayed in Emby, there is no mention of Dolby Atmos, only TRUEHD

 

 

 

The below is DTS-X MediaInfo taken from Despicable Me 3:

Audio #1
ID                                       : 2
Format                                   : DTS XLL X
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 1 h 29 min
Bit rate mode                            : Variable
Bit rate                                 : 3 595 kb/s
Channel(s)                               : 8 channels
Channel(s)_Original                      : Object Based
Channel layout                           : Object Based
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Stream size                              : 2.25 GiB (12%)
Title                                    : English - DTS-X 7.1
Language                                 : English
Default                                  : Yes
Forced                                   : No

When displayed in Emby, there is no mention of DTS-X, only DTS

 

 

The below is DTS-HD MA MediaInfo taken from Forgetting Sarah Marshall:

Audio #1
ID                                       : 2
Format                                   : DTS XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 1 h 57 min
Bit rate mode                            : Variable
Bit rate                                 : 3 927 kb/s
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Compression mode                         : Lossless
Stream size                              : 3.23 GiB (16%)
Title                                    : DTS-HD MA 5.1 English
Language                                 : English
Default                                  : Yes
Forced                                   : No

When displayed in Emby, there is no mention of DTS-HD MA, only DTS

 

 

Dolby Atmos, DTS-X and DTS-HD MA as well as other DTS codecs (eg. DTS-HD, DTS-HD HRA) need to be displayed correctly in the audio select drop-down menus. Not the core codec names DTS and TRUEHD.

 
Link to comment
Share on other sites

Hi, we do have auto-detection. That's just the information that we get from ffmpeg. Hopefully in a future update they'll provide more detail so that we can do that. Thanks.

Link to comment
Share on other sites

Guest asrequested

Part of the problem is that Atmos and DTS-X are metadata and not codecs. ffprobe doesn't report them, at this time.

Link to comment
Share on other sites

Not exactly. Since we end up relying on that media info with ffmpeg for transcoding, it's best if we use the same application for both transcoding and media info gathering.

Link to comment
Share on other sites

Fair enough. I guess we just have to wait for ffmpeg to get their act together, and correctly report the metadata.

Link to comment
Share on other sites

  • 4 months later...

This is quite different in Plex, for example.  Atmos & DTS-X not being detected, that's normal, that's embedded in the audio stream.  But Dolby TrueHD (Emby & Plex) and DTS-HD (Plex only) should be able to be detected in metadata, no?

Link to comment
Share on other sites

I don’t know what ffmpeg’s issue is. Atmos is detected by MediaInfo as

 

Format: MPL FBA 16-ch

Format/Info: Meridian Lossless Packing FBA with 16-channel presentation

Commercial name: Dolby TrueHD with Dolby Atmos

Number of dynamic objects: 11

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

This is quite different in Plex, for example.  Atmos & DTS-X not being detected, that's normal, that's embedded in the audio stream.  But Dolby TrueHD (Emby & Plex) and DTS-HD (Plex only) should be able to be detected in metadata, no?

 

We can already detect TrueHD and Dts-HD.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...