Kodi Community Forum

Full Version: DSPlayer (DirectShow Player for XBMC) Frodo build available
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
@Warner306

Sorry to ask u a bit more, i was into my work shifts and busy to download and test it, but, can u check, what happens when u press O during the playback? Can u see any stats displayed?
(2015-03-12, 13:21)vicmanpergar Wrote: [ -> ]@Warner306

Sorry to ask u a bit more, i was into my work shifts and busy to download and test it, but, can u check, what happens when u press O during the playback? Can u see any stats displayed?

No, O does not bring up rendering stats. I believe player controls are disabled in the link that was posted. I would wait for a better build. There isn't much to see at this point.
madvr stats work fine here..

Make sure to uncheck "use a fullscreen window rather than true fullscreen" otherwise you will get a widowed mode and the toolbar will be visible.

Player controls don't seem to work correctly. If I press the mouse button on the video once, then player controls work correctly. Maybe a focus issue??

Also upscaling doesn't seem to be working.
(2015-03-12, 21:32)esoteradactyl Wrote: [ -> ]madvr stats work fine here..

Make sure to uncheck "use a fullscreen window rather than true fullscreen" otherwise you will get a widowed mode and the toolbar will be visible.

Player controls don't seem to work correctly. If I press the mouse button on the video once, then player controls work correctly. Maybe a focus issue??

Also upscaling doesn't seem to be working.

I didn't know Cntrl + J worked outside of Media Player Classic. Thanks for the info. I'll give it another go.
madvr it's not working at all, all commands resize upscaling etc has not effect on the video i don't know why, i have to assign the instance of madVR to kodi and then do something to enlarge the video

when i create the instance, madvr opens it's window and with pVW->put_Owner((OAHWND)g_hWnd); i put this in kodi, with the exe that i have posted i simply set hidden madvr windows and that was a totally wrong approach Smile

after instance assignment maybe there is some other stuff to do because when i do this i have a black box of 300x200 pixel in an angle that i suppose is the old device of madvr detached and the video enlarged on the kodi windows has very bad resolution

i think it's the video 300x200 enlarged... as i already say i have not experience with d3d devices and without an help i can employ too much time to do this small things

the very big problem was to rendering the kodi gui on madvr and this it's done, but i don't know how work the other things.... aspect ratio too

i cannot see how evr work because obviously it's completely different from madvr

so now to do things are

- figure out why all options has not effect on video, i don't know if the instance assignement it's the key to solve this
- figure out how kick off the old device from madvr
- how set proper resolution and aspect ratio

then the menu integration to set all options it's very simple to me

ps

just to be clear if some other developer would help

this it's how i create the renderer, after that i don't know what other madvr need

Code:
Com::SmartPtr<IUnknown> pRenderer;
  if (SUCCEEDED(hr = pCAP->CreateRenderer(&pRenderer))) {
    *ppBF = Com::SmartQIPtr<IBaseFilter>(pRenderer).Detach();
    // madVR supports calling IVideoWindow::put_Owner before the pins are connected
    if (m_clsid == CLSID_madVR) {
      if (Com::SmartQIPtr<IMadVRDirect3D9Manager> pMadVrD3d = pCAP) {
        LPDIRECT3DDEVICE9 pD3DDevice;
        pD3DDevice = g_Windowing.Get3DDevice();
        pMadVrD3d->UseTheseDevices(pD3DDevice, pD3DDevice, pD3DDevice);
        pMadVrD3d->ConfigureDisplayModeChanger(false, false);
      }
     if (Com::SmartQIPtr<IVideoWindow> pVW = pCAP)
       pVW->put_Owner((OAHWND)g_hWnd);
    }
    CLog::Log(LOGDEBUG, "%s Allocator presenter successfully created", __FUNCTION__);
  }

this it's the interface that madshi has developped to xbmc some years ago to let madvr use an already existent d3d device, i don't know if i have to call this command in an other moment

Code:
if (Com::SmartQIPtr<IMadVRDirect3D9Manager> pMadVrD3d = pCAP) {
        LPDIRECT3DDEVICE9 pD3DDevice;
        pD3DDevice = g_Windowing.Get3DDevice();
        pMadVrD3d->UseTheseDevices(pD3DDevice, pD3DDevice, pD3DDevice);


at end this it's the very bad result, the box with the old device over the picture with a low resolution

Image
I could have sworn that videos look resized when played in window mode rather than a true fullscreen. However, these could have been 1080p videos.

I have patience and can wait.
I tried one more time. Image scaling is working, but it appears everything else is broken.
i find out how work the things around aspect ratio etc etc... but there it's something that not work with the interface that we need to assign madvr device to the existent device of kodi

normally with a player like mpc when the instance of madvr it's created the player utilize the d3d device that comes with madvr... but xbmc has already a personal d3d device

so i don't think that this interface IMadVRDirect3D9Manager made for xbmc has maybe has never been used in some other player... maybe something it's broke with the years

because i have ever the 304x201 as native video resolution

anyway i sent a pm to madshi

ciauzz
(2015-03-14, 01:47)aracnoz Wrote: [ -> ]i find out how work the things around aspect ratio etc etc... but there it's something that not work with the interface that we need to assign madvr device to the existent device of kodi

normally with a player like mpc when the instance of madvr it's created the player utilize the d3d device that comes with madvr... but xbmc has already a personal d3d device

so i don't think that this interface IMadVRDirect3D9Manager made for xbmc has maybe has never been used in some other player... maybe something it's broke with the years

because i have ever the 304x201 as native video resolution

anyway i sent a pm to madshi

ciauzz

I hope madshi can be of some help. I've noticed he responds to forum posts on a regular basis, so he seems very interested in helping the community.
Does anyone else have speed problems? In some videos the video is too fast and I have to stop and restart several times to get it working. I have 14.1 Dsplayer.
(2015-03-14, 19:50)Bjur Wrote: [ -> ]Does anyone else have speed problems? In some videos the video is too fast and I have to stop and restart several times to get it working. I have 14.1 Dsplayer.
It happens when you launch Kodi. Once you stop and play the same video a couple of times, it fixes itself for this and any next video, until you restart Kodi. Devs have no idea what is causing it though....
Thanks for the answer. Hope they find a solution.
do not think that I've given up with madVR, in fact I'm almost finished with the most important things

I had to start again because this interface IMadVRDirect3D9Manager made by madshi for xbmc had never been used or tested by someone

so without IMadVRDirect3D9Manager the things are a little complicated, but I see the light Smile

now there are some problem to pass mouse events from madVR to kodi ... keyboard events are ok.

after that there are all the boring stuff like menu etc etc

here a video

http://youtu.be/RDDPydqN7QE
Your like a dog with a bone - and thanks for it.
Amazing again! While you're there, any chance to add support for comskip cutscene cue files, like it exists on non-DSplayer version? Shy