Kodi Community Forum
Android Passthrough Changes with v17 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Android (https://forum.kodi.tv/forumdisplay.php?fid=164)
+---- Thread: Android Passthrough Changes with v17 (/showthread.php?tid=289735)



RE: Passthrough Changes with v17 - Etzi - 2017-01-11

(2017-01-08, 15:10)fritsch Wrote: That's a "hidden hack" or a combination of features. Sync Playback to Display will use the display clock to time the video image to screen. While PT audio runs at wallclock (most of the time not the Display Clock), Sync Playback to Display would plain disable PT and output LPCM.

Though - as we did not want that SPDIF users with 2.0 pcm channels only, would loose surround sound, we go the Transcode path in that combination. So for your Sony TV that only supports 384 Kbit/s with the official API - you cannot output normal 640 Kbit/s AC3, right? Therefore this setting combination will decode it and reencode it to 384 Kbit/s AC3. Clever isn't it? (Without the Sync playback, no need to reencode and 640 Kbit/s would be output).

Thx for the tip... Big Grin
Works fine for Philips TV to, to force it to transcode...


RE: Passthrough Changes with v17 - ssarava9 - 2017-01-13

(2016-12-13, 07:16)fritsch Wrote: You are free to do so ... if you look at the pr it's a setting already.

via: https://github.com/xbmc/xbmc/pull/11138/commits/9865028663177fbc161ffaddb7b656c8e74f4679
Code:
<advancedsettings>
  <audio>
     <forcepcmpassthrough>true</forcepcmpassthrough>
  </audio>
</advancedsettings>

Hi Fritsch,

How to force change pcmpassthrough in Kodi 17 rc3, I checked the advanced settings but there is no option , please help


RE: Passthrough Changes with v17 - fritsch - 2017-01-13

It's not there and won't come. See one of your other threads...


RE: Passthrough Changes with v17 - davedeluria - 2017-01-13

Hello from the Philippines.

Thank you for this thread. I have one of these shitty boxes (MXQ Pro) and following everything said here I was able to get Jarvis 16.1 to passthru HD Audio using Libreelec method. DTS-HD and TrueHD work and the performance of Kodi is immensely faster without the bloat of the Android OS.

It's NOT KODI that's at fault but the android firmware. Thank you for the hard work Smile

I'll just wait for Libreelec to have a img that has Kodi 17 before updating Smile


RE: Passthrough Changes with v17 - Numus - 2017-01-14

(2017-01-05, 12:41)fritsch Wrote: Just set pcm channels to 2.0 and enable Dolby / AC3 Transcoding and all those DTS / DTS-HD will come out as AC3 ...

Just want to confirm that you are saying it will come out as AC3 but still be a DTS-MA stream (audio channels and settings)?


RE: Passthrough Changes with v17 - kinggo - 2017-01-14

key word......transcoding


RE: Passthrough Changes with v17 - wrxtasy - 2017-01-14

(2017-01-11, 20:09)ssarava9 Wrote:
(2017-01-11, 19:36)Martijn Wrote:
(2017-01-11, 19:34)Geniy Wrote: DTS passthrough in Kodi 17 RC don't work. In 16.1 and another alternative playyer all ok. Checkboxes on "Allow passthrough" and "DTS Capable reciever" active. No sound than I select DTS track at all.

Logs http://paste.ubuntu.com/23782631/
See 20:11:45
Throw it away a wait till you get new firmware update on it. Sorry but not our problem

Have the latest firmware released in November 2016, can anyone confirm getting DTS in android using Kodi 17?
It is a bug in Kodi 17
As Martjn, Fritsch and others have been saying its NOT a bug in Kodi 17 but the shitty Android Firmware you have on your box.

You better hope like hell that wherever/whomever you got your box from updates its Android Firmware to fix your DTS Audio issues otherwise throw the device away and get a Android Box with Firmware support OR if its an AML S905 use LibreELEC OR as a last resort look for 3rd party Android Firmware on the Freaktab Website.
Chalk it down to an educational experience. We all have one or two dud, unsupported devices in our Skeleton closet Wink

This needs to be read as well if not done already....

https://kodi.tv/kodi-v17-krypton-release-candidate-1/

Quote:Welcome to Android MediaCodec standards only

One of the last custom implementation we had was Amlogic related code which was the device were it all started with Kodi on Android. We had to resolve to this custom implementation back then to access certain hardware parts which Android officially couldn’t yet. Due to this legacy and how we had things implemented we couldn’t switch this off just yet in past releases.

Over the past months with the help of MINIX we have been working closely with the Amlogic to get everything in order and we can say Android Marshmallow and onward will have the best experience possible for devices containing these chipsets.

Amlogic even went as far as adding the IEC61937 audio passthrough back into Android Marshmallow which normally is only available since Android Nougat. We would certainly like to thank Amlogic and MINIX for going to this extend of cooperation making the experience and support of Kodi on Android a bit better.
Now Amlogic has done their part on proving a good bases it’s up to manufacturers and vendors to supply updates for their devices over coming months....

And as an Example of a vendor providing good support. The AMLogic Marshmallow S905x Xiaomi Mi Box got a Firmware update a couple of days ago that contains this IEC Audio support. It can now passthrough 5.1/7.1 Dolby Atmos/TrueHD, DTS:X/HD-Master Audio with Kodi Krypton RC3. This is exactly what we mean by supported Android Kodi boxes.

In fact I see very few reasons why a person would purchase a cheap unsupported Android device if they want regular Firmware updates and Kodi support to be improved upon and Kodi A/V features to actually work.


RE: Passthrough Changes with v17 - fritsch - 2017-01-14

One correction: We don't support boxes - we support standards. If rockchip or bombonchip or chocolatechip or icecreamchip tomorrow will release a standard compliant android box - everything will work (minus our bugs ;-)).


RE: Passthrough Changes with v17 - Numus - 2017-01-14

(2017-01-14, 05:26)wrxtasy Wrote:
(2017-01-11, 20:09)ssarava9 Wrote:
(2017-01-11, 19:36)Martijn Wrote: Throw it away a wait till you get new firmware update on it. Sorry but not our problem

Have the latest firmware released in November 2016, can anyone confirm getting DTS in android using Kodi 17?
It is a bug in Kodi 17
As Martjn, Fritsch and others have been saying its NOT a bug in Kodi 17 but the shitty Android Firmware you have on your box.

You better hope like hell that wherever/whomever you got your box from updates its Android Firmware to fix your DTS Audio issues otherwise throw the device away and get a Android Box with Firmware support OR if its an AML S905 use LibreELEC OR as a last resort look for 3rd party Android Firmware on the Freaktab Website.
Chalk it down to an educational experience. We all have one or two dud, unsupported devices in our Skeleton closet Wink

This needs to be read as well if not done already....

https://kodi.tv/kodi-v17-krypton-release-candidate-1/

Quote:Welcome to Android MediaCodec standards only

One of the last custom implementation we had was Amlogic related code which was the device were it all started with Kodi on Android. We had to resolve to this custom implementation back then to access certain hardware parts which Android officially couldn’t yet. Due to this legacy and how we had things implemented we couldn’t switch this off just yet in past releases.

Over the past months with the help of MINIX we have been working closely with the Amlogic to get everything in order and we can say Android Marshmallow and onward will have the best experience possible for devices containing these chipsets.

Amlogic even went as far as adding the IEC61937 audio passthrough back into Android Marshmallow which normally is only available since Android Nougat. We would certainly like to thank Amlogic and MINIX for going to this extend of cooperation making the experience and support of Kodi on Android a bit better.
Now Amlogic has done their part on proving a good bases it’s up to manufacturers and vendors to supply updates for their devices over coming months....

And as an Example of a vendor providing good support. The AMLogic Marshmallow S905x Xiaomi Mi Box got a Firmware update a couple of days ago that contains this IEC Audio support. It can now passthrough 5.1/7.1 Dolby Atmos/TrueHD, DTS:X/HD-Master Audio with Kodi Krypton RC3. This is exactly what we mean by supported Android Kodi boxes.

In fact I see very few reasons why a person would purchase a cheap unsupported Android device if they want regular Firmware updates and Kodi support to be improved upon and Kodi A/V features to actually work.

What I find amazing is these claims that it is the devices fault, when there is a thread specifically about how they tested passthru and here is a post where someone confirmed DTS passthru was working and showed the proper format (DTS) on an onkyo receiver (they have roughly the same setup I have)... So magically it worked in 16, but now with 17 it must be the devices fault?

I am running Kodi on a Fire Tv 2 (4k) ...

Edit: The question is why did you remove the "pcm hacks" when they seem to work fine? Or atleast give us the option to use them (since they apparently worked fine in 16.1) instead of forcing us to use the standards?
http://46.43.42.37/ticket/16875?cversion=0&cnum_hist=17

Changed at 2016-09-02T18:08:45+01:00 by fritsch - Kodi 17 will only support "standards" - if the firetv does not support these standards, you won't have a chance with version 17. I am in the progress of removing the PCM hacks.

I have been using XBMC (Kodi) since it first came out for the original xbox (Back in the Xbox Media Player days)... The entire project was developed on a hack so why all of the sudden is it not acceptable to still utilize a hack if it seemed to work for so many?


RE: Passthrough Changes with v17 - kinggo - 2017-01-14

because it didn't work fine. It worked until for some unknown reason at some random point in time decided to stop working and blow your ears and speakers instead. Thera are numerous threads here from people with this problem.
So, either continue with v16 or sideload "shitty" version of krypton that can be found on mirrors.
Or just properly read at least this thread and you won't be amazed by anything because this subject has been explained 8923597509 times already.


RE: Passthrough Changes with v17 - wrxtasy - 2017-01-14

@Numus,
What you are missing in all this is that to lesson the workload of Kodi Android developer coding support, everyone vendor that wants Kodi Krypton to run relatively smoothly on their device has to adhere to the exact same Android standards. And use the same Android Application Programming Interfaces.

Krypton v17 is the Line in the Sand moment when the Kodi devs have gone enough is enough. There will be no more custom hacks. Its no longer possible for everyone to do their own thing if they want proper A/V support into the future. The freely given Kodi developer resources are just not there.
Plus there are too many Android devices to provide custom programming support. Its simply impossible.

Simply put the burdon of adhering to well known Google Android standards rest solely with the Vendors and Chipset manufacturers from Krypton onwards.

Amazon hardware is very likely sold at cost price mainly to generate revenue from paid video streaming services. That it happened to run Kodi Jarvis using custom hacks has been fine up to this point. Amazon now have to get with the program and start adhering to publish standards. Sony as well, and all others that want Kodi support. Otherwise there will be continual pain for end Kodi users of such hardware going forward.


RE: Passthrough Changes with v17 - Jeffers24 - 2017-01-14

(2017-01-14, 11:43)wrxtasy Wrote: @Numus,
What you are missing in all this is that to lesson the workload of Kodi Android developer coding support, everyone vendor that wants Kodi Krypton to run relatively smoothly on their device has to adhere to the exact same Android standards. And use the same Android Application Programming Interfaces.

Krypton v17 is the Line in the Sand moment when the Kodi devs have gone enough is enough. There will be no more custom hacks. Its no longer possible for everyone to do their own thing if they want proper A/V support into the future. The freely given Kodi developer resources are just not there.
Plus there are too many Android devices to provide custom programming support. Its simply impossible.

Simply put the burdon of adhering to well known Google Android standards rest solely with the Vendors and Chipset manufacturers from Krypton onwards.

Amazon hardware is very likely sold at cost price mainly to generate revenue from paid video streaming services. That it happened to run Kodi Jarvis using custom hacks has been fine up to this point. Amazon now have to get with the program and start adhering to publish standards. Sony as well, and all others that want Kodi support. Otherwise there will be continual pain for end Kodi users of such hardware going forward.


+1

What is the standard that a buyer should look for, when buying an Android box??


RE: Passthrough Changes with v17 - fritsch - 2017-01-14

Some guys cannot distunguish between: works fine for me personally and works fine for everyone

Issues (thanks to wesk05):
http://forum.kodi.tv/showthread.php?tid=217937&pid=2419995#pid2419995
http://forum.kodi.tv/showthread.php?tid=217937&pid=2457364#pid2457364
http://forum.kodi.tv/showthread.php?tid=217937&pid=2420652#pid2420652
http://forum.kodi.tv/showthread.php?tid=260186&pid=2248752
http://forum.kodi.tv/showthread.php?tid=252852&pid=2242081#pid2242081
http://forum.kodi.tv/showthread.php?tid=220297&pid=2233494#pid2233494
http://forum.kodi.tv/showthread.php?tid=228158&pid=2234479#pid2234479
http://forum.kodi.tv/showthread.php?tid=252852&pid=2203068#pid2203068
http://forum.kodi.tv/showthread.php?tid=252852&pid=2202047#pid2202047
http://forum.kodi.tv/showthread.php?tid=228158&pid=2189107#pid2189107
http://forum.kodi.tv/showthread.php?tid=228158&pid=2189156#pid2189156
http://forum.kodi.tv/showthread.php?tid=251784&pid=2184950#pid2184950
http://forum.kodi.tv/showthread.php?tid=251392&pid=2182566#pid2182566
http://forum.kodi.tv/showthread.php?tid=228158&pid=2170080#pid2170080


RE: Passthrough Changes with v17 - wrxtasy - 2017-01-14

(2017-01-14, 11:55)Jeffers24 Wrote: +1

What is the standard that a buyer should look for, when buying an Android box??
Personal opinion...

Well Kodi sponsors obviously have a particular interest in the Kodi project itself so will provide better Firmware support & Kodi developer dialogue than others as they already have a vested interest in the project.

Then you have manufacturer developer resources.
Multinational Tech companies like nVIDIA & Xiaomi will naturally have more resources to call upon to develop and provide regular updates to known standards. nVIDIA is in a very unique position of being the hardware manufacturer and Android Firmware support / seller of the Shield. This naturally has extra benefits, especially when interacting with Google and Android TV.

AMLogic themselves look to be taking a serious interest in Android and doing their best lately to adhere to standards, which is a nice turn of events. LibreELEC developers are seeing some nice benefits from AMLogic now as well.

Sony and Amazon, well it's hard to see what they want to do. Sony seems slow providing any Android OS support to the required standards, and Amazon have made no mention of Android Nougat which will give IEC Audio support.

You will still then have the passionate guys like MINIX, WeTek, Himedia and Zidoo releasing Niche Android products to compete against the Multinationals. Again trying to release stable Firmware, with regular updates that meets the Android standards. Experience over a period of time with the same hardware chipset family is important here for getting decent Android Firmware.

In the end its all about priorities and resources made available by the manufacturer and willingness to adhere to Google standards.
Oh and avoid the cheap Ship and Forget Android sellers, hopeless Firmware support lies down that pathway.


And after all that I probably still did not answer the question. Wink
As already posted above, for the Audio standard used for Kodi Krypton - that being IEC61937 audio passthrough, currently only nVIDIA when they release Android Nougat on the Shield and AMLogic, with backported Nougat into Marshmallow Audio code will meet it.

At this present point in time the Xiaomi Mi Box is the only device I know of that meets the IEC61937 audio passthrough standard.


RE: Passthrough Changes with v17 - Jeffers24 - 2017-01-14

(2017-01-14, 12:40)wrxtasy Wrote:
(2017-01-14, 11:55)Jeffers24 Wrote: +1

What is the standard that a buyer should look for, when buying an Android box??
Personal opinion...

Well Kodi sponsors obviously have a particular interest in the Kodi project itself so will provide better Firmware support & Kodi developer dialogue than others as they already have a vested interest in the project.

Then you have manufacturer developer resources.
Multinational Tech companies like nVIDIA & Xiaomi will naturally have more resources to call upon to develop and provide regular updates to known standards. nVIDIA is in a very unique position of being the hardware manufacturer and Android Firmware support / seller of the Shield. This naturally has extra benefits, especially when interacting with Google and Android TV.

AMLogic themselves look to be taking a serious interest in Android and doing their best lately to adhere to standards, which is a nice turn of events. LibreELEC developers are seeing some nice benefits from AMLogic now as well.

Sony and Amazon, well it's hard to see what they want to do. Sony seems slow providing any Android OS support to the required standards, and Amazon have made no mention of Android Nougat which will give IEC Audio support.

You will still then have the passionate guys like MINIX, WeTek, Himedia and Zidoo releasing Niche Android products to compete against the Multinationals. Again trying to release stable Firmware, with regular updates that meets the Android standards. Experience over a period of time with the same hardware chipset family is important here for getting decent Android Firmware.

In the end its all about priorities and resources made available by the manufacturer and willingness to adhere to Google standards.
Oh and avoid the cheap Ship and Forget Android sellers, hopeless Firmware support lies down that pathway.


And after all that I probably still did not answer the question. Wink
As already posted above, for the Audio standard used for Kodi Krypton - that being IEC61937 audio passthrough, currently only nVIDIA when they release Android Nougat on the Shield and AMLogic, with backported Nougat into Marshmallow Audio code will meet it.

At this present point in time the Xiaomi Mi Box is the only device I know of that meets the IEC61937 audio passthrough standard.


Thanks for quick response Big Grin

From what I have read, correct me if I am wrong as always Smile my perception is that it is the audio standard where a lot of boxes fall down, so if I ask a supplier if their box meets the IEC61937 audio pass through standard and they reply yes, would that remove all the audio pass through issues?

If they don't reply don't buy, if they say yes and it doesn't I can send it back!

Is there a similar video standard that an android box should meet?