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)



- tiben20 - 2010-01-11

sergvic Wrote:Why at file review .mkv it is not used DXVA ?
"Video Decoder: MPC Video decoder | Not using DXVA"
Videocard Radeon HD4650 AGP
If turned on first options in xbmc gui in the video section. About the renderer its never going to work


- therealjoeblow - 2010-01-12

tiben20 Wrote:I dont really understand why someone would play mkv with ffdshow when ffdshow and dxva dont work together. Make the same graph with the original filters setup

As I mentioned in an earlier post, I don't need or want DXVA, my hardware is perfectly capable of playing 1080p/x264/mkv without it (with either ZP or MPCHC and FFDShow). And the DXVA decode chain uses the same quality of scalers and renderers that the built in DVDPlayer does, which frankly looks like crap because it's upscaling with a bad algorithm that makes everything look soft.

I want to use ffdshow, because it's capable of resizing with a very real and significant improvement in picture quality using a very configurable lanczos or spline resizer.

It's that simple.

Nevertheless, as you requested, here's the CPU with the default filters. It's still unbalanced and pegging at 100%, because, as I said, it's L5.1 which ATI won't engage DXVA for, so it plays back with software decoding even in your builds, and still very inefficiently as compared to ZP+FFDShow:

Image

Cheers
The REAL Joe


- tiben20 - 2010-01-12

You sounds like someone who really know much more than me about resizers and upscalers. You should get vc express 2008 get the project and help me coding that part


- christoofar - 2010-01-12

Someday I'll learn to leave stuff well enough alone..Sad

I'm running build 26487 on my AsRock /ION/Nvidia nettop using XP Pro SP3. Everything has been pretty much running sweet, although I began noticing tearing about 1/3 of the way down the screen during scene transitions or fast movement. Read up in some threads about having vsynch turned on, but checked mine & it already was.I changed it from "Always on" to "on for video playback". It was also mentioned to check the Nvidia settings, so I forced vsynch, and turned on triple buffering in the control panel. Went to boot up XBMC to see if there was any change, but now I'm only getting a black screen, no XBMC boot logo, nothing. Did a hard reboot to get XP back, tried a reinstall of the build , thinking I might have messed something up, also set the nvidia setting back as they were. Still getting black screen, no logo, etc.

Any ideas? :confused2:

update: whew..uninstalled all XBMC , redid install from scratch, appears OK now. Don't know what I did, but glad it works. Sorry for panic mode..


- astrajoy - 2010-01-12

I'm running Zotac Iontix with the latest release. All video seems to be utilizing the DSPlayer. But, all of my 1080p video is choppy. Any ideas for the cause of this?

Running Windows 7 Ultimate 32bit


- robothunter - 2010-01-12

tiben20 Wrote:I dont really understand why someone would play mkv with ffdshow when ffdshow and dxva dont work together. Make the same graph with the original filters setup

That is what I use to think. I was downloading the latest version of ffdshow for my main computer and noticed that it now say's "Includes DXVA (Hardware acceleration)". So I downloaded it and Haali onto my Zotac ION N330 HTPC. Since I know that WMC uses that to play mkv files I loaded up a 1080p (6448kbps) movie with an ac3 5.1 soundtrack. It played smooth as silk with only 20% CPU usage. I tried Mediabrowser and got the same result. I was going to try and figure out how to implement this in Camelot but I had to go to work.

Here is the link: http://sourceforge.net/projects/ffdshow-tryout/


- tiben20 - 2010-01-12

robothunter Wrote:That is what I use to think. I was downloading the latest version of ffdshow for my main computer and noticed that it now say's "Includes DXVA (Hardware acceleration)". So I downloaded it and Haali onto my Zotac ION N330 HTPC. Since I know that WMC uses that to play mkv files I loaded up a 1080p (6448kbps) movie with an ac3 5.1 soundtrack. It played smooth as silk with only 20% CPU usage. I tried Mediabrowser and got the same result. I was going to try and figure out how to implement this in Camelot but I had to go to work.
Dxva is already a part of ffdshow didnt took long Tongue Ill take a look if it would be much better to switch entirelly to ffdshow


- sergvic - 2010-01-12

tiben20 Wrote:If turned on first options in xbmc gui in the video section. About the renderer its never going to work

Why on other mkv file DXVA works ?


- ghizzu - 2010-01-12

tiben20 Wrote:Ghizzu if you can give me enough information on how it could work and be worth it. Ill see what i can do. Here what i need First get graphstudio create or connect to mpc playing the http streams and print screen the graph. And ill need some specification on what you need to use in ffdshow. I really need the specific options you want to deal with in ffdshow. I dont want to integrate the entire options of ffdshow in the xbmc interface. There a lot of useless stuff. Just pm me with those info and ill see what i can do
Well, sorry but I surely am not a DirectShow expert, so I can't be of much help.

Regarding http streaming, I made some test recently. It seems that MPC can play almost all .flv http streams (via FLV splitter), but so far no luck with mp4, mov or avi. So probably http with DSPlayer is a no-go.

Regarding ffdshow options, IMHO the absolute minimum is:
- Normalize audio
- Postprocessing (deblock/dering). This should be enabled on a per-codec basis, i.e automatically disabled for codecs that don't needs it (avc1/h264). (There's already a patch somewhere that enables it in DVDPlayer, waiting to be included in SVN.)
- DeBand filter (sometimes called gradfun). This reduces the "banding" effect in color gradients. It'so effective that sometimes you don't even need to enable postprocessing. It makes the image a little softer, though, so it should be enabled at will.


- A600 - 2010-01-12

ghizzu Wrote:Regarding http streaming, I made some test recently. It seems that MPC can play almost all .flv http streams (via FLV splitter), but so far no luck with mp4, mov or avi. So probably http with DSPlayer is a no-go.

I tried mpc-hc with http .ts .mpeg and .mkv streams and all worked without problems:

Quote:Filter : File Source (URL) - CLSID : {E436EBB6-524F-11CE-9F53-0020AF0BA770}

- Connected to:

CLSID: {149D2E01-C32E-4939-80F6-C07B81015A7A}
Filter: Matroska Splitter
Pin: Input

- Connection media type:

Unknown

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: Unknown GUID Name {49952F4C-3EDC-4A9B-8906-1DE02A3D4BC2}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0

- Enumerated media type 0:

Could that filter be added to DSPlayer?

File Source (URL)
Filename: C:\WINDOWS\system32\quartz.dll
CLSID: {E436EBB6-524F-11CE-9F53-0020AF0BA770}


- therealjoeblow - 2010-01-12

ghizzu Wrote:Well, sorry but I surely am not a DirectShow expert, so I can't be of much help.

Regarding http streaming, I made some test recently. It seems that MPC can play almost all .flv http streams (via FLV splitter), but so far no luck with mp4, mov or avi. So probably http with DSPlayer is a no-go.

Regarding ffdshow options, IMHO the absolute minimum is:
- Normalize audio
- Postprocessing (deblock/dering). This should be enabled on a per-codec basis, i.e automatically disabled for codecs that don't needs it (avc1/h264). (There's already a patch somewhere that enables it in DVDPlayer, waiting to be included in SVN.)
- DeBand filter (sometimes called gradfun). This reduces the "banding" effect in color gradients. It'so effective that sometimes you don't even need to enable postprocessing. It makes the image a little softer, though, so it should be enabled at will.

Since the brightness and contrast controls don't work with DSPlayer, then the "Picture Properties" features of ffdshow should also be available, particularly "Luminance Gain (contrast)" and "Luminance Offset (brightness)".

Cheers
The REAL Joe


- kuroyume - 2010-01-12

i installed rev 26269 on Win7 x64 and it works quite nice, except for the fact that i can't get oudio over HDMI with DSPlayer... if i play using DVDPlayer i get HDMI audio, but DSPlayer goes quiet when trying to output digital sound over my HD4670...

anyone know where i could start looking to find a solution? is there a config option maybe i'm missing?


- StevenSeagull - 2010-01-12

I can't make it work under windows 7 x64 / ati radeon 4890
It does work however on radeon 3450 win xp 32 at work tho.

http://pastebin.com/m7ffcc1cb

When i click use dsplayer it just stops and does nothing. Can't finf anything wrong with the log.


- Vinny - 2010-01-13

First of all, thanks for the awsome work on this player. You gave me the will to buy a video decoding GPU Wink

I'm just coming back from a test of this "new" gpu of mine, a HD 3650, using DSPlayer. Some of my movies are working perfect now, really smoothy thanks to the DSPlayer. But on the other hand, some of my h.264 moving are just not working at all with dsplayer. I read somewhere that the encoding has to fit GPU decoding standards, maybe those movies don't.

But, what exactly should happen when DXVA is just not capable of decoding the stream, is the dsplayer detecting it and switching back to software decoding ? Because I just get a scrambled screen, with no movement what so ever. Only the OSD and sound working well. There's just one of my h264 movies which still plays in software mode automatically.
Sorry if someone already came up with this issue, but the thread is just to gigantic to find it Sad

Edit : I'm trying to reencode one of the non-working video using DXVA compliant parameters, so I assume I'll be fixed when it's done !


- tiben20 - 2010-01-13

Vinny Wrote:First of all, thanks for the awsome work on this player. You gave me the will to buy a video decoding GPU Wink

I'm just coming back from a test of this "new" gpu of mine, a HD 3650, using DSPlayer. Some of my movies are working perfect now, really smoothy thanks to the DSPlayer. But on the other hand, some of my h.264 moving are just not working at all with dsplayer. I read somewhere that the encoding has to fit GPU decoding standards, maybe those movies don't.

But, what exactly should happen when DXVA is just not capable of decoding the stream, is the dsplayer detecting it and switching back to software decoding ? Because I just get a scrambled screen, with no movement what so ever. Only the OSD and sound working well. There's just one of my h264 movies which still plays in software mode automatically.
Sorry if someone already came up with this issue, but the thread is just to gigantic to find it Sad

Edit : I'm trying to reencode one of the non-working video using DXVA compliant parameters, so I assume I'll be fixed when it's done !
Im currently looking into getting boxee dxva into xbmc im working every day until saturday so i dont have a lot of time to code this week