Jump to content
3 votes
Completed

Correct Audio Format Bumpers based on Media-Information from Kodi

  • Views: 5,342
  • Submitted:

Previous versions of Cinemavision (CV) did not manage to play the correct audio format bumper based on the Media Information deteced by Kodi.

Discussions in the previous CV forum indicated that not even the developers knew, based on what the Audio-Bumper was selected:

- Flags in the file name e.g. Ben Hur.BD50.Atmos.mkv?

- Media Information from Kodi as displayed in the library?

 

Would be great, if this could get fixed in PSE!

User Feedback

Recommended Comments

  • Administrator

I can explain specifically how the audio bumper is determined and what the issue is.

Kodi uses FFmpeg to analyze movie streams.  Below are the DTS & Dolby codecs, including the codes that get returned and what that's translated to in english.

  • dts -> DTS
  • dca -> DTS
  • dtsma -> DTS-HD Master Audio
  • dtshd_ma -> DTS-HD Master Audio
  • dtshd_hra -> DTS-HD Master Audio
  • dtshr -> DTS-HD Master Audio
  • ac3 -> Dolby Digital
  • eac3 -> Dolby Digital Plus
  • a_truehd -> Dolby TrueHD
  • truehd -> Dolby TrueHD

The problem is that FFmpeg doesn't know the difference between TrueHD and Atmos or DTS-HD and DTS-X.  So there's specific code that looks to see if it is Dolby TrueHD and then checks to see if the word Atmos is in the file name.  If so, it reports it as Atmos.  The same process is true for DTS-HD & DTS-X.  

Dolby Digital Plus with Atmos has been added to our test build.  If there aren't any issues, this will be included in our next version.

As of right now, I'm not sure what else we can do to get it to show correctly for those files.  We've talked about reading from an .nfo file, but that still requires the person to do additional work or have a different type of setup.

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

Hi @Matt do you know, how exactly the DTS-X Tag has to look like? Maybe just "dtsx" or "dts-x" or something different? I am asking because I only get the atmos bumper working. The dtsx flag is shown as flag in my rapier skin what also works trough the filename, but pse doenst play the dtsx bumper, only dts-hd.

Link to comment
Share on other sites

  • PreShow Supporter
1 hour ago, marius said:

Hi @Matt do you know, how exactly the DTS-X Tag has to look like? Maybe just "dtsx" or "dts-x" or something different? I am asking because I only get the atmos bumper working. The dtsx flag is shown as flag in my rapier skin what also works trough the filename, but pse doenst play the dtsx bumper, only dts-hd.

For DTS:X titles it should be Filename.dtsx.mkv. If I'm not mistaken, though, it needs to also be a real DTS:X track for it to get recognized, so double check it is truly DTS:X and not just DTS-HD.

 

Edited by MidnightWatcher
Link to comment
Share on other sites

1 hour ago, MidnightWatcher said:

For DTS:X titles it should be Filename.dtsx.mkv. If I'm not mistaken, though, it needs to also be a real DTS:X track for it to get recognized, so double check it is truly DTS:X and not just DTS-HD.

 

If it has to be real audio what does it do when there is multiple audio tracks? Does it detect the one it is playing or the one that is the  default audio channel ?

Link to comment
Share on other sites

  • PreShow Supporter
4 hours ago, NightWatcherTheater said:

If it has to be real audio what does it do when there is multiple audio tracks? Does it detect the one it is playing or the one that is the  default audio channel ?

Good question, but my guess is it identifies which ever one is the default audio track.

Link to comment
Share on other sites

  • Administrator

I haven't had time to check to see if there is an issue with the DTS-X working properly or not.  

Originally it detected the default audio track.  In the latest version that has been removed so that it will assume you want to play the DTS-X or Atmos bumper, since you went to the effort to put it into the filename.

Link to comment
Share on other sites

Yes, this seems to be a bit inconsisten. I just tried it out with one Atmos and one DTS-X Movie.

UHD-BD Iso (with .Atmos. in the File Name) -> Displayed as 7.1 Atmos in Kodi (Skin: Rapier) -> The Container Dolby ThueHD is displaed in the PSE Sequemce Selector -> BUT: Atmos Bumper is played -> correct!

UHD-BD Iso (with .DTSX. in the File Name) -> Displayed as 7.1 DTS-X in Kodi (Skin: Rapier) -> The Container DTS-HD Master Audio is displayed in the PSE Sequemce Selector -> DTS-HD Master Audio Bumper is played -> incorrect!

 

PS: I need to add, that my comment above was based on PSE Version 0.1.1!

Need to check, if this has changed with 0.1.3.

....is there a smart way to update directly from the Add-on? Or do i need to remove the oudated version and Re-Install manually from USB??

Edited by Reelyator
Link to comment
Share on other sites

...added some screenshots to visualize what inconsistency i reffered to in my post above. The fist pic is the format displayed in Rapier/Kodi, the second is the format displayed in the PSE Sequence Selector.

Audio Format in Kodi Rapier.png

Audio Format in PSE Sequence Selector.png

Edited by Reelyator
Link to comment
Share on other sites

  • Administrator

I just looked at it how Rapier handles it and simplified PSE to match what they require, which is 'dtsx' to be in the file name.  For some reason in Rapier it requires .atmos, but just dtsx.

The only difference is that PSE will show the bumper for DTS-X if it is listed in the file name, regardless of whether it is a DTS-HD Master Audio file.  If in the future they come out with a new format it will still display properly.   The updated specific for 'dtsx' to be in the file name will be in the next version.

  • Thanks 1
Link to comment
Share on other sites

...i just tried out one UHD-Iso File with .dtsx. in the File Name. It still pays the DTS-HD Master Audio Bumper, not the DTS-X Bumper:-(

.....with Version 0.1.3 i should add.

Edited by Reelyator
Link to comment
Share on other sites

12 hours ago, Reelyator said:

...i just tried out one UHD-Iso File with .dtsx. in the File Name. It still pays the DTS-HD Master Audio Bumper, not the DTS-X Bumper:-(

Do you have oher tags in the filename? This is how I made it work:

- I had some, which i had to delete to make it work. For example from moviename.hdr10.4k.dtsx.mkv to moviename.dtsx.mkv

- Then I changed the filenames of the .nfo files the same way from moviename.hdr10.4k.dtsx.nfo to moviename.dtsx.nfo

- deleted my library and added the movies with the new filenames again. While doing that, the box to "skip detecting audio formats from filenames" was unchecked

- then it worked

I am using only mkv as container, maybe iso could be an issue? But thats just an thought if my proceeding wont work for you, I am not so much into these topics

 

Link to comment
Share on other sites

On 3/31/2023 at 11:05 AM, marius said:

Do you have oher tags in the filename? .....

I am using only mkv as container, maybe iso could be an issue? But thats just an thought if my proceeding wont work for you, I am not so much into these topics

 

....yes, plenty of. As is prefer to use iso Files for reducing conversion- and compression-risks as far as possible, this is the best way to improve media info display in the skin. This can be:

.BD50.

.BDXL.

.HDR.

.HDR10.

.DV.

.Atmos.

.DTSX.

.3D.

....

  • Like 1
Link to comment
Share on other sites

Has anyone actually managed to play an Auro 3D Bumper? There will be a new one on their new Demo Disc, so i'd like to integrate it, but I dont know if it works with tags

Edited by marius
Link to comment
Share on other sites

  • Administrator
4 hours ago, marius said:

Has anyone actually managed to play an Auro 3D Bumper? There will be a new one on their new Demo Disc, so i'd like to integrate it, but I dont know if it works with tags

I haven't.  I tried to test it a while back but couldn't find any of my movies with it.  I also couldn't find any good demo files, so I assumed it wouldn't matter.  I can always configure it like atmos and dts:x if needed.

Link to comment
Share on other sites

That would be awesome, if you get the chance to do it 🙂 I think in europe there are more Auro Users cause there is more content available than in the US and especially in germany there is quite a "big" auro fanbase.

Here is also the link to the upcoming bumper (not in Auro yet cause of youtube, but I guess thats just a matter of time or you have to order the demo-discs (which actually only cost the shipping fee)):

 

Link to comment
Share on other sites

  • Administrator

I haven't tested it yet, but adding auro3d to the movie file name will now trigger the Auro-3D sound format bumper(s).

This will be in the next version of PSE.

  • Thanks 1
Link to comment
Share on other sites

I am not having any luck getting the DTSX bumper to play.

I have tried having .dtsx in the file name, alongside other tags (e.g. moviename.UHD.DTSX.HDR.mkv), and just .dtsx (e.g. moviename.dtsx.mkv), and both upper and lower case, but it still always plays the DTS HDMA bumper.

My AV receiver shows DTSX for the actual movie and checking the file with Media Info also shows that it is a true DTSX file.

I am using v0.1.3

Link to comment
Share on other sites

On 5/6/2023 at 3:08 PM, Matt said:

I haven't tested it yet, but adding auro3d to the movie file name will now trigger the Auro-3D sound format bumper(s).

Sadly it doesnt work. I named the file moviename(year).auro3d.mkv, but PSE doesnt play any audio bumper. I even tried to put the Auro folder as fallback, but this doesnt work, too. The auro bumper is in mp4. I also removed the movie from the library and put it back in. Then I needed to make an nfo with the tmdb link for that movie, otherwise Kodi did not recognize it (even though it is a known movie). Could this cause the error?

Link to comment
Share on other sites

  • Administrator

The PreShow part of it works fine, at least on my system.  I had to go into Settings > Media > Library > Videos > "My movies directory" and then right click on it and select "Scan to library" and remove the .auro3d.mkv and then select the actual movie title in order to get it to show up.  That parts a bit of a pain, but I think it's outside of what I can control.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...