Posts: 452
Joined: Aug 2016
Reputation:
9
No, HDMI (ARC) or SPDIF, it's the same (except that for me SPDIF is much more reliable than shitty HDMI). Since you are using BRAVIA then most likely the problem is that you are using official build which by default transcode to 640kbps AC3 which does not work in KODI on any android TV thanks to shitty MTK and shitty vendors.
Try with the one from post #215.
Posts: 13
Joined: Jan 2017
Reputation:
0
Wegel
Junior Member
Posts: 13
For the record, never had any problems with AC3 passthrough with my *shitty* X850C, running either Android 5.0 or 6.0, using official Jarvis. Not enough milage with Krypton to say yet.
Posts: 23,289
Joined: Aug 2011
Reputation:
1,077
fritsch
Team-Kodi Developer
Posts: 23,289
2017-01-08, 15:10
(This post was last modified: 2017-01-08, 15:11 by fritsch.)
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).
The difference between "goodpatched" and "probablyfinal" is the following:
- goodpatched had a more intrusive fix for the LiveTV issue, e.g. the opening of single decoders. This might cause a lot of issues and is not well tested and far too intrusive for Krypton
- probablyfinal instead tries to workaround that issue within MediaCodec itself without harming the complete architecture of all other OSses, only cause of Android shortcoming.
Any questions left?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 452
Joined: Aug 2016
Reputation:
9
just one more. Reading your instructions, it looks like sync playback to display is mandatory for transcoding. Also "(Without the Sync playback, no need to reencode and 640 Kbit/s would be output)" tells me it has to be on. But I keep it off and DTS to 384kbps AC3 works just fine.
Posts: 23,289
Joined: Aug 2011
Reputation:
1,077
fritsch
Team-Kodi Developer
Posts: 23,289
2017-01-08, 15:55
(This post was last modified: 2017-01-08, 16:50 by fritsch.)
Nope. It's not mandatory.
Let's do it by example:
Configuration 0:
PCM 5.1 channels
AC3 Passthrough enabled
Transcoding enabled
Sync Playback to Display: Enabled
Configuration 1:
PCM 5.1 channels
AC3 Passthrough enabled
Transcoding enabled
Sync Playback: Disabled
Configuration 2:
PCM 2.0 channels
AC3 PT enabled
Transcoding enabled
Sync Playback: Disabled
Configuration 3:
PCM 2.0 channels
AC3 PT enabled
Transcoding enabled
Sync Playback Enabled
Now we play the following files (all with h264 video, so video files): AC3 640 Kbit/s (1) DTS (2) 5.1 flac (3)
In configuration 0
PCM 5.1 output (1)
PCM 5.1 output (2)
PCM 5.1 Output (3)
Reason: Sync Playback to Display
In configuration 1
AC3 Output 640 Kbit/s PT (1)
PCM 5.1 output (cause we don't have DTS support, would be DTS if we had support for it) (2)
PCM 5.1 Output (3)
In configuration 2
AC3 Output 640 Kbit/s PT (1)
DTS transcoded to AC3 (cause of Transcoding and no 5.1 output available) (2)
Flac output as AC3 - as we cannot output 5.1 via PCM, only 2.0 channels (3)
In configuration 3
AC3 transcoded to AC3 cause of Sync Playback to Display (1)
DTS transcoded to AC3 (cause of Transcoding and no 5.1 output available) (2)
Flact 5.1 transcoded to AC3 (cause of no PCM 5.1 output available) (3)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 452
Joined: Aug 2016
Reputation:
9
OK, this is very informative. THX.
Posts: 23,289
Joined: Aug 2011
Reputation:
1,077
fritsch
Team-Kodi Developer
Posts: 23,289
That's exactly the idea. There is no need to use transcoding the very moment you have an HDMI that can output PCM 5.1 - you know, output 5.1 PCM will for sure have better quality, then reencoding this 5.1 PCM to AC3 and then outputting it.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.