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)



- blinkseb - 2010-01-31

gorgone Wrote:if ffmpeg installed i got no video .. with or without EVR

http://pastebin.de/3606


very strange

You've done something wrong, the video decoder isn't loaded.

dsfilterconfig.xml must look like that :

Code:
...
    <!-- Video decoders-->
    <filter name="mpcvideodec" type="videodec">
      <path>MPCVideoDec.ax</path>
      <guid>{008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}</guid>
      <osdname>MPC Video Decoder</osdname>
    </filter>
    <filter name="ffdvideodec" type="videodec">
      <path>ffdshow.ax</path>
      <guid>{04FE9017-F873-410E-871E-AB91661A4EF7}</guid>
      <osdname>ffdshow Video Decoder</osdname>
    </filter>
    <filter name="mpeg2videodec" type="videodec">
      <path>Mpeg2DecFilter.ax</path>
      <guid>{39F498AF-1A09-4275-B193-673B0BA3D478}</guid>
      <osdname>mpeg2 Video Decoder</osdname>
    </filter>

...

<rule filetypes="mkv" source="mkvsource" videodec="ffdvideodec" audiodec="mpaaudiodec"/>

...



- fincheresque - 2010-01-31

blinkeb Wrote:It would be very helpfull if you can provide a sample of your file! A 10/20s file, with all the audio tracks and subtitles.
Thanks in advance !

Glad to help if I can, I'll PM you when it's uploaded and available for you to grab.


- gorgone - 2010-01-31

now i understand what u mean
<rule filetypes="mkv" source="haali" videodec="ffdvideodec" audiodec="mpaaudiodec"/>

Rolleyes

http://pastebin.de/3608


the video is ok


- blinkseb - 2010-01-31

You still don't use ffdshow Wink You must tell ffdshow to accept h264 files :
Image

Currently you're using another filter (@deviceConfusedw:{083863F1-70DE-11D0-BD40-00A0C911CE86}\{09571A4B-F1FE-4C60-9760-DE6D310C7C31})


- gorgone - 2010-01-31

damn it was ffmpeg-mt

http://pastebin.de/3610


No


- blinkseb - 2010-01-31

Code:
#
00:35:23 T:928 M:1059504128   DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Video pin to ffdshow Video Decoder.In
#
00:35:23 T:928 M:1059504128   DEBUG: CFGManager::ConnectDirect Failed !

Still not using ffdshow, and I absolutly don't know why! Check in Haali options if, on output submenu, the "Use custom mediatype for H.264" is on "No". Do the trick for me Wink


- jsnkid - 2010-01-31

ok so I tried playing a 1080p .m2ts with dsplayer and it began as just green then black then very choppy playback.

http://pastebin.com/m6622322b

When i pressed O it said it was using MPC video decoder and not using DXVA

One other thing.... Whenever i want to minimize and go back to XBMC it will not, just stays black so i have to quit and reopen, same when trying to Alt-Tab

THanks!


- blinkseb - 2010-01-31

jsnkid Wrote:ok so I tried playing a 1080p .m2ts with dsplayer and it began as just green then black then very choppy playback.

http://pastebin.com/m6622322b

When i pressed O it said it was using MPC video decoder and not using DXVA

One other thing.... Whenever i want to minimize and go back to XBMC it will not, just stays black so i have to quit and reopen, same when trying to Alt-Tab

THanks!

Your build is really old! Please update and try again Smile


- jsnkid - 2010-01-31

blinkeb Wrote:Your build is really old! Please update and try again Smile

Will do! Which file though? I just installed the one linked on the first page of the thread.....


- blinkseb - 2010-01-31

Two pages before Wink

http://dsplayer.passion-xbmc.org/XBMCSetup-Rev27290-dx.exe


- gorgone - 2010-01-31

oh no dont slap me Shocked

"Use custom mediatype for H.264" YES *GRRRRRRR*


http://pastebin.de/3611

blinkeb Wrote:
Code:
#
00:35:23 T:928 M:1059504128   DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Video pin to ffdshow Video Decoder.In
#
00:35:23 T:928 M:1059504128   DEBUG: CFGManager::ConnectDirect Failed !

Still not using ffdshow, and I absolutly don't know why! Check in Haali options if, on output submenu, the "Use custom mediatype for H.264" is on "No". Do the trick for me Wink



- jsnkid - 2010-01-31

No change, http://pastebin.com/m7f590e6c

In fact this time i also tried a 720p .MKV movie which works fine on DVDplayer but it appeared to mess up the color and do multiple videoes small.....

The minimizing issue and alt tab are fixed though!


- blinkseb - 2010-01-31

Code:
#
00:56:30 T:1212 M:1037684736   DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Video pin to ffdshow Video Decoder.In
#
00:56:30 T:1212 M:1037684736   DEBUG: CFGManager::ConnectDirect Succeeded !

Here we go, ffdshow works! I've got the same problem two weeks ago Wink

jsnkid Wrote:No change, http://pastebin.com/m7f590e6c

In fact this time i also tried a 720p .MKV movie which works fine on DVDplayer but it appeared to mess up the color and do multiple videoes small.....

The minimizing issue and alt tab are fixed though!

The mpcvideodec is really broken when not using dxva! Can you try using VMR9? If it still doesn't work, try ffdvideodec instead of mpcvideodec (look posts above for explanations)


- jsnkid - 2010-01-31

blinkeb Wrote:[code]
The mpcvideodec is really broken when not using dxva! Can you try using VMR9? If it still doesn't work, try ffdvideodec instead of mpcvideodec (look posts above for explanations)


using vmr9 is no change Sad

Any chance you wanna give me a quick step by step to use ffd? Big Grin

Also, would it help to change base os to windows 7?


- blinkseb - 2010-01-31

It's all explained in previous posts (http://forum.xbmc.org/showpost.php?p=497423&postcount=1651)

You just need to edit the dsfilterconfig.xml, look for the "rule" tag where "filetypes" is "m2ts", and replace videodec="mpcvideodec" by videodec="ffdvideodec" . You just need to configure ffdshow to accept mpg files.