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)



- jplatt - 2010-03-19

DXVA works!! Great...but it doesnt seem to work with Upnp and Playon. It seems to fail when it trys to open a file instead of a URL....

Until then I'm sticking with MPC

just my 2 cents


- Rustjive - 2010-03-19

blinkseb Wrote:Haali works, what's your problem?

I'm running 27937. As far as I can tell subtitles don't work for Haali, and here's my log:

http://pastebin.com/MPAdu57R

Quote:23:13:24 T:2692 M:1082195968 DEBUG: CFGManager::ConnectDirect: Failed connecting Haali Media Splitter.Subtitle pin to Xbmc EVR.EVR Input0
23:13:24 T:2692 M:1082195968 DEBUG: CFGManager::ConnectDirect: Failed connecting Haali Media Splitter.Subtitle pin to DirectSound: Digital Audio (HDMI) (2- High Definition Audio Device).Audio Input pin (rendered)
23:13:24 T:2692 M:1082195968 DEBUG: CFGManager::ConnectDirect: Failed connecting Haali Media Splitter.Subtitle pin to ffdshow audio decoder.In
23:13:24 T:2692 M:1082195968 DEBUG: CFGManager::ConnectDirect: Failed connecting Haali Media Splitter.Subtitle pin to MPC Video Decoder.Video

Further along it seems to see the subtitles, but nothing. Am I missing something?


- tiben20 - 2010-03-19

Rustjive Wrote:I'm running 27937. As far as I can tell subtitles don't work for Haali, and here's my log:

http://pastebin.com/MPAdu57R



Further along it seems to see the subtitles, but nothing. Am I missing something?

Yeah there is absolutely no way you would succeed connecting haali to mpcvideocodec from dsplayer


- blinkseb - 2010-03-19

Rustjive Wrote:I'm running 27937. As far as I can tell subtitles don't work for Haali, and here's my log:

http://pastebin.com/MPAdu57R



Further along it seems to see the subtitles, but nothing. Am I missing something?

Like Tiben said, you need a filter that handle subtitle, as we don't support subtitles yet. If you use ffdshow, you'll have subtitles Smile


- oldpainless - 2010-03-19

Seb,

Anything in the log I posted re auto refresh rate change?

K


- zilexa - 2010-03-19

jplatt Wrote:DXVA works!! Great...but it doesnt seem to work with Upnp and Playon. It seems to fail when it trys to open a file instead of a URL....

Until then I'm sticking with MPC

just my 2 cents

works on what? wich version?


- therealjoeblow - 2010-03-19

zilexa Wrote:2 questions: Since FFDShow lets you specify "resize if...", why is the last step 7 necessary? Why does DSplayer need a rule, when it already plays video using dxva when possible and normal ffdshow when not? I just want it to upscale in that last situation.

2nd question: you also mentioned the modifications to your guide when one wants to upscale to 720p instead of 1080p. I have a 720p TV... could you post these mods? I tried Google cache, but it only cached some posts. Not all.

I want to test your "upscaling" since I am very sceptic about it: since this requires the CPU, I suspect my CPU fan will run faster and I really don't like noise during movies/tvshows. I wonder how all people who speak so well of the upscaling experience this?
I have an AMD 45watt cpu, 5050e, 2,6GHz. I tried softwaretools to underclock/undervolt but it effected stability a lot.

btw I hope your wife recovers quickly Smile

Just a couple of quick notes on the upscaling guide:

1) This was fundamentally intended for people with higher powered CPU's (as pointed out, something in the 2.5-3ghz dual core or better range) who want the best quality picture possible. It won't work on ION systems, or even underpowered dual cores.

2) It takes cpu horsepower to do high quality software upscaling, and even more if you add any further processing like sharpening, etc. You can't have it all - if you want low CPU and therefore a quiet fan, use DXVA and be done with it, live with the mediocre picture. If you want a higher quality picture, then use the software upscaling guide, but that will push your CPU and there's nothing to be done about that, it's by design.

3) This was really intended for HQ upscaling 720p x264 material to 1080p, for display on a 1080p screen (as noted, if you have the CPU horsepower). The reason I got into this is because 720p material generally looks pretty average on a quality 1080p big screen when decoded by the GPU with DXVA, and then upscaled by the VRM9 renderer (the standard DXVA method that gives you very low CPU usage). With the software upscaling via ffdshow and the lanczos algorithm, 720p x264 material will look much better than native 1080p material when displayed on a 1080p big screen, and there are generally no undesireable artifacts introduced. However, for all those with medium sized 720p screens, there's really no significant benefit to doing the software upscale.

4) By its nature, though, it will also work for DVD material (in external players now, and in XBMC when DSPlayer eventually incorporates DVD playback), and for lower resolution SD material (ie, 640xZZZ xvid material, etc). The results will certainly vary though, because much SD material has lots of artifacts in it already from the initial compression, and in many cases the lanczos upscaling algorithm amplifies those making it look like crap. So as I said, results for SD material should be subject to personal preference - some of it looks very good when upscaled with ffdshow, some doesn't.

Thanks to all for the well-wishes for my wife. She made it home yesterday after being in the hospital since Feb. 20th due to a sudden, life-threatening illness, but still has a looong recovery period ahead of her due to some major surgery.

Cheers
The REAL Joe


Windows 7 x86 - User 63881 - 2010-03-19

.


- oldpainless - 2010-03-19

therealjoeblow Wrote:Thanks to all for the well-wishes for my wife. She made it home yesterday after being in the hospital since Feb. 20th due to a sudden, life-threatening illness, but still has a looong recovery period ahead of her due to some major surgery.

Cheers
The REAL Joe

Best wishes mate.

K


- christoofar - 2010-03-19

therealjoeblow Wrote:Thanks to all for the well-wishes for my wife. She made it home yesterday after being in the hospital since Feb. 20th due to a sudden, life-threatening illness, but still has a looong recovery period ahead of her due to some major surgery.

Cheers
The REAL Joe

Great news!


- zilexa - 2010-03-19

Good news!
and thanks for clarifying the upscaling part. Now I understand it completely! I won't use it since I only have SD and 720p material and an 720p 32" tv. Upscaling sd is not what your guide was intended for, that's what I overlooked Smile

back to DXVA:
If I can do anymore testing... please let me know. Posting logs isn't very useful I guess since xbmc isn't freezing anymore?


- therealjoeblow - 2010-03-19

I spent about 15 minutes with 28622 just now, so not a comprehensive test, but it behaves exactly the same for me on WinXPSP3(x86) as 28511 did - nothing plays, and xbmc freezes when trying to start playback of *anything*.

Here's 2 logs, first one is for a standard XviD.avi, the second one is for a 1080p_x264.mkv:

SD XviD with MP3 in .avi:
http://pastebin.com/XpRDbfZ4

1080p x264 with DTS in .mkv
http://pastebin.com/gJxGni3q

In both cases, I'm using ffdshow as the video decoder and ffdshow as the audio decoder. Both are working fine in external players (ZoomPlayer and MPCHC). DVDPlayer plays both of these files fine too with the 28511 and 29622 builds.

Back to 28016 for now, which works virtually perfectly in all regards here (all file formats work, image quality is perfect, player is stable and never crashes, and subtitles work for all material, dxva or software decoded).

Cheers
The REAL Joe


- steelman1991 - 2010-03-19

Glad to hear the news about your wife - best wishes for a speed recovery.


- baxtermedic - 2010-03-19

I need help plaing music with paplayer. I have all the video setup great. I reloaded my computer and now I cannot get any mp3s to play with paplayer. DVDplayer will work but they freeze when i pause the songs.

This is on a fresh xbmc install on a fresh win 7 64 install.

please help.
thanks.


- blinkseb - 2010-03-19

oldpainless Wrote:Seb,

Anything in the log I posted re auto refresh rate change?

K

Nothing no, don't understand why it's crashing. But keep in mind this feature is really untested! I've already improved it a little, so it'es possible it works better in the new release Smile

Quote:I spent about 15 minutes with 28622 just now, so not a comprehensive test, but it behaves exactly the same for me on WinXPSP3(x86) as 28511 did - nothing plays, and xbmc freezes when trying to start playback of *anything*.

Here's 2 logs, first one is for a standard XviD.avi, the second one is for a 1080p_x264.mkv:

SD XviD with MP3 in .avi:
http://pastebin.com/XpRDbfZ4

1080p x264 with DTS in .mkv
http://pastebin.com/gJxGni3q

In both cases, I'm using ffdshow as the video decoder and ffdshow as the audio decoder. Both are working fine in external players (ZoomPlayer and MPCHC). DVDPlayer plays both of these files fine too with the 28511 and 29622 builds.

Back to 28016 for now, which works virtually perfectly in all regards here (all file formats work, image quality is perfect, player is stable and never crashes, and subtitles work for all material, dxva or software decoded).

Cheers
The REAL Joe

It seems related to the VMR9 renderer. I'll had a little more debug output in order to see what's going on!