Posts: 1,234
Joined: Nov 2008
Reputation:
5
Won't this then create two audio flags? The native support for audio flagging will be shown and then your substring flag for your workaround will show as well.
Posts: 121
Joined: Sep 2008
Reputation:
5
Tim.
Senior Member
Posts: 121
Bump. No one is interested in something like this? Especially because we currently cannot bitstream TrueHD/DTSMA, meaning no indicators on the AV receiver. This would be the only way to know what type of audio your sending without hitting the codec button.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
Lets just say from a official stand point I'm not adding anything that relies on filenames if there is a better way to see the codec info in xbmc then I might listen
Posts: 1,234
Joined: Nov 2008
Reputation:
5
It is rather unconventional. You could just replace the current skin flag that displays when you have a truehd video playing with the truehd flag you have. Just keep the name the same.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
If you can actually hook me up with a couple of samples (in PM if you like) I'll see what could be done. and by samples I mean less than 100mb
Posts: 1,234
Joined: Nov 2008
Reputation:
5
Are you aware of the way people code the media flags for audio codec?
Posts: 121
Joined: Sep 2008
Reputation:
5
Tim.
Senior Member
Posts: 121
2010-04-16, 08:50
(This post was last modified: 2010-04-17, 01:32 by Jezz_X.)
Uploaded!
Link removed (Jezz_X)
The TrueHD and DD+ files have 2 audio streams each, 1 being the standard Ddolby core and the second being the HD audio. The normal Dolby core is recognized as ac3 by XBMC and displays a standard Dolby Digital flag in Confluence. The DTSMA only has the one audio stream, and is bitstreamed as normal DTS. I believe if you enable HD audio (LPCM) then XBMC will send the uncompressed (DTSMA) audio to the receiver instead of the DTS core.
Let me know if you need further info on this, I've been doing quite a bit of research into retaining quality from my original sources.
Posts: 1,234
Joined: Nov 2008
Reputation:
5
I did a quick check on my laptop with your 300 video. It was showing "truehd" as the codec on the video info panel. I tried adding truehd.png to my audio codec folder, but it still showed dolby digital.
I then tried substring(listitem.audiocodec,truehd) just to see if I could get it to show and it didn't either.
Not sure where to go from there. I am sure Jezz has WAY more knowledge on the codec side of things.