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)



- hades_2100 - 2009-12-21

hades_2100 Wrote:Thanks for the help. It doesn't work in MPC-HC either. Here is the setup:

http://img69.imageshack.us/i/88492904.png/
http://img683.imageshack.us/i/30477049.png/

I'll experiment a bit...

hades

I've reinstalled the HDMI drivers ~5 times, all with the same result. I've messed up MPC-HC a few times with my attempts to get this working.

I'm stuck at the same place.

christoofar, I can't enable library mode in Music, so I can't try Party Mode out.

hades


- tiben20 - 2009-12-21

http://www.multiupload.com/NWJ9EHSVO3 last rev


- >>X<< - 2009-12-21

hades_2100 Wrote:Thanks for the help. It doesn't work in MPC-HC either. Here is the setup:


hades

Exactly, it will be the same for any directshow for the reason I explained before, the drivers control the output type by that I mean what signal your receiver receives 2ch, 3ch, 5.1, spdif or PCM, I'm not talking about what the filter does to the audio they are two separate things

If I'm wrong I hope someone will correct me but I don't think I am


- Doolie - 2009-12-21

tiben20 Wrote:http://www.multiupload.com/NWJ9EHSVO3 last rev

Is anything else added/changed in your SVN builds other than the addition of DSPlayer Tiben?


- tiben20 - 2009-12-21

>>X<<' Wrote:Exactly, it will be the same for any directshow for the reason I explained before, the drivers control the output type by that I mean what signal your receiver receives 2ch, 3ch, 5.1, spdif or PCM, I'm not talking about what the filter does to the audio they are two separate things

If I'm wrong I hope someone will correct me but I don't think I am
I just want to fix the problem so i think i will have to work with the windows platform api to control the audio output correctly

Doolie Wrote:Is anything else added/changed in your SVN builds other than the addition of DSPlayer Tiben?

updated to to the current xbmc trunk, dxva for windows 7 is working back and maybe i have fixed an audio problem but im not sure about the last one


- christoofar - 2009-12-21

Thanks Tiben.
As soon as I get home from work I will give this a tryout.


- christoofar - 2009-12-21

hades_2100 Wrote:christoofar, I can't enable library mode in Music, so I can't try Party Mode out.

hades

Have you rescanned your media folders? I had the same thing until I did it.
Then Libray Mode is able to be used.


- tonyt - 2009-12-21

tiben20 Wrote:at least put the full debug log would help a lot

Sorry, have uploaded a full log to http://pastebin.ca/1722633

It's a log of me playing the movie then attempt to play again without exiting xbmc. On the 1st attempt everything plays fine, on 2nd attempt the menu's stay on the screen, though the background goes a grey colour, and there's no video or sound. Pressing stop returns the menu screen to normal.

Many thanks
Tony


- -Sumo- - 2009-12-21

tiben20 Wrote:http://www.multiupload.com/NWJ9EHSVO3 last rev

Thanks tiben, i´d just like to confirm again, that this build is working flawlessly with Win7 on my Zotac MAG. I figured out that it seems to be mandatory, to switch on the AVR before boot up the OS. Otherwise the right format isnt recognized and the AVR shows "PLII" even with DTS. I dont know if it was like that before, but perhaps it helps the guys who have trouble with audio...

Switch on AVR first!!! Once the driver is loaded properly you can powercycle the AVR as often as you want.
But when you powercycle the PC, make sure the AVR is ON...!

Wink


- &gt;&gt;X&lt;&lt; - 2009-12-21

tiben20 Wrote:I just want to fix the problem so i think i will have to work with the windows platform api to control the audio output correctly

I understand that but you might be trying to fix normal behavior and trying to achieve something that's not achievable

If someone who has a problem can achieve what they are after in another directshow player then you might have a place to start


- Freddo - 2009-12-21

Hi Tiben!

Thanks for your continued effort with this, it's really impressive work. I have it working almost perfectly for me now on my Vista computer.

I just have one problem, the first dxva file i play always works, and is hardware accelerated superbly, however if I stop that and play a second it doesn't seem to render? The now playing window comes up in my skin so xbmc thinks its playing something but I can hear no audio and video doesn't come up. Attempting to toggle to fullscreen provokes no reaction. I'm using the latest build you just posted. If I quit XBMC, start it again, and start a new file, it works.

I'm no coder but this seems like possibly a deallocation problem when stopping the first file is consuming some resource and preventing the second from starting?

The problem seems unaffected by codec/resolution/container and I'm playing the content back locally over network.

Here's a debug log Pastebin.org

Paste bin has a char limit? who knew, : Pastebin Part Deux

I'm on Vista/ATI, let me know if any more information would be useful.

Happy Coding!


- &gt;&gt;X&lt;&lt; - 2009-12-22

tiben20

I just remembered when you first configured xbmc to change audio properties in DSPlayer I mentioned when "downmix to stereo" is selected that LFE should be off as currently its always on reading your post below

http://forum.xbmc.org/showpost.php?p=453317&postcount=432

I'm not sure if that could cause problems with amps or not but its an extra channel that shouldn't be there when set to stereo, I should mention downmix to stereo only effects analogue anyway which is normal

I would recommend a restart in any case when anyone makes an audio change

Anyway thought I'd mention it


- xbs08 - 2009-12-22

Tried on my Win7 machine and works flawlessly even MP4.


- tiben20 - 2009-12-22

Freddo Wrote:Hi Tiben!

Thanks for your continued effort with this, it's really impressive work. I have it working almost perfectly for me now on my Vista computer.

I just have one problem, the first dxva file i play always works, and is hardware accelerated superbly, however if I stop that and play a second it doesn't seem to render? The now playing window comes up in my skin so xbmc thinks its playing something but I can hear no audio and video doesn't come up. Attempting to toggle to fullscreen provokes no reaction. I'm using the latest build you just posted. If I quit XBMC, start it again, and start a new file, it works.

I'm no coder but this seems like possibly a deallocation problem when stopping the first file is consuming some resource and preventing the second from starting?

The problem seems unaffected by codec/resolution/container and I'm playing the content back locally over network.

Here's a debug log Pastebin.org

Paste bin has a char limit? who knew, : Pastebin Part Deux

I'm on Vista/ATI, let me know if any more information would be useful.

Happy Coding!

I know there a bug that i cant figure out. The freaking lost device once a renderer started make crash xbmc. ** lost device mean(fullscreen toggle, switching monitor, resizing resolution, resize window to maximized or maximized to not maximized. Xbmc will also crash after you closed the player. you cant toggle fullscreen after the player started just once this thing is really driving me crazy. If someone have any idea on how i could fix that problem that would be nice


- hades_2100 - 2009-12-22

>>X<<' Wrote:I understand that but you might be trying to fix normal behavior and trying to achieve something that's not achievable

If someone who has a problem can achieve what they are after in another directshow player then you might have a place to start

OK, I don't know how much progress this is, but it's progress.

I installed AC3Filter, disabled the DTS/AC3 internal filters in MPC-HC and added AC3Filter as an external filter. MPC-HC then played back DTS movies beautifully. Same with AC3 movies. XBMC, of course, didn't.

Would it be possible for me to use AC3Filter somehow in XBMC instead of the built-in one?

hades