[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
|
- therealjoeblow - 2010-06-10 (deleted - I was totally wrong here) Cheers The REAL Joe - hsinchu308 - 2010-06-10 tiben20 Wrote:can you provide a sample for this file Hi Tiben, Thanks. I tried to provide you with a sample by cutting the file from 290 MB to about 10 MB (8 secs of video), but then dsplayer does not have any problem loading the sample. I tried again with reducing the file size to 73 MB but again dsplayer loads the file just fine. Anyway, I've uploaded the entire file to here if you still want to take a look: http://rapidshare.com/files/397173100/M2U00181.MPG.html In the mean time I'll try to find you a smaller file. Regards, - therealjoeblow - 2010-06-10 (deleted - I'm having some problems, but described them wrong so have to start over tomorrow) Cheers The REAL Joe - oldpainless - 2010-06-10 Right, still testing, but changing MPC's error recognition from carefull to very agressive has fixed the juddery playback. K UPDATE - spoke too soon! - blinkseb - 2010-06-10 therealjoeblow Wrote:(deleted - I was totally wrong here) I've read your post before you edit it. I just want to add something very important for everyone : First, read a little about XML : http://www.w3schools.com/xml/default.asp Second, _always_ use an XML editor to avoid errors, like notepad++ (http://notepad-plus-plus.org/). You'll have syntaxic coloration, and the, you'll see when you edit XML in comments :p - zilexa - 2010-06-10 blinkseb Wrote:I've read your post before you edit it. I just want to add something very important for everyone : For the same reason I replaced notepad.exe file in Windows and system32 directory for Notepad2. It's not as good as a real editor like Notepad++, but more then enough for reading txt and most script/code and for doing little editing. Should be default in Windows. - tiben20 - 2010-06-10 hsinchu308 Wrote:Hi Tiben,Its fine i don't need a smaller sample.I got unlimited download and a 10mbit internet connection. I took a look at the sample and the problem is really the mpc mpeg source filter. I can read it with the demuxer i'm actually coding. Every file as a section for private data and this sample has a really really big sequence header over 200 its the first one i see like this. Haali is able to read it and my demuxer is able too so its just a question of time until im done with my demuxer to fix this one. No Video for MKV w/ Subtitles - hsinchu308 - 2010-06-10 Hi Seb, With R31004, my Windows 7 x86 machine with Chinese language can no longer play mkv's with subtitles in them - the audio continues but no video, because XBMC GUI stays on the screen. The same mkv plays fine on my XP machine with English language. I've tracked down the problem to line 2110 of DX9AllocatorPresentor.cpp, where the program detects the screen size: On the Windows 7 machine, a mkv WITHOUT subtitle has the following 2 adjacent debug lines: 13:45:22 T:2976 M:915836928 DEBUG: CEVRAllocatorPresenter::GetMixerThread Render manager configured (FPS: 23.976044) 13:45:22 T:1396 M:887353344 DEBUG: CDX9AllocatorPresenter:aint Detected screen size : 1920x1080 whereas a mkv WITH subtitles has the following 2 adjacent debug lines: 13:41:42 T:3800 M:860241920 DEBUG: CEVRAllocatorPresenter::GetMixerThread Render manager configured (FPS: 23.976044) 13:41:42 T:2632 M:861757440 DEBUG: Activating window ID: 12005 So it seems the "if (....Get()->SubtitleManager)" statement in DX9AllocatorPresentor.cpp is never entered into, to get the screen size. Can you please take a look and give me some suggestions? If you want I can put the full debug in the pastin (but it has quite a few of my own debug statements in it.) PS. On the Win 7 machine, I get the following line: NOTICE: CStreamsManager::LoadStreams Subtitle stream found : 英文 (美國 Whereas on the XP machine I get for the same file: NOTICE: CStreamsManager::LoadStreams Subtitle stream found : English (United States) So your new code for detecting and displaying locality is working nicely, even inside the log file. - hsinchu308 - 2010-06-10 tiben20 Wrote:Its fine i don't need a smaller sample.I got unlimited download and a 10mbit internet connection. I took a look at the sample and the problem is really the mpc mpeg source filter. I can read it with the demuxer i'm actually coding. Every file as a section for private data and this sample has a really really big sequence header over 200 its the first one i see like this. Haali is able to read it and my demuxer is able too so its just a question of time until im done with my demuxer to fix this one. Hi Tiben, Ok, thanks for the help. Does this mean that I can use Haali as a splitter for these MPEG files until your demuxer is ready? - blinkseb - 2010-06-10 hsinchu308 Wrote:Hi Seb, Th debug log on XP and 7 may be useful. It seems like the subtitle manager is not initialized, and that's is weird. Maybe it's related to my latest change for the subtitle settings. I think more of a crash than a locale issue, but why not. hsinchu308 Wrote:Hi Tiben, Haali handle these containers : * Matroska * MP4 * AVI * OGG/OGM * MPEG TS So you can use it for you mpeg files without any problems - tiben20 - 2010-06-10 hsinchu308 Wrote:Hi Tiben,Yeah like blinkseb just said haali is a really good demuxer the only problem is using compressed file with it. The mpc mpeg splitter as been developed by gabest a long time ago and change into the splitter as been really rare since he left the project. - fincheresque - 2010-06-10 The most recent build works really well for me. There are a couple file types that play in DVD player but not in DSplayer, but I'll try a different splitter (haali I would presume). A little bit of jerkiness on some 1080p videos without any post processing done, but again, I'll do some more fiddling. Regardless, very awesome. - >>X<< - 2010-06-10 tiben20 Wrote:Yeah like blinkseb just said haali is a really good demuxer the only problem is using compressed file with it Just for information only if you mean Rar files theres actually a directshow filter called "RarFileSource" I've used it in the past to open rar files in MPC-HC and Zoom Player while still using Haali Media Splitter http://www.v12pwr.com/RARFileSource/ I guess its something that would need adding not something the user can just add ? Just thought I'd mention it - hsinchu308 - 2010-06-10 tiben20 Wrote:Yeah like blinkseb just said haali is a really good demuxer the only problem is using compressed file with it. The mpc mpeg splitter as been developed by gabest a long time ago and change into the splitter as been really rare since he left the project. Indeed, using haali I can now open the problematic mpeg file that I sent you. That said, however, I must tip my hat to gabest, because I performed following stress test: an 80 Mb/sec, 60 fps, MPEG2 file, keeping all settings identical (with DXVA on, so CPU speed is not an issue), except replacing mpegsource/mpegspliiter with haali, 1. gabest: rock-steady 59.94 fps from start to finish. not a single dropped frame, I think. 2. haali: dropped down to 12 fps a few seconds after the start, could barely get above 45 fps for more than a few seconds. (using 64 MByte of cache). Now I remember why I removed haali a while back - I was having problems playing high bit-rate 720p H.264 camcorder videos with haali, but with MPC-HC's internal splitter I could do it without dropping frames (just barely, because I wasn't using DXVA, only a P4). Tiben, I hope your demuxer is as faster (or faster) than gabest's, and as versatile as haali's. - hsinchu308 - 2010-06-10 blinkseb Wrote:Th debug log on XP and 7 may be useful. It seems like the subtitle manager is not initialized, and that's is weird. Maybe it's related to my latest change for the subtitle settings. I think more of a crash than a locale issue, but why not. Hi Seb, Pastebin for the xbmc debug log, Win 7 (Chinese Lang): http://pastebin.com/4r346HyE Pastebin for the xbmc debug log, Win XP (English Lang): http://pastebin.com/httRrBnV Thanks. |