Kodi Community Forum
[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)



- A600 - 2010-06-26

The now commented out "internal_internetsource" internal filter means that in the future it will be possible to avoid using the URLReader filter (it always saves the stream to disk)?


- hsinchu308 - 2010-06-27

therealjoeblow Wrote:Also, setting vsync in the .xml to false and reenabling it in the UI doesn't work, it gets me back to the same place where audio starts playing before the UI disappears, and the video never starts; I can't resume most files when this is going on, and some files just won't play at all, the UI just flashes and that's it - exactly as I reported before.

/The REAL Joe

If you set dsplayer vsync to false in renderersettings.xml, while keeping sync on in XBMC, and still get playback with no video, then your problem is the same as mine. Other reports, like your previous one, and the ones from SlavikZ and cyr4no, are different because they didn't, and as a result had a D3D device reset just before the video starts playing (according to their debug log), and again when the video stops playing, as Blinkseb explained. But I had set vsync to false in dsplayer from the start. Without the device reset (introduced in version 30872), I could not understand why I have this problem now, while I did not with the previous versions. :confused2:


A Possible Solution for Playback w/ no Video - hsinchu308 - 2010-06-27

Hi Seb, Tib,

I have more information regarding the problem of playback with no video in R31004. After starting to troubleshoot the problem, I ran into a situation where my results were not repeatable, whereby a solution that worked 100% of the time on one day, did NOT work MOST of the time the very next day! As as result, I needed to find the source of instability before asking for more help, to avoid giving you misleading information.

I finally found the cause of the repeatability problem, and as a consequence, a temporary solution to the playback w/ no video problem: build with VS2010 instead of VS2008. Using exactly the same source code, the version I built with VS2010 worked 100% of the time (it's been a week so far, and I've played some files 4 to 5 times in a row without problem), whereas the version I built with VS2008, as well as the online version, will play most of files with no video (stuck at file selection window), only audio.

Anyway, to me this means that code works fine with Chinese version of Windows 7, because previously I had thought somehow the code could not properly handle multi-byte characters like Chinese, since I don't have this problem at all on my English version of Windows XP.

I've also solved another problem in R31004: dsplayer would pause when switching subtitles, and I had to tap the spacebar a few times in quick succession to un-pause it. After I switched to haali instead of mkvsplitter, the problem went away (though it's maybe because haali pauses longer when switching subtitles versus mkvsplitter).

To be honest, I don't know why compiling with VS2010 works but not VS2008, since I could only get the debugger to work on VS2008. But for now, I am happy to be able to finally create my golden copy version, which works 99% of the time, and I could use it to watch some of of my favorite TV shows and movies that I have saved up. Laugh (The only small drawback w/ the VS2010 version is that you must have the C++ run time for both VS2008 and VS2010 installed, otherwise XBMC won't even start.)

Thanks for all your help. Keep up the good work! DSPlayer is catching up very quickly with, and in some aspects, already surpassed, DVDPlayer. Big Grin


- liquidskin76 - 2010-06-30

Hey tiben/seb,

Small one for you.. in latest build (just compiled) when seeking on mkv's, it like the vid jumps around for a sec or two, then seeks.

Do you want a log... not sure if it would be of any help?

Cheers


- christoofar - 2010-06-30

Looks like Seb upped a new build.


- steelman1991 - 2010-06-30

christoofar Wrote:Looks like Seb upped a new build.
Get yourself on it - its a belter NodNod


- christoofar - 2010-06-30

First order of business after walking thru the door this afternoon!Nod


- steelman1991 - 2010-07-01

Seb/Tiben - by and large new build works well, but (and lets face it you knew there was going to be one), on most occasions I have to start and stop a file several times (no set pattern, could be twice, could be 5 times), before the filters stick (at least that's what appears to be happening). I have attached a debug log and hope I have captured the event (with this one I think I had to stop/start 4 times before I achieved correct playback) tried it with all manner of combinations (internal, mpc-hc, vsync on and off rendersettings on and off). If you want me to try anything in particular let me know.

Once activated correctly - playback with adjust refresh rate has been excellent.


http://pastebin.com/9VVNxBgs


- christoofar - 2010-07-01

dsplayer unable to render file, locks up

http://pastebin.com/N23pawwd

Win7 32bit


- tiben20 - 2010-07-01

christoofar Wrote:dsplayer unable to render file, locks up

http://pastebin.com/N23pawwd

Win7 32bit
i think its the loading of the subtitles loading that should happen right where you get an Access violation.


- christoofar - 2010-07-01

hmm..the one movie I tried playing doesn't have subs.


- tiben20 - 2010-07-01

christoofar Wrote:hmm..the one movie I tried playing doesn't have subs.
That don't matter the subtitles process is still loaded in case you load one.

Just added mpeg2 dxva at rev 31539 (just switching the dll wont work need an entirely new build to get it working). The integration into ffmpeg is really unprofessionnal but still a little bit more clean than mpc-hc.


- TerranQ - 2010-07-01

christoofar Wrote:dsplayer unable to render file, locks up

http://pastebin.com/N23pawwd

Win7 32bit

Exact same issue, Win7 64 bit. What's the fix?


- oldpainless - 2010-07-01

steelman1991 Wrote:Seb/Tiben - by and large new build works well, but (and lets face it you knew there was going to be one), on most occasions I have to start and stop a file several times (no set pattern, could be twice, could be 5 times), before the filters stick (at least that's what appears to be happening). I have attached a debug log and hope I have captured the event (with this one I think I had to stop/start 4 times before I achieved correct playback) tried it with all manner of combinations (internal, mpc-hc, vsync on and off rendersettings on and off). If you want me to try anything in particular let me know.

Once activated correctly - playback with adjust refresh rate has been excellent.


http://pastebin.com/9VVNxBgs

Tiben,

I'm having the same issue, is this really the same subs dll issue?

#
23:05:33 T:2168 M:1079672832 ERROR: ffmpeg[878]: [h264_dxva] AVC: nal size 1599332
#
23:05:33 T:2168 M:1079672832 ERROR: ffmpeg[878]: [h264_dxva] no frame!

K


- tiben20 - 2010-07-01

oldpainless Wrote:Tiben,

I'm having the same issue, is this really the same subs dll issue?

#
23:05:33 T:2168 M:1079672832 ERROR: ffmpeg[878]: [h264_dxva] AVC: nal size 1599332
#
23:05:33 T:2168 M:1079672832 ERROR: ffmpeg[878]: [h264_dxva] no frame!

K
Can i get a video sample of a video doing this error