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)



- Porogna - 2010-12-26

Hey all,

Have just started using this branch and have noticed a small bug when using the Official XBMC Remote for Android with DSPlayer. When playing any type of video and you try to skip through it using the seek bar in the, Now Playing, window it goes back to the start of the video. This does not happen when using DVDPlayer.

I have tested this on DSPlayer Rev 33619, 35288 & 35685 and it happens in all them regardless of what codecs you set, skin used, etc.

Using it on my HTC desire running Froyo and was wondering if anyone else had noticed this? Wasn't sure if I should post this in this thread or the remote thread.

Would be great if I could get it resolved as DVDPlayer doesn't playback quite a few of my videos properly whereas DSPlayer does and was forced to use MPC-HC as an external player before switching to this.


- tocinillo - 2010-12-27

Same bug with optical drives...

is a really big bug that....how i view my Blu-ray discs collection (250 movies)?

Im starting XBMC in debug mode:
Quote:02:39:30 T:3556 M:3057307648 INFO: Python script stopped
02:39:30 T:3556 M:3057307648 DEBUG: Thread 3556 terminating
02:39:30 T:7908 M:3057373184 DEBUG: waiting for python thread 3 to stop
02:39:30 T:7908 M:3057373184 DEBUG: python thread 3 destructed
02:39:31 T:7908 M:3056332800 DEBUG: SDLKeyboard: scancode: 77, sym: 275, unicode: 0, modifier: 0
02:39:31 T:7908 M:3056332800 DEBUG: CApplication::OnKey: right (f027) pressed, action is Right
02:39:31 T:7908 M:3055923200 DEBUG: SDLKeyboard: scancode: 77, sym: 275, unicode: 0, modifier: 0
02:39:31 T:7908 M:3055923200 DEBUG: CApplication::OnKey: right (f027) pressed, action is Right
02:39:31 T:7908 M:3054755840 DEBUG: SDLKeyboard: scancode: 77, sym: 275, unicode: 0, modifier: 0
02:39:31 T:7908 M:3054755840 DEBUG: CApplication::OnKey: right (f027) pressed, action is Right
02:39:31 T:316 M:3057504256 DEBUG: CRemoteControl::Connect - connecting to: ::1:24000 ...
02:39:32 T:7908 M:3056406528 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
02:39:32 T:7908 M:3056406528 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
02:39:32 T:7908 M:3056197632 DEBUG: CApplication::ExecuteXBMCAction : Translating PlayDVD
02:39:32 T:7908 M:3056197632 DEBUG: CApplication::ExecuteXBMCAction : To PlayDVD
02:39:32 T:316 M:3055861760 DEBUG: CRemoteControl::Connect - connecting to: 127.0.0.1:24000 ...
02:39:33 T:7908 M:3055886336 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
02:39:33 T:7908 M:3055886336 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
02:39:33 T:7908 M:3055755264 DEBUG: CApplication::ExecuteXBMCAction : Translating PlayDVD
02:39:33 T:7908 M:3055755264 DEBUG: CApplication::ExecuteXBMCAction : To PlayDVD
02:39:33 T:7908 M:3054825472 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
02:39:33 T:7908 M:3054825472 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
02:39:33 T:7908 M:3054641152 DEBUG: CApplication::ExecuteXBMCAction : Translating PlayDVD
02:39:33 T:7908 M:3054641152 DEBUG: CApplication::ExecuteXBMCAction : To PlayDVD
02:39:33 T:7908 M:3057938432 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
02:39:33 T:7908 M:3057938432 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
02:39:33 T:7908 M:3057733632 DEBUG: CApplication::ExecuteXBMCAction : Translating PlayDVD
02:39:33 T:7908 M:3057733632 DEBUG: CApplication::ExecuteXBMCAction : To PlayDVD
02:39:33 T:316 M:3058266112 ERROR: CRemoteControl::Connect - failed to connect
02:39:36 T:316 M:3060830208 DEBUG: CRemoteControl::Connect - connecting to: ::1:24000 ...
02:39:36 T:7908 M:3060678656 INFO: XCURL:Big GrinllLibCurlGlobal::CheckIdle - Closing session to http://feeds.feedburner.com (easy=00511698, multi=00519DF0)
02:39:37 T:7636 M:3058782208 DEBUG: FileCurl::Close(0DECF8DC) http://www.google.com/
02:39:37 T:316 M:3059798016 DEBUG: CRemoteControl::Connect - connecting to: 127.0.0.1:24000 ...
02:39:37 T:7908 M:3059515392 INFO: XCURL:Big GrinllLibCurlGlobal::CheckIdle - Closing session to http://xoap.weather.com (easy=004EF6B8, multi=004F7F18)
02:39:37 T:7908 M:3059515392 INFO: XCURL:Big GrinllLibCurlGlobal::CheckIdle - Closing session to http://queeup.googlecode.com (easy=004FEED8, multi=00509A40)
02:39:38 T:316 M:3056676864 ERROR: CRemoteControl::Connect - failed to connect
02:39:40 T:7908 M:3057377280 INFO: Python, unloading python24.dll because no scripts are running anymore
02:39:40 T:7908 M:3057672192 DEBUG: XBPython::UnloadExtensionLibs, clearing python extension libraries
02:39:40 T:7908 M:3057844224 DEBUG: Win32DllLoader::Unload C:\Program Files (x86)\XBMC\system\python\DLLs\_socket.pyd
02:39:40 T:7908 M:3057917952 DEBUG: FreeLibrary(python24.dll) -> 08982398
02:39:40 T:7908 M:3058081792 DEBUG: Win32DllLoader::Unload C:\Program Files (x86)\XBMC\system\python\DLLs\_ssl.pyd
02:39:40 T:7908 M:3058081792 DEBUG: FreeLibrary(python24.dll) -> 08982398
02:39:40 T:7908 M:3058561024 DEBUG: Win32DllLoader::Unload python24.dll
02:39:41 T:316 M:3057901568 DEBUG: CRemoteControl::Connect - connecting to: ::1:24000 ...
02:39:42 T:316 M:3054919680 DEBUG: CRemoteControl::Connect - connecting to: 127.0.0.1:24000 ...
02:39:43 T:316 M:3053793280 ERROR: CRemoteControl::Connect - failed to connect
02:39:47 T:7908 M:3048009728 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
02:39:47 T:7908 M:3048009728 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
02:39:47 T:7908 M:3047784448 DEBUG: CApplication::ExecuteXBMCAction : Translating PlayDVD
02:39:47 T:7908 M:3047784448 DEBUG: CApplication::ExecuteXBMCAction : To PlayDVD
02:39:47 T:7908 M:3046662144 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
02:39:47 T:7908 M:3046662144 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
02:39:47 T:7908 M:3046481920 DEBUG: CApplication::ExecuteXBMCAction : Translating PlayDVD
02:39:47 T:7908 M:3046481920 DEBUG: CApplication::ExecuteXBMCAction : To PlayDVD

full: http://pastebin.com/download.php?i=YpQL1zR8

Regards!


- therealjoeblow - 2010-12-27

tocinillo Wrote:Same bug with optical drives...

is a really big bug that....how i view my Blu-ray discs collection (250 movies)?

Regards!

Copy them to harddrives - 250 bluray discs is only about 10 terrabytes, only about half of what a true movie buff/collector has these days! It's also *way* more convenient than constantly hunting for and swapping discs...

Cheers
The REAL Joe


- tiben20 - 2010-12-27

I almost got working the insertion of this wrapper into xbmc http://oss.netfarm.it/dsnative/ I'm getting the output data of the codec i'm testing this with (ffdshow) But i'm having trouble with rendering the data with the renderer. If someone have any knowledge about that just pm me ill send the source code. Would be really nice because i'm blocked right now


- oldpainless - 2010-12-27

gav1577 Wrote:Nice one arairait & Seb Smile

Edit:
I just compiled a build for myself Rev35694 and thought i would share if anyone wants it
it can be downloaded here http://www.mediafire.com/?9r3gi1j8d218p73
I removed the old out of date ffdshow from the installer as i no longer use it.
If you haven't got ffdshow installed you can get an up to date version from here http://www.xvidvideo.ru/ffdshow-tryouts-project-x86-x64/
As i mentioned before in my other post this is not an official dsplayer build so you may not get any support when using such a build.

Hey, thanks for this...going to do some testing...Wink

K


- Obi Have - 2010-12-27

I tried the running "fullscreen window" and it solved the GUI resizing issue. I got no tearing or other artifacts.


- therealjoeblow - 2010-12-27

Obi Have Wrote:I tried the running "fullscreen window" and it solved the GUI resizing issue. I got no tearing or other artifacts.

What kind of GPU, drivers and OS do you guys have that get no tearing with the fullscreen window?

I have:

ATI Radeon HD3200
Catalyst 10.12
WinXPSP2 x86

This gives me the intermittent jerky playback with no tearing in regular mode, and tearing in fullscreen window mode. DVDPlayer is perfect with no tearing or judder, it's smooth all the time.

Cheers
The REAL Joe


- mbolhuis - 2010-12-27

therealjoeblow Wrote:What kind of GPU, drivers and OS do you guys have that get no tearing with the fullscreen window?

I Use:

Nvidia GeForce 9600GT
Driver version: 260.99
win XP sp3 x86

on a 1920x1080 resolution connected with HDMI to a DVI port on my GPU.

I didn't have the tearing in Rev 36619. It also looked like I had no problems in Rev 35673 although I didn't use it that long because I switched to Rev 35695. I haven't watched a lot of stuff with it but it seems to be OK. Again problems with the OSD and info screen (when pressed O) in true fullscreen.

Gtrz

Maarten Bolhuis


- liquidskin76 - 2010-12-27

therealjoeblow Wrote:What kind of GPU, drivers and OS do you guys have that get no tearing with the fullscreen window?

I have:

ATI Radeon HD3200
Catalyst 10.12
WinXPSP2 x86

This gives me the intermittent jerky playback with no tearing in regular mode, and tearing in fullscreen window mode. DVDPlayer is perfect with no tearing or judder, it's smooth all the time.

Cheers
The REAL Joe

I'm sure you've already ruled this out however do you get playback tearing with other directshow players (mpc-hc, etc) using same codecs and drivers?

I wouldn't be surprised if it was ATI related?


- SpectreX - 2010-12-27

I have a HD5450 and Windows 7 and i see no tearing, playback is smooth, and HD audio bitstreaming works fine. The old VRM9 renderer used on XP has known tearing issues (not related to XBMC).


- liquidskin76 - 2010-12-28

yeh, i had a 5450 for a bit and had no problems. was just wondering about the earlier cards.


- therealjoeblow - 2010-12-28

liquidskin76 Wrote:I'm sure you've already ruled this out however do you get playback tearing with other directshow players (mpc-hc, etc) using same codecs and drivers?

I wouldn't be surprised if it was ATI related?

No. as I reported *dozens* of times over the past 4 or 5 months, playback is *perfect* (and I mean 100% absolutely prefect, smooth) with MPC-HC, the old MPC, ZoomPlayer, XBMC's DVDPlayer. There is no judder or tearing whatsoever with these.

And also, it was just as smooth and perfect with DSPlayer up to r28016; after that Tiben and Seb totally rewrote the renderer and it's been f*cked ever since, with small improvements and regressions here and there, but never totally fixed. All I ever hear is "well, it works fine on my system", but as I understand it none of the dev's have WinXP installed anymore and are working in Win7 now, so sure they're never going to see the problem themselves, which leaves very little hope that it will actually get fixed.

Can you guys PLEASE put the renderer code from r28016 back in DSPayerHuh PLEASEHuh

Cheers
The REAL Joe


- rickardkk - 2010-12-28

Trying to get media flags in OSD.

VideoPlayer.VideoResolution, VideoPlayer.VideoCodec and so forth does not work (Some do though, like VideoPlayer.AudioChannels)

No problem with DVDPlayer


- alexrose1uk - 2010-12-28

Excellent, new builds Big Grin

Right, before I spent, knowing my luck, half a day ****ing around with stuff to get it work (yes my luck really is that bad sometimes), could someone point me in the direction of just two things.


1) Best way to configure the audio. I'm presuming as this is directshow based, the playback engine ignores the XBMC set audio options when DSPlayer is used.
Is this the case, or can I just setup as WASAPI/5.1 inside DSPlayer as per usual and go?

If I can't use XBMC's standard audio config, can someone point me in the direction of where I configure this, based upon a bog-standard install of DSPlayer.


2) Where can I alter the subtitle rendering resolution?
I know in MPC-HC you can alter the resolution the subtitles are rendered at, to come to a reasonable compromise between display resolution and system resources used.
DVDPlayer seems to default to display resolution, whereas, like MPC-HC, DSPlayer appears to default to 800x600, which appears extremely blocky on a 1080p display.

I did previously on an old build (before dropping it for other bugs) try altering the settings in the FFDshow configuration panel but not only was FFDShow subtitling disabled, but even enabled and fiddling around, the DSPlayer subtitles seemed unaffected.




I already know how to set DSplayer to default to using the DSPlayer renderer rather than DVDPlayer Smile

Thanks in advance for any responses, they may sound basic, but they'd save me a lot of time figuring it out, and I figure I'm not the only one who's had these queries before. Can't wait to shift over, every file thats played funny buggers on the DVDPlayer default player of XBMC has always played flawlessly with MPC-HC, and previous testing of DSPlayer and the fact it uses the MPC-HC decoder suggests the experience with DSPlayer should be just as good Big Grin


- Obi Have - 2010-12-28

therealjoeblow Wrote:What kind of GPU, drivers and OS do you guys have that get no tearing with the fullscreen window?

I have:

ATI Radeon HD3200
Catalyst 10.12
WinXPSP2 x86

This gives me the intermittent jerky playback with no tearing in regular mode, and tearing in fullscreen window mode. DVDPlayer is perfect with no tearing or judder, it's smooth all the time.

Cheers
The REAL Joe

Same as you, but with SP3. Running 1920x1080/24. I had random resizing of the GUI elements during movie playback until I went to windowed.