[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
|
- hsinchu308 - 2010-05-29 zilexa Wrote:WinXP doesn't have EVR so that is normal XP has VMR9, Vista/Win7 have EVR. I read on the net that you can make EVR work on WinXP, with evr.dll and MS .NET 3.5. But trying it kills my system. I am using WinXP 32bit, and the MPCVideoDec from prevous build (the size is 2.66MB, vs. the 3.12MB in the current version) and videos play correctly. With the latest 3.12MB MPCVideoDec, I get either a black screen, or a frozen screen on startup, and have to seek around to make the movies play. - hsinchu308 - 2010-05-29 rickardkk Wrote:Great. I will test it on EVR as soon as I get it to compile. Are blinkseb aware of this patch? I think he is on vacation today. Anyway he is the one that told me which files to look at when I asked him about this problem. - blinkseb - 2010-05-29 rickardkk Wrote:Night and day when using 23.976Hz refresh rate. Just as smooth as MPC-HC when vsync is disabled in the dsrenderersettings. Actually playback is near perfect now!! Thanks for the feedback! So, quickly. Skipping, fast forward etc... are known to be broken. I just need more time to solve it and there're lots of things that need to be corrected! But it will. 3. It seems like haali don't like your files! Does the same file play in mpc with the same codec configuration? (or in graphstudio?) hsinchu308 Wrote:#4 has been observed and reported by a few people, including myself. That is a GREAT news! Thanks a lot! I'll test that tonight or tomorrow, and commit the change? No reason it works for VMR and not for EVR! Thanks again! Next time, can you please post a patch file on pastebin instead of code ? Thanks rickardkk Wrote:Great. I will test it on EVR as soon as I get it to compile. Are blinkseb aware of this patch? Don't worry, I'm always here, and I read everything, even if sometimes I don't answer! - rickardkk - 2010-05-30 Thanks for answering! 3. They do play perfect in mpc with the same codec. One thing I can't figure out right now is to use the EVR CP vsync and accurate vsync. Works in MPC-HC. But in XBMC DSPlayer (Both enabled by default (RendererSettings.h)) I get terrible stuttering. It's like if another vsync correction routine is interfering. But even without, it plays alot smoother than the dvdplayer. - hsinchu308 - 2010-05-30 blinkseb Wrote:Thanks for the feedback! Hi, I can create a patch file w/ TortoiseSVN, but I've added a lot of debug statements to the files, so it maybe seem a bit confusing to locate the changes. I am hoping that by posting codes that only take a line or two, they can be quickly implemented by other testers and then comment on whether or not they work. But for changes that are more than two lines, a patch file is the way to go. In any case, I got a chance to test the display aspect ratio fix on a Windows 7 32bit machine using EVR, and they work fine. FYI: on the Win7 machine, I turned off all vsync inside dsplayer (Vsync, Accurate Vsync, Alternative Vsync), using dsrenderersettings.xml, and used true full screen mode, and did NOT get any tearing. I did have the Aero desktop enabled though, as I said before. The mpcvideodec.ax is still a bit problematic on the Win7 machine though. About 20% percent of the time the video freezes at the first frame (unlike my Windows XP machine, which is 100% of the time). Also, on the Win7 machine, with EVR, subtitle switching using the "L" key often freezes the video, though skipping forward fixes the freeze about 50% of the time (this does not happen at all on my XP machine, weird ). - Obi Have - 2010-05-31 In the newest build I'm suddenly having issues with the XBMC GUI. if I go to appearance and switch the skin it fixes it and I can switch it back it sticks, but later it will be corrupted again. It has worked fine until this build. Any ideas? OK I figured out what causes it. It seems to be the display and/or receiver being turned off. Ideas on how to stop it from happening? - sentinel41 - 2010-05-31 hsinchu308 Wrote:Hi,Where do you place the dsrenderersettings.xml? - hsinchu308 - 2010-05-31 sentinel41 Wrote:Where do you place the dsrenderersettings.xml? In your special://masterprofile/ directory listed in your xbmc.log. For example, ...\Application Data\XBMC\userdata for Windows XP. - tiben20 - 2010-05-31 hsinchu308 Wrote:Hi,Interesting, you should see the patch i have done a while ago i totally converted the mpc video decoder into xbmc but the only thing that is keeping me from posting it is the dxva not working due to the way mpc-hc is using a static link to ffmpeg. With the patch i didnt get those freeze of skip forward - hsinchu308 - 2010-05-31 tiben20 Wrote:Interesting, you should see the patch i have done a while ago i totally converted the mpc video decoder into xbmc but the only thing that is keeping me from posting it is the dxva not working due to the way mpc-hc is using a static link to ffmpeg. With the patch i didnt get those freeze of skip forward If by converting into xbmc you mean mpc video decoder becoming an internal decoder, like in dvdplayer or mpc-hc, which have built-in decoders, then yes, that would be interesting to see I downloaded the latest mpc video decoder and used it with dsplayer in Windows XP without freezing as well. So I guess the problem is not with dsplayer, but that particular version of MPCVideoDec.ax - zilexa - 2010-05-31 If you are really planning to build-in the MPC decoder, will that be the newer version that also has DXVA for MPEG-2? Since march or april the svn versions have this feature, DXVA for VC-1, H.264 and MPEG-2. - >>X<< - 2010-05-31 tiben20 Wrote:Interesting, you should see the patch i have done a while ago i totally converted the mpc video decoder into xbmc but the only thing that is keeping me from posting it is the dxva not working due to the way mpc-hc is using a static link to ffmpeg. With the patch i didnt get those freeze of skip forward That might sound good to some but I hope we don't lose DSPlayer as it is now with the ability to use any audio/video codec you like - tiben20 - 2010-05-31 zilexa Wrote:If you are really planning to build-in the MPC decoder, will that be the newer version that also has DXVA for MPEG-2? Since march or april the svn versions have this feature, DXVA for VC-1, H.264 and MPEG-2.They way xbmc is using ffmpeg adding the function for dxva is quite a challenge to just get it to compile. So i don't really know how much time it would take to get this to work. I spoke with tetsuo the project manager of mpc-hc and someone on their team is working on getting dxva1 integrated into ffmpeg as a hw context. This is actually what i would need to fix the decoder. I hope this guy will succeed. >>X<<' Wrote:That might sound good to some but I hope we don't lose DSPlayer as it is now with the ability to use any audio/video codec you likeThe only reason why im coding this is to have everything built-in. Elupus told me at start that i cant include mpc-hc filters in the installation directly. So if i want the dsplayer to be able to handle as much type of video files as dvdplayer i have to code a video decoder an audio decoder and a demultiplexer. Right now the video and demuxer are really advanced and the audio decoder is not started yet. - >>X<< - 2010-05-31 tiben20 Wrote:The only reason why im coding this is to have everything built-in. Elupus told me at start that i cant include mpc-hc filters in the installation directly. So if i want the dsplayer to be able to handle as much type of video files as dvdplayer i have to code a video decoder an audio decoder and a demultiplexer. Right now the video and demuxer are really advanced and the audio decoder is not started yet. Sorry if I'm being thick so you are saying we would lose the ability to use other audio video codecs/filters like ffdshow, coreavc etc ? - liquidskin76 - 2010-05-31 tiben20 Wrote:The only reason why im coding this is to have everything built-in. Elupus told me at start that i cant include mpc-hc filters in the installation directly. So if i want the dsplayer to be able to handle as much type of video files as dvdplayer i have to code a video decoder an audio decoder and a demultiplexer. Right now the video and demuxer are really advanced and the audio decoder is not started yet. >>X<<' Wrote:Sorry if I'm being thick so you are saying we would lose the ability to use other audio video codecs/filters like ffdshow, coreavc etc ? Hey tiben, I'm guessing the ability to use directshow codecs won't change, just that the integrated codecs will allow a ready to go solution, without having to configure anything? If you know your stuff you can then configure and use other codecs? Regarding the built in audio decoder, i'll donate £1,000,000,000 to you if include HD audio bitstreaming (TrueHD and DTS-HD)!!!! (albain over at 'Doom9/ffdshow hd audio' thread is the man to speak to!!). Cheers mate |