Codecs, Codecs and More Codecs, the easy, Minimalist approach

Over the years the one thing that has always plagued HTPC users are codecs. Some take the approach to just install any random codec and just keep installing codecs until the file you are trying to play back finally starts playing. The problem with this approach however is that, especially with Windows 7 Media Center, is that you can over ride many of the default codecs that Microsoft includes as part of windows. Once you are in that situation where the default codecs are over ridden, you start to experience play back issues, and shuddering issues. You can try to remove the codecs however most of the time, residual files, configurations and permissions are already over written and can never be brought back the way it was without having to wipe your windows partition clean and starting over from scratch.

For many new comers to the HTPC game, these trials and tribulations are all too familiar. Years ago when I first got into the HTPC game and became a HTPC enthusiast (or at the time I thought I was) I too felt the wrath of what we HTPC Mavens call “Codec Hell”. It starts out as a single codec, then moves onto a few codecs until finally you install a complete codec pack and instantly your issues go from bad to worse.

Over the years I have perfected my method of installing codecs, individually, and as minimal as possible to acheive steady, stutter free, issue free playback of any and all material thrown at my HTPC. From avi’s to mkv’s to ogg to m2ts, no matter what I throw at my HTPC it’ll play it back without issue, but only because I am able to achieve the proper codec installation without breaking anything in the process.

Today with the help of a cleaver developer (Shark 007) I will walk you through step by step on how to go about installing, configuring and playing back content within Windows Media Player as well as Windows Media Center. To start out you will need one or two downloads, depending on what version of windows you are running. For the sake of writing this, we will say you are running Windows 7, which is what I am basing this write up off of. If you are running 32bit version of windows you will only need a single download. Go to Shark’s website and download the latest 32bit version of the Win7Codecs Download HERE. Once you have downloaded scroll down to the installation process. If you are running 64bit version of windows 7, go to Sharks’s website and download the latest 64bit version of the Win7Codecs Download HERE.

As you can see this is a single exe installer, and you might be asking yourself why is he having you install what seems to be a codec pack, when above was just telling you against using coed packs. The reason being is that Sharks installer is NOT a codec pack, however more so a stream lined installer with all the separate codecs you will need to for proper playback all located into a single installer. I will walk you through how to stream line Sharks installer, configure each setting step by step, to the point when you are complete your HTPC will play back smoothly, with hardware acceleration, subtitle support, as well as bitstream audio out via spdif and HDMI. Some will still argue that this method is still bloated and causes issues with Live TV playback, however if you follow my procedures step by step that will not happen.

Now that you have downloaded the proper files it is now time to install and configure the codecs. First step is to locate the downloaded file(s) and proceed to install the 32bit version of Sharks codec installer.

32bit installer

Next to Continue

32bit installer 2

Click Accept and next (read the agreement if you’d like)

32bit installer 3

The only grip I have about this software and others like it, if you don’t pay attention and continue to click right through the installer you’ll notice they add into tool bars like this. While I can respect the need to make money off of the hard work developers put into their software, I still hate how they include tool bars and such as part of their installer package. You can uncheck the tool bar install like I did. Won’t make any difference in the operation of the software.

32bit installer 4

Now here comes the difference on a full install of Sharks Codecs vs. what I normally do. I use Sharks as a guide point for my installs however, I simplify it a tad. Click on the custom radio button, and click next.

32bit installer 5

Now that we are into the custom installer menu of Sharks Codecs. You can click on the drop down box and disable which features you want installed.

32bit installer 7

Click the drop down menu and choose the red X option of “This Feature will not be available” choosing this for the following features disables them and prevents them being installed as  additional codecs.

Uncheck/disable the following features:

  • DirectVobSub (FFdshow has sub titles built into it)
  • AC3Filter  (FFdshow Audio has what AC3Filter does)
  • RealMedia
  • Xvid

by disabling those four features from installing it drastically decreases the need for extra features/codecs from getting install and possibly messing things up.

32bit installer 6

Once those options are disabled you can click next and complete the 32Bit installer.

32bit installer 8

and you are now done installing the 32Bit Win7Codecs.

64bit installer

Now if you are a 64Bit windows user double click and start to install the x64 version you downloaded as well. You do not need to do any custom install options with 64Bit version of Win7 Codecs, the only difference is that the codec does install Microsoft Visual C++ as part of its package, not sure what that is for but so far it hasn’t impacted how the codecs work or lag anything down.

64bit installer 3

Now that we have both 32Bit and 64Bit Win7 Codecs installed it is now time to configure them. When you first get them installed they will show up in a folder under Start > All Programs >  Shark007 Codecs in that folder you will see two different programs the first, which is the 32Bit version is labeled “Settings Application” and the 64Bit version is labeled “Settings Application x64””

shortcuts

Now that you have the short cuts located, BEFORE you load the short cuts, you need to give both administrative privileges. To do so, right click on each short cut and to properties

admin priv

Click on the compatibility tab, and at the bottom you have two options, you can click on “Change Settings for All Users” and then click on run as administrator  or you can click on “Run this Program as an administrator” under Privilege Level. Either option will work.

privelages

Now double click on Application Settings, you will be presented with a UAC (User Access Control) menu, Click Yes to Continue.

UAC

Now we are into the 32Bit settings for Sharks007 Win7 Codecs.

32bit config

On the First tab, the Config tab, choose the follow:

  • Click the Radio button for FFshow/Embedded under the Subtitle Control
  • Check the box in front of Disable Xvid Decoder
  • Check the box in front of Disable AC3Filter

Now Click on the Misc Tab

32bit misc config

Under the Misc Tab do the following:

  • Check the box in front of FFDshow Video tray Icon OFF
  • Check the box in front of FFDshow Audio tray Icon OFF
  • Check the box in front of AC3Filter tray icon OFF
  • Check the box in front of Haali tray icon OFF

Now click on the Audio Tab

32bit audio config

There are two options here, and these two options are all based on what type of audio setup you have connected to your HTPC.

  • IF you are running SPDIF (digital coax, or Optical SPDIF cable, ie digital bit stream audio output) single cable from your HTPC to an external AV Receiver or external surround sound decoder then choose the following:
    • Under FFDshow S/PDIF pass-through choose use pass-through (Digital Audio)
    • Under Choose Speaker configuration choose Same as Input
  • IF you are using Analog audio put, 2 channel, 3.5mm head phone style audio jacks, then chose the following:
    • Under FFDshow S/PDIF pass-through choose turn off pass-through (Default)
    • Under Choose Speaker configuration, choose what you have, 2.0 Stereo, or 5.1 Speaker system or 7.1 Speaker system.

Again All settings are based on what your speaker configuration is. If have issues trying to figure out what speaker configuration you have please feel free to leave a comment and I will be glad to help you out.

Now click on the H264 tab

32bit H264 config

Complete the following tasks:

  • Under Use MPC-HC Codec, click on the “Use MPC-HC Codec” radio button.
  • Under H264 Codec in Direct Show Players box choose “Use MPC-HC Codec” radio button.
  • under Use FFDshows’s codec box click on “do not use FFDshow” radio button.

Now Click on MKV tab

32bit MKV config

Chose “Use Gabest’s Splitter” radio button

Click on MOV tab

64bit MOV config

Use Gabests Splitter for both MOV and OGG playback.

Click on MPG/MP4 tab

64bit MPG config

choose the following:

  • Under overall MPEG Playback choose “Use Gabest’s Blu ray splitter” also make sure both boxes are checked
  • Leave MPEG2 at system default
  • Chose Gabests splitter for MP4 playback

Click on SWAP tab

32bit SWAP config

Leave everything default on this tab, however check the box that says “Use MPC-HC for WVC1 instead of Microsoft” This option enables hardware acceleration codec for VC-1 based content. One of the bigger issues with VC-1 based MKV’s is stuttering as Microsoft’s VC-1 codec is not DXVA and doesn’t take advantage of hardware acceleration.

Once you have walked through each and every single tab, followed the instructions for complete configuration, click on EXIT. IF you are a windows 32Bit user, you are now ready to play back any MKV, or other AVI files you have. Now if you are a 64Bit windows user please continue on.

As in above please click on the short cut to Sharks007 Win7 Codecs, however this time click on the x64 variant.

x64 configuration tab

64bit config

  • Check both boxes to disable both Xvid Decoder and AC3Filter
  • Click on the FFDshow/Embeded radio button under Subtitle Control

Click on Misc Tab

64bit misc config

  • Check both boxes for FFDshow video and FFDshow Audio tray icons

Click on 64Bit Audio tab

64bit Audio config

As in above for 32Bit, choose the same options you did for 32Bit.

Click on 64Bit H264 Tab

64bit H264 config

As in above for 32Bit configurations, Do not use FFDshow, choose both MPC-HC codecs for DXVA and direct show players.

Click on 64Bit MKV Tab

64bit MKV config

As in 32Bit choose Gabest’s Splitter

Click on 64bit MOV tab

64bit MOV config

Choose Gabests splitter for both options

Click on 64Bit MPG/MP4 tab

64bit MPG config

  • Again as under the 32Bit options, choose Gabests blu ray splitter for over all MPEG playback
  • Leave MPEG2 playback at defualt
  • Choose Gabests splitter for MP4 playback

Click on 64Bit SWAP tab

64bit swap config

Leave everything at default, just as you did in the 32Bit options, the only thing to click on is “use MPC-HC for WVC-1 instead of Microsoft”

Now you are completely configured for both 32Bit and 64Bit versions of windows. Click on exit and enjoy. Now that you have went through and configured Sharks Win7 Codecs you should now be able to play virtually all modern day, popular codecs, containers, ect… within Media Center and Media Player. If you have any questions please feel free to register on the side and leave a comment. Also if you have any feed back please feel free to do so as well. I hope this helped you so you do not have to live through any version of the “Codec Hell” like I have had to do in the past.

Enjoy!

How I use my HTPC

How i use my HTPC

As Brent I didn’t start using my HTPC for TV, but instead for movies and music. I first got into HTPC’s for DVD upscaling, and post processing. When I bought my first HDTV and realized how crappy DVD’s looked on the tv, I started looking into what it would cost to upscale and post process dvd’s to give me a near HD video quality. I looked at what it cost for higher end upscaling dvd players, which at that time (fall of 2004) weren’t highly available. The players that were around were upwards of $500 and didn’t offer that great of an improvement. There were also high end video processors but those cost more than the tv itself, so that was also out. At that time I had hooked up one of my hold PC’s to the TV and I was using that to play back downloaded tv shows and downloaded movies but I had never thought of playing back DVD’s through the pc. I then discovered AVS Forum and saw what others were doing with PC’s and how they were using direct show filters like FFDshow and using that to upscale and post process dvd’s to drastically improve the video quality of dvd playback. I was soon hooked. Some people would say, and some times still do, say that PC’s with FFdshow and other filters were as good if not better at upscaling and de-interlacing dvd’s than what you could find in higher end video processors.

 

While playing around with FFdshow settings, I stumbled upon people also using their PC’s as DVR’s by adding tuner cards and recording cable tv and OTA ATSC HDTV. I then found myself looking for software that would allow me to turn my HTPC into a DVR. I started using BeyondTV, then SageTV, also tried GB PVR but at the time (again fall of 2004) nothing caught my eye, nothing was easy to use, or easy to setup. I soon found out about Media Center 2005 and from then on I was hooked. I ended up buying a new pc from Dell which came with a tuner card and Media Center 2005 which got me to the point where I am today. Since that PC I have built damn near 4 more HTPC’s or upgraded hardware to the point where I am today. Once I started getting really into Media Center and tuner cards I have never looked back and have never stopped. I went from having a single ATSC and a single NTSC tuner in my first HTPC to now having 6 ATSC and 4 NTSC tuners in my main HTPC and having 2 NTSC, 2 ATSC and 2 QAM tuners in my “test” HTPC that I am currently using to test out Windows 7. Right now I just re-installed my test pc with 7068 release of Windows 7 which so far has been running great for me and is slowly looking more and more like I will definitely be upgrading to windows 7 full time on my “production” HTPC once it goes RTM.

 

Most of the time my wife still refuses to use Media Center full time. The only time she’ll use it, is if I am sitting down to watch tv and she is there with me, basically if I am there to man the controls, or if I am on my computer in our room and she’s watching tv at the same time she’ll ask me to set it up and start playing a tv show. My goal once I get the home automation system up and running fully is that she’ll be able to fully use media center and control everything without me being there. That is one of the main driving forces for me looking into home automation is so that she can use it without having to worry she’ll break something. However even though she refuses to use it by her self in most cases, she’ll bitch and complain if it isn’t working correctly. If she can’t consume her media when she wants that is when the HTPC takes the brunt of it and she wants it out of the house. As of lately though, other than my guide data issues, we’ve been living a trouble free life with media center and the extenders and with Windows 7 it keeps looking like it’ll only get better.

 

My HTPC setup in my home is a Client/Server configuration. The main HTPC which is located in my comm closet which is adjacent to my Home Theater room is where the central hub of everything “connected” in my home is located. Main cable tv feed, cable modem, router, switches, patch panel, AV distribution, you name it, it is located in the comm closet. The comm closet also serves as an AV rack for my home theater, where I located my AV receiver, my xbox 360, hd dvd player, 5 disk dvd changer, cable box, monster power center and more. The closet allows me to access the AV rack from the rear so I can easily disconnect, add or change equipment with ease and not have to worry about wires all over the place. My HTPC is the same way, I have it located in this closet as I have 10 tuner cards, so that mean I have 10 RG6 coax feeds that go into this PC. Having 10 RG6 coax feeds at times can make a real mess. But having a closet of this nature allows me to have everything connected, and hidden out of plain sight, which keeps the WAF high, and keeps the system out of reach and means that it can be up and running with no potential of some one turning it off or messing with it.

 

With the HTPC located in the Home Theater and directly connected to my projector, the HTPC feeds my home theater movies, music, tv (Live and Recorded), and any other media content from pictures, and other home videos. From there I use media center extenders located in my family room which consists of a 32” plasma 720p HDTV. The second media center extender is located in my bedroom where I have it connected to a 32” LCD 720p HDTV. Also in my bedroom I have my “test” HTPC in a small form factor desktop HTPC case that I use in conjunction with the media center extender to consume movies and other content I can’t get with an extender. With Windows 7 on the test pc I have it setup to load all recorded tv from my main “production” HTPC so that I can watch recorded tv on the test pc just like I would if I were using the pc if it had tuner cards doing the DVRing. With windows 7 and the advent of home groups that were added it now makes it much easier to share recorded tv from pc to pc and have it show up in the recorded tv section of media center, it just adds that additional ease of use to the whole setup.

 

Over all the way I use my HTPC is to tie in all my digital entertainment needs into a single, easy to use, great looking interface, and without Windows Media Center I would not be able to accomplish this the way I do now. Yes I could use other solutions like SageTV but we all know what I think of SageTV, and I will just leave it at that.

 

- Josh