Guide: Setting Up Bitstreaming With Your Windows 7 HTPC & XBMC Using DSPlayer

by Damian on June 25, 2010 · 92 comments

in Guides

*** PLEASE NOTE THAT AS OF 25-JAN-2011 DSPLAYER IS NO LONGER BEING DEVELOPED***

A few weeks ago I was browsing the XBMC forums and noticed that there is an XBMC build that integrates an internal Directshow based player (called DSPlayer). This is important for two reason. The first is that that DSPlayer supports hardware acceleration in Windows which is something that until recently had not been supported by XBMC in Windows. The second reason is that DSPlayer allows you to choose what filters/splitters to use instead of relying on the internal XBMC filters/splitters. For me this is big because you need to use 3rd party filters/splitters (i.e. ffdshow, mpc, etc…) to get bitstreaming of HD Audio to work. A summary of some of the features that come with DSPlayer:

  • DXVA acceleration on Windows XP, Vista and 7
  • Ability to build your own decoding graph by using DirectShow filters (ffdshow, Haali, …), based on rules depending on media file (codec, resolution, extension …)
  • Subtitle support (really new)
  • DVD Support (ISO still unsupported)
  • EVR & VMR9 Renderer
  • PixelShader resizer (Bicubic & Nearest neighbor)
  • Fully integrated into XBMC
  • And more

I previously documented how to use MPC HC as an external player for XBMC. The difference is that with MPC HC you are using the MPC HC interface to control. With DSPlayer you are still using the same controls that you would be using with the default XBMC player which may be preferable to keep everything “within” XBMC. So now let’s take a look at how to install/setup XBMC + DSPlayer.

Hardware Requirements / My Setup:

Files to Download:

Setup:

Steps 1 – 5  will remain the same as in the Part I guide

6. Install ffdshow. After installed run the ffdshow audio decoder configuration, go to output, and make sure the audio formats you want bitstreamed are checked off:

7. Install XBMC w/ DSPlayer. During the installation when you get to the “Choose Components” section if you decide to use the latest FFDShow Beta instead of the one provided with the XBMC installer, make sure you uncheck the “ffdshow rev 3326″ box.

8. After XBMC is installed navigate to C:/Program Files/XBMC/system/players/dsplayer. You should see a bunch of MPC filters. Replace the filters here with the MPC standalone filters downloaded. The reason for this is I found that some movies would not play back properly with the MPC filters provided, but updating to the latest filters fixed the problem.

9. Open up NotePad++  or other and paste in the following lines of code:

<advancedsettings>
 <video>
  <defaultplayer>dsplayer</defaultplayer>
 </video>
</advancedsettings>

Name the file as advancedsettings.xml and save in your Users\[user]\AppData\Roaming\XBMC\userdata folder.

10. Now go into XBMC to confirm that DSPlayer is working.

  • If you want to confirm that DSPlayer is set as default right click on a movie and select “Play Using”. You should see a choice of the available players with DSPlayer set as default.

  • Another way to confirm that DSplayer is being used, when you go to play a movie for the first few seconds you will see a “Working” status bar appear in the bottom right hand corner of the screen

  • Once playing you will notice that the same controls used with the default XBMC player are present with DSPlayer.

Optional:

DSPlayer relies on two xml files for playback, filtersconfig.xml and mediasconfig.xml. These two xml files can be located in the C:/Program Files/XBMC/system/players/dsplayer. If you want to make any changes/customization to these files the best bet is to create new xml files named the same and save in the Users\[user]\AppData\Roaming\XBMC\userdata\dsplayer folder. The xml files in the userdata folder will override the xml files in  the system folder.

The filtersconfig.xml file is where all filters to be used by DSPlayer is declared. The developers of DSPlayer have already added all the common filters to the xml, so unless there is a specific filter you want to add that is not referenced you should not need to edit this file.

The mediasconfig.xml file is where the rules are set up for what source filter, splitter filter, audio decoder, and video decoder are used for each video extension. Once again the developers of DSPlayer have already added all the common rules to the xml, so unless there is a specific filter/decoder you want to use that is not referenced you should not need to edit this file.

So what happens if you want to set up a different filter to be used? The developers put together an excellent Wiki here on how to use the filtersconfig.xml and mediasconfig.xml, but I will walk through one quick example. For my HTPCs I like to use the MPC Video decoder for my h.264 and VC-1 mkvs. The problem is that the MPC decoders are not optimized for Intel systems (such as my core i5 HTPC), so I have to switch to a different Video Decoder otherwise playback comes up blocky with green spots. Supposedly Intel is finally working with the MPC guys to fix this, but until then I decided to just use the Microsoft Video Decoder. The one drawback is that the MS Video Decoder does not support DXVA in VC-1, but more core i5 HTPC has plenty of juice for the CPU to handle.

The first step we need to do is check to see if the MS Video Decoder is already added to the filtersconfig.xml file. Opening up the xml file I see that it is not, so we need to add manually. To add a new filter you will need to get the GUID tag. A GUID (Globally Unique Identifier) is an unique identifier which allow media players to load filters. An easy way to get the GUID of a filter is to use Graph Studio. Launch Graph Studio and go to Graph -> Insert Filters. Scroll through the list until you find the filter you are looking for. For  the Microsoft DTV-DVD Video Decoder. On  the right hand side under “Filter Details” you will see the CLSID which is the GUID needed.

With the GUID we can now add the MS Video Decoder to the filtersconfig.xml file. The format that needs to be used to add a filter is:

 <filter name="name_of_filter" type="type_of_filter">
  <path>C:\MyFilter.ax</path> (OPTIONAL ONLY IF THE FILTER IS NOT REGISTERED)
  <guid>{00000000-0000-0000-0000-000000000000}</guid>
  <osdname>My Filter Name</osdname>
 </filter>

The entry for the MS Video Decoder would look like this:

 <filter name="msvideodec" type="videodec">
  <guid>{212690FB-83E5-4526-8FD7-74478B7939CD}</guid>
  <osdname>MS Video Decoder</osdname>
 </filter>

Now that the MS Video Decoder has been added to the filtersconfig.xml, the next step is to assign this filter to whatever media file we want it to use. Open the mediasconfig.xml file. I want the MS Video Decoder to be used for my mkvs, so scroll down to the mkv rule and change the default “mpcvideodec” to “msvideodec”

   <rule filetypes="mkv">
      <source filter="mkvsource" />
      <splitter filter="mkvsplitter" />
      <video filter="msvideodec" />
      <!-- You can do like that to specifie a DXVA only filters.
      If you want to use the same filter for DXVA and non DXVA media, just add
      a single <video> line.
      <video>
        <video dxva="true" filter="msvideodec" />
        <video filter="msvideodec" />
      </video> -->
      <audio filter="ffdaudiodec" />
      <!--<extra>
        <extra filter="ac3filter" />
        <extra filter="dcgraphiceq" />
      </extra>-->
    </rule>

With these changes the Microsoft Video Decoder will be used in place of the default MPC Video Decoder.

Known Issues:

  • Embedded VOBSUB subtitles in mkvs will freeze DSPlayer. Speaking to one of the developers this has been fixed and should be available in the next build release
  • PGS subtitles embedded in mkvs will not play. Speaking to one of the developers this has been fixed and should be available in the next build release

Final Thoughts:

I must really commend the XBMC developers (I believe Tiben/Seb) on an excellent job done. Using DSPlayer + FFDShow I have no issues bitstreaming HD Audio from my standalone mkv/m2(ts) Blu Rays. Hopefully in the near future DSPlayer will be incorporated into the general XBMC build as an option.





Article by

Hi, my name is Damian, and I'm tech gadget addict! Although I always had some interest in technology, it wasn't until I got my EX470 and more importantly found Mediasmartserver.net, that my interest became an addiction. My goal, aside from world domination and to see the Mets/Broncos win another championship, is to set up the perfect digital home where all my media is available at the click of a button. When I am not writing for Mediasmartserver.net you can find me over at my blog at http://www.adigitalhomeblog.com or follow me on twitter


{ 92 comments }

Dullie June 25, 2010 at 5:16 pm

Thanks a lot for this “priceless” guide.. Just hope its stutter free ;)

Damian June 25, 2010 at 6:08 pm

@ Dullie,

An older DSPLayer build I had issues with stuttering. The latest one combined with the latest MPC HC Standalone filters fixed my stuttering issues

Rhinoevans June 26, 2010 at 2:01 pm

Off the subject, but been using XBMC for about 3 weeks now and just starting to figure it out. Just figured how to put TV covers on my TV files. Looks good. Currently running it on my laptop, pointing to the server for the video files. I am building an HTPC next week. CPU and MB are here, case from NewEgg will be here Monday. Went with a 4U server case so I could sit it in a wall unit with other audio devices (Receiver, DVD). Pic’s to follow

Rhinoevans June 26, 2010 at 2:08 pm
Damian June 26, 2010 at 4:20 pm

Hey Rhinoevans,

Yeah, with TV Shows as long as your naming is correct it is pretty straightforward to set up. The only “hurdle” is that it may not be clear how to set up XBMC to build your library from the “Set Content” button.

If I recall you plan on adding a 5xxx GPU to your intel corei7 build, correct? If so and you are doing for bitstreaming then definitely try either the DSPlayer build or launch MPC HC from XBMC as I posted in my previous guide.

The Latest DSPlayer build I have been testing on has been much more stable for me. The stuttering that “Dullie” mentioned was from when I was testing r29443, but the latest build (r31004) did not exhibit this on either my 5670 or core i5 HTPC. Then again, “Dullie’s” comments seem to be taking a dig at me, as if we have crossed paths elsewhere. I guess it is easier to hide behind a keyboard and take shots without identifying yourself…

Stiwi June 27, 2010 at 11:11 am

Hi Damian,

I have been following your guides and one of them was an inspiration to use MediaBrowser + MPC as an external player. It works very good on my HTPC (Asrock Ion330), however I am sure the navigation in library could work smoother.

Would you mind sharing your personal feeling which of the two options you have presented (WMC + MB + MPC) vs (XBMC + DSPlayer) you prefer and why?

Also what is the point to use DSPlayer as an external player in XBMC? I read that the recent build versions can support hardware acceleration without need of external player.

Out of curiosity, can XBMC fetch the metadata automatically like MediaBrowser does?

Thanks.

Damian June 28, 2010 at 2:58 am

@ Stiwi,

The main reason to use DSPlayer over the internal XBMC player (now that the internal player supports DXVA in Windows) is for Bitstreaming of HD Audio. Since you have an Asrock Ion though obviously this is not a concern to you.

XBMC fetches metadata/fanart automatically. When you set up your library in XBMC you assign it a scraper and XBMC will go out and pull in the needed metadata. You can set it to refresh upon restart to any new movies added.

As far as XBMC vs Media Browser from a Navigation standpoint I have found XBMC much quicker. Probably the biggest reason why I prefer Media Browser right now is the use of Virtual Folders which allows me to segregate my media Library by Kids Movies, HD Movies, etc…good for the WAF.

gsilver June 28, 2010 at 8:51 am

Can you go through which settings need to be configured from within XBMC as well? By default my audio came up as analog, so I figured this at least needed to be set to HDMI, but there are a few other settings that I wasn’t sure about.

Damian June 28, 2010 at 9:06 am

@ gsilver,

I never touched any audio settings in XBMC, I just downloaded the DSPlayer build, made the couple tweaks that are noted in this guide, and then everything just worked as advertised. When I get home I will confirm that no other settings were tweaked.

SteveG June 28, 2010 at 4:20 pm

Hi Damian,

Thanks again for another great guide. I never thought I’d say this, but I’m now preferring XBMC over Media Browser, for the speed and consistency of the UI and the extra bells and whistles, such as previewing TV episodes in a window and trailer support. I’m using Showmix 2.5, which is a great skin with great features. I look forward to trying dsplayer. You are correct that having to set content within XBMC is not intuitive, but I have the hang of it now. And I like Ember Media Manager for scraping content, though it is a bit buggy.

Damian June 28, 2010 at 4:24 pm

Hi Steve,

You know, Media Browser has been a little buggy for me of late. One issue of particular every once in a while when I go into it all my covers/metadata are missing (even though I store them all locally) and it takes over a minute for the library to be rebuilt (why it needs to be rebuilt I have no idea). Needless to say trying to navigate through a wall view or coverflow is difficult with no covers!!! XBMC has really stepped up on my list, and potentially even SageTV if they get the bitstreaming issues I have tested sorted out (the speed of XBMC is a huge plus!)

What trailer support are you talking about, being able to play local trailers of your movies that you have stored?

SteveG June 28, 2010 at 5:17 pm

I’ve also noticed the slow down with Media Browser, requiring it to rebuild the library. And it is sluggish when navigating the UI compared to XBMC. And I just can’t find a theme that I like these days. On the other hand, I like the Media Browser setup wizard more than I like writing xml files for XBMC. And I like the Media Browser plug-ins.

As for trailers, I was thinking about the way you can play a trailer in XBMC for one of your movies by just pressing the right arrow key, like you can to preview TV episodes. (Media Browser also lets you play trailers for your movies, but i just prefer the way it works in XBMC.) Of course, you have to have downloaded the trailer, but I see that Ember will do so automatically when it scrapes. I’ll try that soon. And Ember will let you extract extra thumbs from your video if you can’t find them by scraping.

Damian June 28, 2010 at 6:19 pm

@ Steve,

I actually made a request to have local trailer support added back (not the way Media Browser does it where you need a trailer subfolder, as this causes problems with other front ends/players). Unfortunately my request didn’t get too far:

http://community.mediabrowser.tv/permalinks/1571/local-trailers—support-xml-as-well-as-trailers-subfolder

Ti-BEN June 29, 2010 at 12:17 pm

@Stiwi
“Also what is the point to use DSPlayer as an external player in XBMC? I read that the recent build versions can support hardware acceleration without need of external player.”
Hi im the creator of the dsplayer. One big reason why i started the project was to support dxva under windowsxp. You can’t use dxva1 if you dont use directshow renderers under windows xp

Damian June 29, 2010 at 2:57 pm

@ Ti-BEN,

Thanks for commenting and of course excellent job on DSPlayer :-)

Cheers
Damian

Ti-BEN June 29, 2010 at 4:34 pm

Thanks
with over 30000 lines of code this is starting to be a big piece of work :P

gsilver June 29, 2010 at 7:00 pm

Ok, I finally got bitstreaming to work. I just had to set the audio output device to Directsound: ATI HDMI. Sweet!

Now for my other issue, I have several movies that play at about 15 FPS. The video codec is listed as “WMV 9 Advanced Profile (VC1) on all the files that play at 15 FPS. I haven’t tried all my files but the ones that did this were all of the Harry Potter films, The Dark Knight, Stargate and Constantine (I’m sure I have more these are just the ones I ran across). These are all .M2TS files and they play fine with bitstreaming in MPC-HC.

On the other hand, Sherlock Holmes is a WMV 9 Advanced Profile (VC1) and it plays at full speed.

Also, I don’t appear to have DXVA going in DSPlayer. When I use the DVD Player it is using DXVA though.

Anyone seen this 15FPS issue?

This is on a E8400 with an HD 5670 on Win 7 X64.

SteveG June 30, 2010 at 2:38 pm

Ti-BEN, thanks for the great work!

Everyone: my home theater computer is running 64-bit Windows 7. I’m wondering whether the GUID for the MS Video Decoder is the same in both 32-bit and 64-bit, so that I need not look it up but can rely on Damian’s findings.

Damian June 30, 2010 at 4:23 pm

@ SteveG

I tested on my x64 PC using Graphstudio x32 and Graphstudio x64. In both cases the MS Video Decoder had the same GUID. I assume that XBMC is a 32bit application so the 32bit filters/decoders would apply (must be the case as I only installed FFDShow x32 and everything worked fine)

SteveG June 30, 2010 at 4:35 pm

Great! Now if I can just find time to implement it. And I want to find out how the collect3 XBMC Remote app I just bought for my iPhone works. They say it will populate the app with info about your media collection, much like Apple’s Remote app does with iTunes. If so, I’ll be very happy with that purchase. And I love my new iPhone 4 and iOS4, and the way apps scale to the new, high res display.

Damian June 30, 2010 at 5:05 pm

Interesting, I will have to take a look at that collect3 app. I have an app for MyMovies that allows me to see my movie collection on my iPod/Iphone, so I assume collect3 will do the same for XBMC

Ti-BEN June 30, 2010 at 6:30 pm

With 64 bit decoder its only a slightly performance improvements but usually 32 bit is always more stable.

SteveG June 30, 2010 at 11:39 pm

Ti-BEN,
Thanks, I’ve read elsewhere that 32-bit stuff is more stable, but this PC is married to 64-bit Windows for good. Can one nonetheless use 32-bit decoders within a 64-bit system? It has been a long time since I paid enough attention to computers to know answers to such questions.

Damian July 1, 2010 at 5:13 am

@ SteveG,

The x32 vs x64 decoders depends on the player you are using. You can use x32 players in Windows x64, so if you are using an x32 player then you need x32 decoders. If you are using an x64 player then you need x64 decoders. For example, in Windows 7 x64 you can use MPC HC x32 or x64. If you use MPC HC x32 you need to use FFDShow x32 alongside. If you use MPC HC x64 you need to use FFDSHow x64. Where possible I prefer to stick with x32, so for my W7 x64 Laptop is use MPC HC/FFDSHow x32.

dlmh July 1, 2010 at 7:04 am

Hi Damian,

Thanks for the write-up! I was looking for an easy-to-follow guide for bitstreaming and XBMC DSPlayer and found this article linked on the XBMC forum.

Have you tested this with the audio/video output of the Clarkdale GPU as well, or just through a ATi HD5xxx card? I’m asking, because I’m having trouble bitstreaming HD audio to my receiver, especially with DTS-HD (MA) on my Core i3 530.

Damian July 1, 2010 at 7:13 am

@ dlmh,

I tested with both my 5670 GPU HTPC and my core i5 HTPC, and in both cases I had no issues bitstreaming. If you look at the section where I talk about using the MS Video Decoder instead of the MPC Video Decoder this is because the MPC Video Decoder does not work well with core i3/i5

dlmh July 1, 2010 at 7:19 am

@ Damian

Thanks! I will try this tonight then…

I have been messing with the ffdshow settings, xml files and Windows sound settings to get bitstreaming working. If I remove XBMC and ffdshow, and restart with your tutorial, do you expect I could still run into problems caused by my previous messing? ;)

Damian July 1, 2010 at 7:24 am

@ dlmh,

Can you get bitstreaming to work just using MPC HC + ffdshow (as per my guide here – http://www.mediasmartserver.net/2010/02/02/guide-setting-up-bitstreaming-with-your-windows-7-htpc-part-i/)? If you can get this to work then you shoudl be fine with XBMC + DSPlayer + ffdshow

dlmh July 1, 2010 at 7:25 am

@ Damian

Tonight, we will know :)

SteveG July 1, 2010 at 9:39 am

I got XBMC Remote working on one of my computers last night. The setup instructions are a bit out of date, since some networking stuff has been moved and renamed in XBMC, but I got it working after some experimentation. It works well, pulling the media information off the computer, and the remote control buttons work well, though a couple don’t seem to do what they are supposed to do. It gives me better control running XBMC than my IR remote, since it has dedicated buttons for more functions. And it is nice to be able to find media on the phone and start it playing on the computer.

dlmh July 2, 2010 at 5:59 am

@ Damian,

It’s working!!! :) I get both Dolby TrueHD and DTS-HD! Thanks!

But I have the same problem as Gsilver: every file with the Microsoft WMV9 (VC1) will playback at 15fps and thus stutters.

dlmh July 2, 2010 at 6:24 am

Alright, fixed this too!

The problem is with both the ffvideodec and msvideodec, because they both cause the stutter. If I set the video decoder for .m2ts to mpcvideodec, the stutter is gone!

It’s only with .m2ts files (with WMV9), the msvideodec works perfectly for my .mkv movies.

Damian July 2, 2010 at 6:28 am

@ dlmh,

Interesting, great to hear it is working :-) I moved all my m2ts files over to mkvs, so makes sense that I didn’t see the same issue as you. It would be nice if everything was just moved over to AVC/H.264 and get rid of VC1 altogether (don’t know what goes into the decision making of what format to choose by the Movie Studios)

gsilver July 2, 2010 at 6:31 am

Cool. I’ll have to try this when I get home. I’m thinking I might just start ripping to mkv from now on. I need to find a way to batch convert all my .m2ts files.

Damian July 2, 2010 at 6:37 am

The two reasons why I moved away from .m2ts is no chapter support and VC-1 issues. You can see some of the mkv articles I have put together here (http://www.mediasmartserver.net/tag/mkv/) although I am not sure of any programs that will allow you to batch convert that don’t involve some sore of encoding. Another EAC3To GUI does allow for batch converting but I think it requires BD Folder structure and not standalone m2ts

Damian July 2, 2010 at 11:28 am

@ gsilver/dlmh,

If you guys get a chance, can you post your issue and possibly a debug log on the XBMC thread regarding VC-1 m2ts:

http://forum.xbmc.org/showthread.php?p=562127&posted=1#post562127

dlmh July 5, 2010 at 6:06 am

@ Damian,

Alright, will do.

Do you know if it is possible to split the filter settings for .(m2)ts files relative to their video format? This way I could use the msvideodec for .m2ts files with .h264, and mpcvideodec for .m2ts files with WMV9/VC-1.

Damian July 7, 2010 at 8:22 am

@ dlmh,

Honestly not sure, never tested out. I see you posted on XBMC as well, so hopefully someone has an answer on how to do as I would be very curious as well.

SteveG July 7, 2010 at 6:20 pm

One of my goals is to get the best audio and video possible using XBMC, both for music only files and for video files. The best audio for music requires either an ASIO or WASAPI driver, so as to bypass the resampling by Windows to get bit-perfect audio. For video the goal is to pass TrueHD and DTS MA unmolested by bitstreaming them to my preamp/processor. The former can be done using a patch developed by ArtVandelae and specifying in advancedsettings that audio only files should be played using DVDPlayer. Then one can set the audio output as WASAPI. The latter can be achieved by using DSPlayer, as Damian shows in this tutorial.

My question: whether there exists a build or a means to accomplish both goals, video playback with bitstreamed DTS MA and TrueHD, and audio playback with bit-perfect output. I’d love to read that it can be done.

Ti-BEN July 13, 2010 at 3:46 am

@Honestly not sure, never tested out. I see you posted on XBMC as well, so hopefully someone has an answer on how to do as I would be very curious as well.

It can be done rather easily on the code side. But right now i’m completely rewriting the dxva ffmpeg integration in a way it could accept by ffmpeg. Believe me this is a big task to get it done. For the filter depending on video format its on my todo list for a while and its still there.

SteveG July 15, 2010 at 9:57 am

Thanks, Ti-BEN, I’ll keep lookiing. In the meatime I guess I’ll listen to music using j river Media Center 15, which has WASAPI output and a network interface called WebRemote that lets you control it from a browser on another machine.

Bahndit July 23, 2010 at 2:35 am

Thanks for the guide. I just put together a rig with an ATI 5770 and I have really enjoyed being able to make use of the DTS-HD MA tracks from my Blu-ray rips. I do have a question though. For some reason when I play a Dolby TrueHD track it is being decoded on my HTPC and being passed as LPCM to my receiver instead of being bitstreamed like my DTS-HD tracks. Does anybody know what I can do to make my setup bitstream the TrueHD tracks as well? Thanks for your help in advance.

Damian July 23, 2010 at 1:04 pm

@ Bahndit,

What HDMI driver are you using? Also, do you have TrueHD ticked off in the FFDSHow Audio settings?

Bahndit July 23, 2010 at 2:20 pm

@ Damian,

I am using the Realtek R2.49 with the Catalyst 10.6 drivers. I have the Dolby TrueHD ticked off in FFDSHow Audio settings just like you show in your setup guide.

Damian July 23, 2010 at 2:25 pm

@ Bahndit,

Have you tried playing a TrueHD movie through MPC HC? It appears that you are using the Realtek HDMI driver (if you install Realtek before Catalyst then Catalyst does not install its own driver), but you shouldn’t have problems. Try with the latest MPH HC and see if you have the same issue, as it almost sounds like you have an EDID issue (which the latest HDMI drivers should have alleviated)

Pinnocchio777 August 14, 2010 at 10:19 pm

Hi Damian,

Really amazing work going on with this project.

I’m trying to switch audio stream while playing a movie in full screen so I have added the following line in keyboard.xml

AudioNextLanguage

but it does nothing. I even press the speaker icon and manually change the audio stream from french to english in the menu and nothing happens.

Do you know if this is a bug? Using ffdshow with stream switch enabled.
Bitstreaming is working A1 however.

Thanks
Do

Damian August 24, 2010 at 7:14 am

Hmmm…it may be a bug, not sure if DSPlayer works with audio stream switching. I only have one audio stream in my movies so I cannot confirm. You may want to ask on the XBMC forum – http://forum.xbmc.org/showthread.php?t=71825

Xorlon September 12, 2010 at 5:32 am

So, yesterday I followed your first guide to setup bitstreaming with MPC HC, which I got working flawlessly when I changed to the correct versions as you advised to.
I later moved on to getting XBMC to work with bitstreaming using this guide, since I prefer XBMC for managing movies and the nice UI XBMC provides.
However I cannot play any videos at all with DSplayer, it just shows the “loading” symbol down to the right and just stops loading again, no movie started.

I’ve used these packages/setups.(Latest MPC standalone, latest XBMC DSplayer release)
MPC-Standalone Filters.1.4.2499.0.x64.zip
XBMCSetup-Rev31004-dx.exe

I’ve placed (all) MPC standalone filters in C:\Program Files (x86)\XBMC\system\players\dsplayer
The advancedsetings.xml is created with notepad++ and put into the roaming profile.
When using “play as” in XBMC DSplayer shows as default player.
I’ve not made any changes in the .xml files in system/players/dsplayer.

Once again hope for advice Damian =)

Damian September 12, 2010 at 5:41 am

XBMC is a 32 bit application, so you need to use the 32 bit filters (It appears you grabbed the x64 filters)

Damian September 12, 2010 at 5:42 am

Also, make sure you use the latest DSPlayer build which is 33619, not 31004

Xorlon September 12, 2010 at 5:45 am

Ah, sorry. Posted the wrong exe. I tried both 31004 and XBMCSetup-Rev33619-dx.exe

And I also tried both 32 bit filters
MPC-Standalone Filters.1.4.2499.0.x86.zip
and 64 bit filters when the 32 bits didn’t work.
MPC-Standalone Filters.1.4.2499.0.x64.zip

=/

Xorlon September 12, 2010 at 5:51 am

I made a different but similar approach to your mpc hc as external player in xbmc. But since I didn’t get the DSplayer working I tried the new Dharma release, and put into playercorefactory.xml a rule that made all *.bdmv files play with mpc hc.
Works fine for my BD rips, and the new dharma release supports hardware acceleration by default, so my poor old p4 don’t have to do the decoding work for all xvids and mkvs in 1080p.

Damian September 12, 2010 at 6:08 am

My x64 laptop that I test on I left at work, so I can’t confirm with the newest DSPlayer until tomorrow. However, I was going to recommend using MPC HC with Dharma so you can get the newest features such as the Add-ons, etc… Looks like you beat me to it :-)

I have been testing out the Aeon skin in Dharma which works nice

Xorlon September 12, 2010 at 6:19 am

Only thanks to your mpc hc guide though =)

I’m currently trying to figure out how the ned addons works and how to install new skins. But even here I fail, I was pretty sure there was a folder in xbmc before named “skins” where one simply extracted the skins prefered. Not anymore it seems.

The Aeon skin, is it downloadable as a zip or rar anywhere? All I find is a link to a repository, and I’m not using linux atm.

Damian September 12, 2010 at 6:29 am

Here is my writeup I just did on Aeon which explains where to get the add ons (including skins)

http://www.mediasmartserver.net/2010/09/07/guide-getting-started-with-xbmc/

David Hoevers September 13, 2010 at 2:48 am

Hi Damian,

Although I already mentioned I got bitstreaming working, I never got around to watching a full-length movie. Somehow, XBMC will crash on random moments, sometimes after a few minutes, sometimes after an hour. It seems to get worse when resuming on a certain point in the movie after a crash has occurred. If I start ‘from the beginning’ it will usually work for a longer time.

This happens with the old ‘official’ DSPlayer release from June, as well as with the release from September. I tried many settings, both in ffdshow and XBMC, and tried different decoders in mediasconfig.xml, but nothing seems to change anything.

If I use DVDPlayer instead the movie will run without a hitch, so it’s definitely not a hardware issue, but it could be driver related? I have the latest drivers for the chipset/GPU on Windows 7 32-bit.

Have you ever had any of these issues? I’m considering buying a HD5570 just to try it out, because it’s really annoying and frustrating…

Damian September 13, 2010 at 1:59 pm

Hi David,

Do you find any commonalities (I have been looking for a reason to use that word :-) ) with when it crashes? For example, I know DSPlayer had issues with my Subtitles and would crash leading up to those scenes. What file types (i.e. mkvs) are crashing and did you change any of the filters that DSPlayer uses?

Also, if you play the same files with MPC HC do you get the same crashes?

dlmh September 14, 2010 at 2:12 am

Thanks, didn’t think of trying that…

I downloaded the latest MPC-HC from SVN, followed your previous guide and had HD bitstreaming up and running in no time. Much to my surprise, MPC-HC played back the movie without crashes, even three times.

I tried the standalone MPC-HC filters from the same SVN version and copied them to the XBMC DSPlayer folder (overwriting older versions). But XBMC still keeps crashing at random intervals, no specific chapter or time.

So XBMC and MPC-HC now use the same filters and ffdshow version, but one crashes, the other doesn’t.

Could it be the splitter that XBMC uses? What filter does MPC-HC use to playback .m2ts files with h264 codec?

Damian September 14, 2010 at 6:38 am

Not sure what the problem could be as DSPlayer should be using the MPC filters. You could try asking on the XBMC forum to see if the developers have any ideas. Another option if MPC is working well is just to use that and have XBMC launch it when playing back your movies. The advantage of this as well is that you can use the latest Dharma build and get access to the Add-ons, etc…

dlmh September 15, 2010 at 2:38 pm

Hi Damian,

I narrowed it down to an issue with Aero/DirectShow/DX. I noticed that when I turned off Aero, the crashes became much more infrequent (only once every 15-20 minutes or so, instead of 3-4 minutes).
After changed the renderer from EVR to VRM9, the crashes stopped occurring entirely… not sure why this happens though…

There’s no real noticable downside to VRM9, but I saw that the real fps output is more erradic (23.60-24.10 Hz) than with EVR (23.90-24.02 Hz), but I don’t notice it.

TrIX September 27, 2010 at 6:56 am

Hi Damian,

Can you please confirm that you get perfect 23,976 playback with HD bitstreaming? If so, are there any special tricks to get it, or is simple as setting output resolution/refresh rate on graphics control panel?
I’ve been away from HTPC business for last 3 years as I’m using PCH, but I was checking every once in a while if the XBMC got HD bitstreaming support and I was really smiling yesterday when I found this. If only proper judder/stutter free playback is possible, Im going to HTPC once again. Thanks

dlmh September 27, 2010 at 6:59 am

The current drivers for Intel HD graphics will only output 24.00Hz (even if it says 23Hz in Windows), so you’ll get the occasional stutter. The Ati HD 5xxx series do not have this issue (but had an EDID issue that should be solved by now…).

Damian September 27, 2010 at 7:09 am

As dlmh mentioned, it depends on what GPU you are using. Both NVidia 460 and the ATI 5xxx support 23.976, whereas the core i3/i5 does not. I should say though that since my TVs do not support 23.976 I never output at 23.976 from my HTPCs, but just let it output at I think 60. At that setting I have never had issues with judder/stutter

TrIX September 27, 2010 at 7:24 am

Ok, I think I will need to try it out. Will go and bought some cheap ATI 5450.

Hmm, you are outputting 23.976 blu-rays at 60hz and not experiencing 3:2 pull-down stutter on horizontal pans?

Is anyone else playing back at 23.976 on ATI and comment on my worries?

Damian September 27, 2010 at 7:29 am

I have to date never noticed any sort of stuttering. Maybe I just don’t have a trained eye, but if having a trained eye leads to me seeing stuttering I will keep my eyes untrained :-)

dlmh September 27, 2010 at 7:47 am

Don’t forget that nVidia cards do NOT support bitstreaming HD audio! Although they are the best HTPC videocards, concerning video(-quality), they are seriously lacking on the audio part.

I always had issues with Ati cards (h264 profiles above 4.1, refresh rate switching, etc.), while nVidia cards worked perfectly on that department. And let’s not forget hardware acceleration on Linux…. ;)

But somehow, nVidia refuses to jump on the HD Audio bandwagon, making it much less interesting for those of us with nice audio equipment…

Damian September 27, 2010 at 7:54 am

The NVidia 460 supports HD Audio bitstreaming. The new NVida cards do so you can start looking at NVidia again :-)

dlmh September 27, 2010 at 7:59 am

Thanks for the info! But I’ll wait until there’s a < 80,00 EUR card from nVidia.

Any idea if those cards are/will be supported by ffdshow for bitstreaming?

TrIX September 27, 2010 at 7:36 am

Heh indeed…

What is the issue with EDID on ATI cards?

Damian September 27, 2010 at 7:41 am

There is no longer an EDID issue with the ATI cards, this was fixed with one of the later drivers (can’t remember which one, possibly 10.3). I have to use an EDID override originally with my setup (5670 to Pioneer and Onkyo AVR), but with the new drivers don’t need the override anymore.

TrIX September 27, 2010 at 7:44 am

Ok, thanks for now. Will report back when I will try this out, hope in the next few days. This would be a real winner if it would work :)

Damian September 27, 2010 at 7:46 am

Cool, look forward to hearing your results. One other thing, I believe the current DSPlayer version is not running under Dharma, so if you want the latest Dharma but still want bitstreaming just tell XBMC to launch MPC HC

Damian September 27, 2010 at 8:02 am

@ dlmh,

I believe guys over at AVS have gotten the NVidia cards bitstreaming already with MPC HC which does require ffdshow, so support is in place it appears

TrIX September 27, 2010 at 8:27 am

The GTS450 seams to support bitstreaming also, so that will be my purchase.

Wayne October 29, 2010 at 8:56 am

I can’t seem to get DSplayer to be default but I can select “play using”. XMBC shows dvdplayer as default. I copied and pasted the text into notepad and saved as instructed in the “userdata” folder but it won’t show dsplayer as default. I’m using the latest xbmc/dsplayer build. Any advice? Thanks!

Wayne October 29, 2010 at 11:18 am

Never mind. I figured it out. Just had it in the wrong folder. DUH : )

Randy October 29, 2010 at 12:59 pm

I have most of my mkv files playing perfectly, but any of the mkv’s that have mpeg in them won’t play with dsplayer or dvdplayer. Is there a way to add a filter for mpeg for those mkv’s? I’m using the 33619 build of XBMC.

Thanks..
Randy

JS January 5, 2011 at 2:43 pm

Damian,

What is the status on the MPC filters with Intel builds? Has the green/blockiness been solved? Otherwise, does an i3 have enough juice for VC-1 acceleration using the Microsoft video decoder?

Damian January 5, 2011 at 2:49 pm

No progress. What I do is this in the External Filters section of MPC HC:

Set MS Video Decoder to Prefer
Set Arcsoft Video Decoder to Prefer

Make sure the MS Video Decoder is above the Arcsoft Video Decoder. Doing this, the MS Video Decoder will be used for h264 and the Arcsoft Video Decoder will be used for VC-1. You will have full DXVA for both types and no blockiness :-)

JS January 5, 2011 at 2:56 pm

I see. This assumes, of course, that you’ve bought TMT. =) I think a scaled-down version of PowerDVD comes with my LiteOn drive (that I usually upgrade anyways – comes roughly to the same price whether I get Arcsoft or PowerDVD upgrade). I remember using the Cyberlink decoder for SD video, and I think it was the MPC:HC filter I was using for HD DXVA…? Either way, I suppose I could just get TMT anyways, I hear it’s better.

Damian January 5, 2011 at 2:56 pm

Nope, you don’t need to purchase TMT3 ;-)

Damian January 5, 2011 at 3:06 pm

I need to dig through my emails to find how I set up Arcsoft (you cant just install TMT3). If you can sit tight I will try to have a guide up tomorrow walking through (it was actually on my list)

JS January 5, 2011 at 3:28 pm

Looking forward to that, thanks. =)

Damian January 6, 2011 at 6:07 pm

Should have my writeup posted tomorrow, I just wanted to confirm that it worked with TMT5 (I am using TMT3) and that it worked with an expired TMT5 (confirmed both so should be able to finish my writeup in the morning)

Damian January 7, 2011 at 3:47 pm
Damian January 25, 2011 at 5:31 am

For those who haven’t heard DSPlayer is officially dead:

http://forum.xbmc.org/showpost.php?p=702649&postcount=4140

Alex April 3, 2011 at 8:51 pm

I have the latest build of the XBMC DSPlayer(*395 build Dharma trunk, I think) and am having issues with stuttering playback when playing a movie at 24hz with Radeon 5450 with Core i3 cpu using DSPlayer. When I switch over to 60hz no stuttering at all. When same movie is played using DVDPlayer all works fine. Any ideas?

Thanks,
Alex

Damian April 4, 2011 at 2:57 pm

Hi Alex,

Well, first thing as you are probably aware DSPlayer is no longer under development, so odds are there are a lot of bugs lurking that will never get fixed. My guess the issue you are encountering is related to a bug in DSPlayer. For now I would recommend testing using MPC HC launching from XBMC and see if you get the same stuttering (you can set MPC HC to auto switch frame rates)

Alex April 23, 2011 at 1:46 pm

Ok so anyone who is having issues with DSPlayer XMBC and Windows 7 x64. I have figured why DSPlayer won’t play. You need to install MPC-HC x86 and ffdshow x86 and then paste the standalone x86 filters into the DSPlayer DIR. Once you have done that you will have no issues playing movies with DSPlayer within XBMC.

Alex

Damian April 23, 2011 at 2:19 pm

Correct, XBMC is an x32 application so you need x32 players/filters

Evan June 27, 2011 at 12:35 am

Can I use the arcsoft video decoder? I found the PQ of MS Video decoder is inferior

Damian June 27, 2011 at 7:09 am
Comments are closed, visit the forums to continue the discussion.

Previous post:

Next post: