Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222) +--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112) +--- Thread: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) (/showthread.php?tid=275083) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
|
RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - diogosena - 2017-11-02 (2017-11-02, 00:57)wrxtasy Wrote:(2017-11-01, 19:04)diogosena Wrote: Hi, I'm trying to see LiveTv using MiBox trough my internal TvHeadend server, but the 1080i image is rendered at half size and stretched, giving very bad quality. Don't give up too soon.. I managed to solve it! This is how you enable amcodec in spmc https://github.com/koying/SPMC/issues/1036#issuecomment-341298748 RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - tiku100 - 2017-11-02 (2017-11-01, 19:04)diogosena Wrote: Hi, I'm trying to see LiveTv using MiBox trough my internal TvHeadend server, but the 1080i image is rendered at half size and stretched, giving very bad quality. (2017-11-02, 14:35)diogosena Wrote:(2017-11-02, 00:57)wrxtasy Wrote:(2017-11-01, 19:04)diogosena Wrote: Hi, I'm trying to see LiveTv using MiBox trough my internal TvHeadend server, but the 1080i image is rendered at half size and stretched, giving very bad quality. Wow! Have you noticed any performance improvement? RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - diogosena - 2017-11-02 (2017-11-02, 21:08)tiku100 Wrote:(2017-11-01, 19:04)diogosena Wrote: Hi, I'm trying to see LiveTv using MiBox trough my internal TvHeadend server, but the 1080i image is rendered at half size and stretched, giving very bad quality. i didn't exactly compare performance, similar to mediacodec, but it can play things that mediacodec can't, like my tv stream. RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - wrxtasy - 2017-11-03 @diogosena, nice work Sherlock with SPMC. It's a pity Xiaomi did not implement Amcodec properly because the Mi Box is fully capable. I have had dynamic refresh switching working with the Movie Player App on Nougat Firmware 1028. Even used Kodi and it's external player functionality to activate such an App. Refresh switching would also work now with your mods and SPMC if you issue a: Code: chmod 666 /sys/class/display/mode RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - diogosena - 2017-11-03 (2017-11-03, 00:48)wrxtasy Wrote: @diogosena, nice work Sherlock with SPMC. It's a pity Xiaomi did not implement Amcodec properly because the Mi Box is fully capable. right! tried so many things, forgot to note that one, i'll add to the post for future reference RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - wrxtasy - 2017-11-03 Then - remember the "HDMI Self adaptation" Android settings function on some AMLogic boxes ? Well that activates AMLogic's Frame Rate Automation functionality for smooth 23.976, 29.97 and 59.94fps video playback. The equivalent of Android settings - HDMI Self Adaptation activation is: Code: echo 1 > /sys/class/tv/policy_fr_auto An echo 2 used to be Global Auto switching that even worked in various non Kodi / Plex Apps - but it seemed a bit experimental if you read the AML S9xx Linux Kernel comments. MINIX with their U9-H for example still have these Mode 1 and Mode 2 selections available in Android settings. RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - llonca13 - 2017-11-03 Wow guys congrats. Thank you for this, finally smooth video on my mibox @wrxtasy So with spmc auto switching its best to disable android HDMI selfadaptation? Or no? RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - wrxtasy - 2017-11-03 HDMI Self Adaptation = AMLogic Frame Rate Automation Mode 1 which is exactly what you want enabled for smooth 23.976, 29.97, 59.94fps video playback once auto refresh switching is working with Amcodec hardware video acceleration. SPMC 16.7.1 (Jarvis) also naturally needs - Adjust Display Refresh Rate > Start/Stop For Kodi Krypton Mediacodec Hardware video acceleration and working auto refresh switching, I believe there are specific AMLogic Firmware patches needed for Android, that only MINIX on their U9 and WeTek on the Hub / Play2 have implemented. No idea what those ones are. There are also refresh switching 10bit HEVC playback bugs in AML Android Marshmallow Firmware when used with Mediacodec that only the real clever developers like @Ricardo with his WeTek Hub / Play2 Android TV ROM's has fixed when I helped him Log and bug bust. MINIX has also fixed this on the U9. Not all AMLogic Android Boxes are created equal, especially when it comes to Android Marshmallow & Kodi Krypton compatibility. Nougat is a slight improvement. RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - llonca13 - 2017-11-03 Tnak you for this elaborate explanation. I admit im a framerate perv , before I didnt even notice, but after a year or two on LE now is really bugging me when there is not framerate sync Thank you diogosena for sherlocking this thank you I will go to pimp my mibox now , I will also try this amcodec with x265 4k HDR to see if it passes correct colorspace like recent kzaq builds on 905x LE and post back my findings.. Cheers RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - woronczak - 2017-11-03 (2017-11-03, 00:48)wrxtasy Wrote: @diogosena, nice work Sherlock with SPMC. It's a pity Xiaomi did not implement Amcodec properly because the Mi Box is fully capable. @wrxtasy - were you able to get the external player (amlogic player) to play network shares using Kodi (and if so how?). As far as I can see, it only handles local files this way. RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - wrxtasy - 2017-11-03 No local only. RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - woronczak - 2017-11-03 (2017-11-03, 12:25)woronczak Wrote:Ok Kool thanks. Refresh rate switching works with spmc by the way with the chmod changes. Awesome troubleshooting guys(2017-11-03, 00:48)wrxtasy Wrote: @diogosena, nice work Sherlock with SPMC. It's a pity Xiaomi did not implement Amcodec properly because the Mi Box is fully capable. RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - llonca13 - 2017-11-03 Just to confirm spcm refresh work great, even with 4k movies HDR atrirbutes still doesnt get passed in spmc (16 or 17), I tried every posibble combination. I even tried to do this command: Code: echo '444,10bit' > /sys/class/amhdmitx/amhdmitx0/attr EDIT : wait, so only thing that xioami had to do to enable auto refresh rate switching was : chmod 666 works with mediacodec too RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - llonca13 - 2017-11-03 After further testing i noticed refresh rate doesnt work with amcodec on my old Sony LCD. After starting video the screen switches to black screen only. Changing input to another hdmi input and then back to input (where kodi is connected) gets me the video again but with 60hz refresh rate. After turning off amcodec in kodi settings automatic refresh rate sync works perfectly with default decoder (mediacodec). On my new Samsung tv(2016) refresh rate switching works perfectly with both amcodec and mediacodec RE: Xiaomi 4K HDR 'Mi Box' (Android TV set-top box) - alucard89 - 2017-11-03 (2017-10-31, 20:43)mazleu Wrote: First uninstall all Amazon apps Hi, I tried installing from that link But I'm not getting HD at all, amazon prime was stuck at SD only. Anything else I need to change in the settings probably? |