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)



- GRSHOPR - 2011-01-12

steelman1991 Wrote:Firstly you need to activate debugging from the XBMC GUI

System\System\Debugging\Enable Debugging, the log file will then be placed in the C:\Users\Username\AppData\Roaming\XBMC\ folder, then use pastebin or similar and post a link to the url from here - see here for further details http://forum.xbmc.org/showthread.php?tid=42708

Could you also post your mediasconfig file,

Here's my log. I first played an MPEG2 movie, then an AVC, then a VC-1.

http://pastebin.com/Dzcyv5w7

I haven't touched a single thing on the mediasconfig file, but here it is, just in case, for reference. Thanks again for all your help.

http://pastebin.com/NMDaG6Px


- gav1577 - 2011-01-12

steelman1991 Wrote:Why would he do that it is the expected behaviour.

What you should do is post a debug while trying to play a file with DSPlayer, then we may be able to see what is happening. Please also post a copy of your mediasconfig.xml file.

Thats what i meant :rolleyes2:
@ SALAMINOMACHOS stick with steelman the expert he will sort it out for you!


- liquidskin76 - 2011-01-12

GRSHOPR Wrote:Here's my log. I first played an MPEG2 movie, then an AVC, then a VC-1.

http://pastebin.com/Dzcyv5w7

I haven't touched a single thing on the mediasconfig file, but here it is, just in case, for reference. Thanks again for all your help.

http://pastebin.com/NMDaG6Px

From your debug log it looks like dsplayer isn't being used. DVDPlayer is the default player and was being used.

Have you set dsplayer as the default player?

Cheers

[EDIT]

see line 596...

PHP Code:
596.12:40:58 T:4792 M:1714319360  NOTICEDVDPlayerOpeningH:\Movies (R)\A Knight's Tale.m2ts 

and line 910...

PHP Code:
910.12:50:34 T:4792 M:1594122240  NOTICEDVDPlayerOpeningG:\Movies (Z)\300.m2ts 

and line 1408...

PHP Code:
1408.12:51:00 T:4792 M:1549733888  NOTICEDVDPlayerOpeningE:\Movies\Inception.m2ts 

Cheers


- SALAMINOMACHOS - 2011-01-12

Good evening to all

@ steelman1991 @ gav1577
Thanks both for your help and attention
I think i will remove Dsplayer advancedsettings file because i do not know how to post the debugging file. I am not expert.
In the other hand i just wanted to see the Dsplayer to check if there is big difference with the Dvdplayer movie's quality
I am just wondering what should be the reason regarding the Dsplayer's not activation.
And sorry if my English is not good enough
Vagelis...........................


- GRSHOPR - 2011-01-12

Damned good call. Let me fix that. Thanks. I'll let you know.

Edit: Created the advancedsettings.xml. VC-1 plays now, but AVC still doesn't. MPEG2 and VC-1 now only play at ~12 fps, and the sound is static/buzzing. Log is below. Thanks again.

http://pastebin.com/UZ5iqhkX

Edit2: Looking through the log, it looks as though line 1911 of the log may be the issue with VC-1 feeds, although in line 836, when it loaded "300", there was no issue playing the movie (aside from playing at 12 fps with static for sound), but I'm not an expert. Thoughts?


- SALAMINOMACHOS - 2011-01-12

I just saw that C:\Appdata\Roaming\XBMC\ there is a file ( xbmc and xbmc.old)
I opened it and i saw that there is a text in.I do not if this is the debugging file.
If Yes tell me how to post it and where. Thanks


- GRSHOPR - 2011-01-12

SALAMINOMACHOS Wrote:I just saw that C:\Appdata\Roaming\XBMC\ there is a file ( xbmc and xbmc.old)
I opened it and i saw that there is a text in.I do not if this is the debugging file.
If Yes tell me how to post it and where. Thanks

The first one is your current debug log. Use pastebin and post the link here.


- gav1577 - 2011-01-12

GRSHOPR Wrote:Damned good call. Let me fix that. Thanks. I'll let you know.

Edit: Created the advancedsettings.xml. VC-1 plays now, but AVC still doesn't. MPEG2 and VC-1 now only play at ~12 fps, and the sound is static/buzzing. Log is below. Thanks again.

http://pastebin.com/UZ5iqhkX

Edit2: Looking through the log, it looks as though line 1911 of the log may be the issue with VC-1 feeds, although in line 836, when it loaded "300", there was no issue playing the movie (aside from playing at 12 fps with static for sound), but I'm not an expert. Thoughts?

Try This for the avc files problem .
Edit your mediasconfig.xml like below and see if it works

rule filetypes="mkv">
<source filter="mkvsource" />
<splitter filter="mkvsource" />
<video filter="mpcvideodec" />


- steelman1991 - 2011-01-12

GRSHOPR Wrote:Here's my log. I first played an MPEG2 movie, then an AVC, then a VC-1.

http://pastebin.com/Dzcyv5w7

I haven't touched a single thing on the mediasconfig file, but here it is, just in case, for reference. Thanks again for all your help.

http://pastebin.com/NMDaG6Px
Check your ffdshow video settings.

Go to ffdshow Video Decoder\codecs\ and make sure that playback of mpeg2 is enabled.


- uncertainty - 2011-01-12

Just a recommendation to new users installing Dsplayer for the first time I found it was much easier to use the default mpcvideodec filter to test first. Once the mpcvideodec filter is playing correctly you can then modify the mediasconfig.xml for your preference.

I see most of the problems people are reporting of late have to do with ffdshow's configuration. FFdshow's config is much more involved in order for all the codecs to be set correctly. I also found that ffdshow with postprocessing (ie sharpen, resize etc) is no better then using mpcvideodec with the "sharpen complex 2" shader applied.


- GRSHOPR - 2011-01-12

gav1577 Wrote:Try This for the avc files problem .
Edit your mediasconfig.xml like below and see if it works

rule filetypes="mkv">
<source filter="mkvsource" />
<splitter filter="mkvsource" />
<video filter="mpcvideodec" />

The only things that changes are that the system runs doggedly slow now, and AVC will show a black screen for a fraction of a second, and then shut the movie down itself. Why would mkv affect my .m2ts files, out of curiosity?


- gav1577 - 2011-01-12

GRSHOPR Wrote:The only things that changes are that the system runs doggedly slow now, and AVC will show a black screen for a fraction of a second, and then shut the movie down itself. Why would mkv affect my .m2ts files, out of curiosity?

Ah lol misread your post and assumed it was mkv you were having the problem with Blush
you could give haali media splitter and ac3 filter a shot

rule filetypes="ts|mpeg|mpg|m2ts">
<source filter="haali" />
<splitter filter="haali" />
<video filter="mpcvideodec" />
<audio filter="ffdaudiodec" />
</rule>

Or you could try

rule filetypes="ts|mpeg|mpg|m2ts">
<source filter="haali" />
<splitter filter="haali" />
<video filter="mpcvideodec" />
<audio filter="ac3filter" />
</rule>


- GRSHOPR - 2011-01-12

steelman1991 Wrote:Check your ffdshow video settings.

Go to ffdshow Video Decoder\codecs\ and make sure that playback of mpeg2 is enabled.

It is, via libvacodec.


- steelman1991 - 2011-01-13

@GRSHOPR

I see your running the last build commit by Seb - several newer, though unofficial builds have been posted since then. I could never get that build rev33619 to work properly. The newer builds seem far more stable, try one of them and see if they resolve your problem (liquidskin posted a link to a new build a couple of pages back).

I'm going to go out on a limb here and suggest that newer users consider installing Sharks Codec Pack. I was never a fan of bundled codecs, but this one works and works well. I've been using it now for over a year, without issue. Make sure your system is codec free, uninstall ffdshow, etc. Download, check the box to install Shark's recommneded settings and along with a bog standard dsplayer install you should be good to go.


- GRSHOPR - 2011-01-13

Thanks, Steel. They're downloading now. I'll let you know how it goes.