[WINDOWS] Internal Directshow Based Player [NO LONGER DEVELOPED] - 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: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: [WINDOWS] Internal Directshow Based Player [NO LONGER DEVELOPED] (/showthread.php?tid=61355) 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
278
279
280
|
- blinkseb - 2010-05-19 gulp Wrote:Compiling rev-30311 Weird I fixed that yesterday. VS2008 or vs 2010? Will check. - zilexa - 2010-05-19 Huh could you please clarify? Now other people are compiling as you recommended earlier many times... but they can't publish it.. Aren't you interested in test results? Do you expect every tester to compile her/his own build? No flame intended, just trying to understand. - blinkseb - 2010-05-19 zilexa Wrote:Huh could you please clarify? Now other people are compiling as you recommended earlier many times... but they can't publish it.. Aren't you interested in test results? Do you expect every tester to compile her/his own build? No flame intended, just trying to understand. You can of course share your build with everyone, just don't post a link on the thread. There is a difference between tiben & I builds and others. When we post a new build, it's usually for having feedback from you guys. Right now, there's nothing new on dsplayer : I'm passing my exams, and tiben's working on filters. So no need for testing. Futhermore, the builds are not tested like we do before uploading a new revs. If you want to share your build, I suggest you to open a new thread and post the link here, but tell clearly that's it's your build, so no support Thanks - zilexa - 2010-05-19 Ok thats clear, could get very confusing indeed, thanks. for me, this build has a lot new, new bugfixes - liquidskin76 - 2010-05-19 blinkseb Wrote:Weird I fixed that yesterday. VS2008 or vs 2010? Will check. Hey seb, 2008 for me. Cheers - gulp - 2010-05-19 liquidskin76 Wrote:Hey seb, 2008 for me too. - blinkseb - 2010-05-19 Fixed in r30320. I fixed that yesterday but forgot to commit Why no Scripts or Plugins? - offline_thk - 2010-05-20 Just a bit curious about why these are not present in DSPlayer builds and when you think we can expect them? Is this version not stable enough? - hsinchu308 - 2010-05-20 blinkseb Wrote:1) It's look like mpc-hc... because it's from mpc-hc Hi Blinkseb, Regarding #3: It worked, THANKS!!!! At first I changed the subtitle resolution from the default 1024 x 768 to 800 x 600...and absolutely no change in the stuttering or the subtitle resolution on screen, so I was quite puzzled. Then I see in the lines above that "round up to power of 2" for subtitle texture (the description from MPC-HC) was set to true, so I changed it to false, and voilĂ ...it worked. At 800x600 the stuttering with Asian subtitles was massively reduced, and at 640x480 it's completely gone. Could you put this in the GUI (w/ the ability to turn off "round up to power of 2") when your exams are done? FYI: With my Acer Revo 3610 (Intel atom w/ Nvidia ION), I still get occasional stuttering with English subtitles, even with the trunk version's DXVA2, so I've set up MPC-HC as my default MKV player in XBMC, so that I could watch a whole movie without stuttering due to subtitles (if I turn off the subtitle the stuttering disappears). To me this is a huge improvement, to be able to use the internal DSplayer! Thanks again. (When I started compiling XBMC I though I was going to spend a month or more rewriting the subtitle engine for the DXVA2 trunk, to get rid of the subtitle stuttering, but you've reduced the work to basically zero. ) PS. Subtitle font size at the smallest available (16) is still a little too big. Which file contain the list of font sizes? Can DSplayer handle subtitle font size < 16? - blinkseb - 2010-05-20 hsinchu308 Wrote:Hi Blinkseb, Thanks for the feedback! It's good to know that the power of two option is usefull. I'll had these to the GUI next week! For the subtitle font size, it's a known issue. I need to find a way to proper convert from dvdplayer size to pt. As you can see, I failed lol. You can trhow an eye on StreamsManager.cpp (XBMC project), line 790. The subtitle font size is set here. Tell me if you find the way to have the same font size in dsplayer as in dvdplayer - hsinchu308 - 2010-05-20 blinkseb Wrote:Thanks for the feedback! It's good to know that the power of two option is usefull. I'll had these to the GUI next week! Ok, I've changed line 791 in StreamManager.ccp to style.fontSize *= 13.0 / 72.0 and now subtitle font sizes in DSPlayer are identical to those of DVDPlayer (< 5% difference, I measured them with a ruler ). I am using font size of 28 now with my build. Thanks blinkseb. - blinkseb - 2010-05-20 hsinchu308 Wrote:Ok, I've changed line 791 in StreamManager.ccp to Any reason for 13.0 or did you test every possible values ? But thanks, I've made the change - hsinchu308 - 2010-05-20 blinkseb Wrote:Any reason for 13.0 or did you test every possible values ? But thanks, I've made the change I just calculated what the value has to be to make the subtitle size between the two players agree. Since the two players use completely different way of rendering subtitles, I did not want to spend too much time coming up with a more elegant equation, because the end result would still be the same. To verify, I checked the subtitle size at both 28pt and 42pt, for both 720p and 1080p movies, for both players, and they match. - blinkseb - 2010-05-20 hsinchu308 Wrote:I just calculated what the value has to be to make the subtitle size between the two players agree. Since the two players use completely different way of rendering subtitles, I did not want to spend too much time coming up with a more elegant equation, because the end result would still be the same. To verify, I checked the subtitle size at both 28pt and 42pt, for both 720p and 1080p movies, for both players, and they match. Well, the calculation already inplace was based on dvdplayer, with some tweaks. But it's great if you said it works for you, that's enough for me. I will try and commit the changes EDIT: Unfortunatly, still not correct for me. There must be some resolution issue. I'm at 1440x900, and I supposed it's not your case I'll need to investigate a little more, but it's clearly not a big issue right now. Anyway, I commit the change, since it allows having smaller subtitles Thanks! - hsinchu308 - 2010-05-21 blinkseb Wrote:Well, the calculation already inplace was based on dvdplayer, with some tweaks. But it's great if you said it works for you, that's enough for me. I will try and commit the changes Ok, I think I got it this time. Change line 790 and 791 to the following: style.fontSize = (float) g_guiSettings.GetInt("subtitles.height"); style.fontSize *= 27.1 / 72.0; I tested under both 1920x1200 (my desktop resolution) and 800x600 and the subtitle font sizes are now identical for dsplayer between the two resolutions, as well as between dsplayer and dvdplayer. Previously, changing the resolution from 1920x1200 to 800x600 changes the font size in dsplayer (by a factor of 2!) but not dvdplayer. Regards, |