(2017-02-06, 10:53)mo123 Wrote: (2017-02-06, 10:43)thrxxx Wrote: (2016-09-05, 23:15)AFTVboy Wrote: Android Firmware that meets the IEC61937 Audio standard used in Kodi Krypton v17 currently includes the Xiaomi Mi Box and the nVIDIA Shield.
Any other Android Kodi boxes not implementing the IEC standard in Firmware will have DTS and HD Audio Passthrough issues with Kodi Krypton. These devices must use Kodi Jarvis or for DTS passthrough - Transcode the Audio to AC3, using the following Kodi Audio settings:
Number of Channels: 2.0
Passthrough: On
AC3: Yes
AC3 Transcoding: Yes
DTS: No
OR if you want full Audio passthrough with Kodi (inc. HD) with an AMLogic S905 device, flash LibreELEC Kodi to a Samsung EVO or Sandisk Class 10 microSDHC card.
W.
sorry for bugging.
how can I know if an android box is compliant with the IEC standard?
is there a raccomended list for kodi?
I loved my experience with a cheap android box and kodi.... it worked just flawless... and kodi 17 is way better in my opinion...
IEC61937 - Currently the Xiaomi Mi Box, NVIDIA Shield &
Devices with Rockchip processors like Ugoos(UT3, UT4, UT6) & Nagrace(NT-N8, NT-V8, NT-V6) also support it.
Just avoid any cheap, zero supported, no name devices with flashy advertisements that mean nothing from Amlogic & Rockchip otherwise you can forget about pass-through ever working.
...the no-name boxes are in, or slowly but surely they all will be, in the mix. Passthrough works fine with latest upcoming (02/17) firmware releases and kodi 17. At least that's what it looks like, I just look at the logs.
Word to the wise:
as RK is actively developing its own private decoder - it can and will break from public standards - unexpectedly, with any given update. If you want standards compliant hardware, whether it be for audio or video related functions, Rockchip is a poor choice.
Code:
22:41:05.551 T:18446744072286140512 NOTICE: Starting Kodi (17.0 Git:20170201-a10c504). Platform: Android ARM 32-bit
22:41:05.551 T:18446744072286140512 NOTICE: Using Release Kodi x32 build
22:41:05.551 T:18446744072286140512 NOTICE: Kodi compiled Feb 1 2017 by GCC 4.9.0 for Android ARM 32-bit API level 21 (API level 21)
22:41:05.551 T:18446744072286140512 NOTICE: Running on rockchip T051 with Android 5.1.1 API level 22, kernel: Linux ARM 64-bit version 3.10.0
22:41:05.551 T:18446744072286140512 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
22:41:05.551 T:18446744072286140512 NOTICE: 8 CPU cores available
22:41:05.552 T:18446744072286140512 NOTICE: Product: rk3368_box, Device: rk3368_box, Board: rk30sdk - Manufacturer: rockchip, Brand: Android, Model: T051, Hardware: rk30board
22:41:05.621 T:18446744072286140512 DEBUG: Firmware implements AC3 RAW
22:41:05.621 T:18446744072286140512 DEBUG: Firmware implements EAC3 RAW
22:41:05.622 T:18446744072286140512 DEBUG: AESinkAUDIOTRACK - 32000 supported
22:41:05.623 T:18446744072286140512 DEBUG: AESinkAUDIOTRACK - 44100 supported
22:41:05.624 T:18446744072286140512 DEBUG: AESinkAUDIOTRACK - 48000 supported
22:41:05.625 T:18446744072286140512 DEBUG: AESinkAUDIOTRACK - 96000 supported
22:41:05.625 T:18446744072286140512 DEBUG: AESinkAUDIOTRACK - 192000 supported
22:41:05.626 T:18446744072286140512 DEBUG: AESinkAUDIOTrack: Using IEC PT mode: 10
22:41:05.626 T:18446744072286140512 DEBUG: 8 Channel PT via IEC61937 is supported
22:41:05.626 T:18446744072286140512 NOTICE: Found 1 Lists of Devices
22:41:05.626 T:18446744072286140512 NOTICE: Enumerated AUDIOTRACK devices:
22:41:05.626 T:18446744072286140512 NOTICE: Device 1
22:41:05.627 T:18446744072286140512 NOTICE: m_deviceName : AudioTrack
22:41:05.627 T:18446744072286140512 NOTICE: m_displayName : android
22:41:05.627 T:18446744072286140512 NOTICE: m_displayNameExtra: audiotrack
22:41:05.627 T:18446744072286140512 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
22:41:05.627 T:18446744072286140512 NOTICE: m_channels : FL,FR,FC,LFE,BL,BR,SL,SR
22:41:05.627 T:18446744072286140512 NOTICE: m_sampleRates : 32000,44100,48000,96000,192000
22:41:05.627 T:18446744072286140512 NOTICE: m_dataFormats : AE_FMT_S16LE,AE_FMT_RAW,AE_FMT_RAW
22:41:05.627 T:18446744072286140512 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD,STREAM_TYPE_TRUEHD
22:41:31.997 T:18446744072304477320 INFO: CAEStreamParser::SyncTrueHD - TrueHD stream detected (8 channels, 48000Hz)
22:41:31.999 T:18446744072304477320 NOTICE: Creating audio stream (codec id: 86061, channels: 8, sample rate: 48000, pass-through)
22:41:31.999 T:18446744072304477320 DEBUG: CVideoPlayerAudio:: synctype set to 0: clock feedback
22:41:32.000 T:18446744072287574968 INFO: CActiveAESink::OpenSink - initialize sink
22:41:32.000 T:18446744072287574968 DEBUG: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack
22:41:32.000 T:18446744072287574968 DEBUG: CAESinkAUDIOTRACK::Initialize requested: sampleRate 192000; format: AE_FMT_RAW; channels: 8
22:41:32.001 T:18446744072287574968 DEBUG: Updated SampleRate: 32000 Distance: 160000
22:41:32.001 T:18446744072287574968 DEBUG: Updated SampleRate: 48000 Distance: 144000
22:41:32.001 T:18446744072287574968 DEBUG: Updated SampleRate: 96000 Distance: 96000
22:41:32.001 T:18446744072287574968 DEBUG: Updated SampleRate: 192000 Distance: 0
22:41:32.001 T:18446744072287574968 NOTICE: Trying to open: 192000 samplerate 6396 channelMask 10 encoding
22:41:32.003 T:18446744072287574968 DEBUG: Minimum size we need for stream: 35665
22:41:32.003 T:18446744072287574968 DEBUG: Created Audiotrackbuffer with playing time of 23.218750 ms min buffer size: 71330 bytes
22:41:32.004 T:18446744072300234680 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
22:41:32.015 T:18446744072287574968 NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 192000 format: AE_FMT_S16LE (AE) method: IEC (PT) stream-type: STREAM_TYPE_TRUEHD min_buffer_size: 71330 m_frames: 2229 m_frameSize: 16 channels: 8
22:41:32.016 T:18446744072300234680 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
22:41:32.021 T:18446744072287574968 DEBUG: CActiveAESink::OpenSink - AUDIOTRACK Initialized:
22:41:32.021 T:18446744072287574968 DEBUG: Output Device : android
22:41:32.021 T:18446744072287574968 DEBUG: Sample Rate : 192000
22:41:32.022 T:18446744072287574968 DEBUG: Sample Format : AE_FMT_S16NE
22:41:32.022 T:18446744072287574968 DEBUG: Channel Count : 8
22:41:32.022 T:18446744072287574968 DEBUG: Channel Layout: FL,FR,FC,LFE,BL,BR,SL,SR
22:41:32.022 T:18446744072287574968 DEBUG: Frames : 2229
22:41:32.022 T:18446744072287574968 DEBUG: Frame Size : 16
OTisplay.Mode is where RK won't budge, they are intentionally forking old versions of kodi to build against in favor of their dead end RKdecoder which implements their private, non-standards compliant refresh switching, etc.
Sorry for the users that got trapped, but I'm done with RK because of this. Dropping my last release over at freaktab and game over after that.