OpenELEC Testbuilds for RaspberryPi Part 2 - 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: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: OpenELEC Testbuilds for RaspberryPi Part 2 (/showthread.php?tid=184866) 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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
RE: OpenELEC Testbuilds for RaspberryPi Part 2 - markius - 2014-01-30 Just to confirm - 25Hz is not correct for PAL it should definitely set a refresh rate of 50Hz. Also, it looks like the player is detecting the wrong framerate in the stream (see 23:16:07 389.255035) below. The stream is 1080i 50fps RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2014-01-30 (2014-01-30, 01:05)markius Wrote: Just to confirm - 25Hz is not correct for PAL it should definitely set a refresh rate of 50Hz. Maybe if you are talking about interlaced content on a composite television. For progressive output to a HDMI display, then outputting 25Hz where supported makes more sense. When we output to a 50Hz display, we have to send each image twice. That achieves nothing other than wasting CPU and memory bandwidth. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-01-30 I guess the thing to do would be to check what a non-Pi build of Gotham does with the same material and display. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - markius - 2014-01-30 Not talking about composite or anything like that. 25 *fields* per second (EG 1080i - "interpolated") is still 50 *frames* per second. Deinterlacing my friend! Also the non gotham builds on the Pi do 50Hz for the same content and it doesn't look like crap! Edit: clarfication of fields per second vs frames per second RE: OpenELEC Testbuilds for RaspberryPi Part 2 - tuxen - 2014-01-30 Ahh I get my friend. I don't come across much interlaced content where I live. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2014-01-30 (2014-01-30, 01:21)MilhouseVH Wrote: I guess the thing to do would be to check what a non-Pi build of Gotham does with the same material and display. It will pick the *biggest* multiple of the framerate that is supported. If your TV supports 150Hz then it will choose that as the best match for a 25fps video, and use several times as much cpu to do it. It doesn't mean that's the correct think to do... RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-01-30 Sure, just wondering if it would help clarify if the Pi is doing something wacky, or if it's a general XBMC "issue" (I suspect it's the latter). RE: OpenELEC Testbuilds for RaspberryPi Part 2 - tuxen - 2014-01-30 @delinend: Code: advancedsettings> Obviously if Gotham is doing the opposite switch values. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - tuxen - 2014-01-30 You are correct about 1080i PAL source if you want to display all the fields. But 24fps, 25fps or 30fps progressive displayed at double refresh rate or in the case of 24fps a pulldown to 60p won't let you see anymore pictures or fields or make a soccer game more fluid. On my TV there's no difference in "flicker" between 25hz and 50hz at all, and yes I have all CMR and image processing options off. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2014-01-30 (2014-01-30, 01:32)markius Wrote: Not talking about composite or anything like that. Yes, that's why I've been clarifying what I'm saying with 25 fps progressive is fine at 25 Hz. Interlaced content with deinterlace enabled is different, as the deinterlace algorithm doubles the framerate, so 50 Hz would be better. RE: OpenELEC Testbuilds for RaspberryPi Part 2 - markius - 2014-01-30 Thanks for the pointer, tuxen I added... Code: <video> ...to advancedsettings.xml which is a good workaround for now. However, any content that is genuinely 25 frames per second will also output at 50Hz which it has been pointed out is a waste of resources. I suspect the issue is further upstream. Interpolated/interlaced content should set the refresh rate to double the frames per second and for some reason, in these builds it does not do that. FYI: Code: OpenELEC:~/.xbmc/userdata # cat /proc/version EDIT: <refresh>50.0</refresh> !! RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-01-30 New OpenELEC Gotham build: #0130 (Supercedes previous build) Code: # uname -a Based on tip of XBMC master (196ae9f, changelog) and tip of OpenELEC master (6d01e5f, changelog) with the following modifications:
Additional Testing Notes:
RE: OpenELEC Testbuilds for RaspberryPi Part 2 - delinend - 2014-01-30 (2014-01-30, 01:21)MilhouseVH Wrote: I guess the thing to do would be to check what a non-Pi build of Gotham does with the same material and display. Hi Milhouse. I have just installed Gotham Nightly build for Windows (XBMCSetup-20140128-56c2654-master.exe ) on my Laptop, with HDMI to my screen in 1920x1080p60. To test 25p/50p on that version. My only setting in XBMC: Video->Playback->Adjust display refresh rate to match video = Always No change in advancedsettings.xml !!! When playing 24p movies, the display switch to 1920x1080p24 When playing PAL25p movies, the display switch to 1920x1080p50 !! The Windows Gotham build, do the same as Frodo, switching 25p to 50p. And that look's good. It look's like the problem is only on Pi-build :-( Best regards RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-01-30 @delinend/@popcornmix: After plumbing my Pi into my Onkyo 828 amp (what a palava!) I've spent the last couple of hours testing old and new builds with respect to this refresh issue. I deleted guisettings.xml and set "Adjust display refresh rate to match video" set to "Always", and apart from enabling debug logging, changed nothing else. My advancedsettings.xml does not include any defaultdvdplayer settings, so omxplayer is the default player and that is what I used for all tests. Going as far back as mid December, all of my Gotham builds have this same 25Hz in, 25Hz out behaviour (or 29.970/30Hz in, 30Hz out). 24Hz in is output at 24Hz. So this is not a recent problem. I then created a build without any newclock3 patches (but still using the latest Jan 28 firmware), and now 25Hz material is being output at 50Hz (and 30Hz material at 60Hz), so it's definitely a newclock3 patch that is causing this difference in video refresh rate behaviour. I proceeded to build Gotham with just the following newlock3 patch, and the 25Hz in, 25Hz out and 30Hz in, 30Hz out behaviour returned: Code: popcornmix/xbmc/commit/a674b64876f81813036485de22fe15de95d5ed58 [3D] Support switching to 3D resolutions so that would appear to be the culprit. Personally I'm not even sure this new behaviour should be classed as "wrong", it seems more logical to me but if it causes juddering on some setups (and doubling the frame rate doesn't) then I guess using the higher frame rate is the way to go... Here's a debug log, without the 3D switching patch, when playing 24Hz, 25Hz and 29.970Hz material (output at 24Hz, 50Hz and 60Hz respectively). Here's a debug log, WITH the 3D switching patch, playing the same 24Hz, 25Hz and 29.970Hz material (output at 24Hz, 25Hz and 30Hz respectively). If you look at where each build detects 3D movies, the difference is clear: Without 3D switching patch - playing 29.970 material (output at 60Hz): Code: 09:05:50 T:2928178256 NOTICE: not a 3D movie and now with the 3D switching patch, same 29.970 material this time output at 30Hz: Code: 09:10:22 T:2716857424 NOTICE: not a 3D movie RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Dimitriss - 2014-01-30 Hi guys, I'm getting the same judder when my TV is switching to 25hz for 25p content, the CPU seems to be at 100% all the time, maybe that is the reason for the judder and not the HZ. Also every 3 or 4 frames i'm getting a green screen. DVDPlayer seems to handle HD 24p content very well, FF and BW is a little bit slow but it's not a problem. My RPi is overclocked @1000:500:500. |