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!

5 comments so far, add yours

Getting the itch really bad!

3972357174_7f7457a438_b So over the course of the week last week and again today I’ve been seeing and reading twitter posts all over about the snow falls in Utah and other places out west. I am really getting the itch now, I am truly excited to get out on the ski’s again this winter.

Last winter I spent most of my time on the snowmobile than I did on my ski’s but I am bound and determined to get at least 20 good days of skiing in this winter. Normally I would say that is paltry as “back in the day”, read back in high school I was getting over 100+ days of skiing in between my down hill races, free skiing, and out west trips combined, however with lack of time, and responsibilities at home, and the fact that my wife doesn’t ski forces me to lessen the amount of time i have to get out on the ski’s. Hopefully when my daughter is old enough I will be able to use her as an excuse to get out skiing more.

Of the last 4 years or so I’ve been going out west with a good friend of mine, Richard, who has recently picked up the love for skiing as much as I have, and it has been a yearly occurrence for us now to head out west. The first year we went out west to Montana, which was my first time to Big Sky and absolutely loved it. Then the last 4 years since Big Sky, Richard, and the crew and myself have been going out west to Utah ever since. Utah for some reason is one of the absolute best places I have been for skiing ever. I grew up skiing Colorado and thought it couldn’t get any better, man was I wrong. The skiing in Utah is just that good. Granted, to date, I have yet to get a powder day in Utah but this winter I am hoping to break that spell. My goal is to get at lest one powder day in Utah, not sure how I will be able to pull it off but I am bound and determined to pull it off, even if I have to fly out just for the day and then fly back home the next morning, I will do it if I have to.

So there you have it. Winter is just around the corner and I can not wait. Some people are already sick and tired of my twitter posts (cough Ross) but I could care less. Winter is my passion, and any activity I can do in the winter, skiing, snowmobiling, you name it, that is what I will talk about. So until next time.

- Josh

Leave the first comment

I am officially ready for winter again

So the other day I wondered over to Teton Gravity and watched the trailer for their new ski video Re: Session. Right then and there after watching the video I was instantly ready for winter again. Last year I didn’t get out as much as I usually do skiing. I think I got out about 6 times total, but I did get out to Utah last year where as the year before I didn’t make it out to Utah. Last winter however I did put the miles on the snowmobile. I think I averaged almost 200 – 250 miles a weekend. I put on over 2500 miles total last winter, nearly doubling the miles I put on the winter before.

Now back to Re: Session. The reason I am posting this up because it merges two of my passions in one. Snow/Skiing and HD video. Re: Session was filmed with both Film as well as with a Red One 4k (read twice high def resolution) camera. Even though there aren’t many consumer grade 4k displays out there, the fact that they used a 4k camera to record/film this ski video just boggles my mind. I can not wait to see this video and experience the picture quality that something only a 4k camera can produce.

So if you have a chance head over to TGR and watch the Re: Session trailer.

Leave the first comment

Sound vs. picture: What’s a better investment?

hometheater It has been a long while since I have updated my blog here. With the birth of my second daughter, and my new foray into a salt water reef tank I guess I just lost track of free time and neglected my blog. Today I was going through my RSS feeds and found an article from Steve Guttenberg on Cnet so I figured this would be as good of time as any to start posting again on my blog.

Steve’s article, Sound vs Picture: What’s a better investment? hits on a pretty good topic and one that I feel very strongly about. Over the years I’ve been known as the “HDTV Nerd” or “home theater nerd” you name it, if it has to do with hdtv, home theater, or anything along those lines I delve into it. Reading Steve’s article it goes talks about the original early adopters spending $10,000.00 on their first plasma tv, and probably have upgraded several times since then. When it comes to HDTV’s I am a late bloomer, I didn’t buy my first HDTV until 2005, and even then hdtv’s were still relatively new and still slightly on the expensive side.

Along with my first HDTV purchase I upgraded my surround sound system, new speakers and new AV Receiver/Amplifier. When I purchased my first HDTV it was $2400.00, a 42” Sony Vega rear projection LCD tv. Even in 2005 that tv was still a little expensive for me.  At the same time I purchased the tv I splurged quite a bit and picked up a new 7.1 AV receiver a Yamaha RX-V1700, and Klipch Reference Series RF-35 Floor Standing tower speakers, RC-35 Center Channel, RS-35 surround sound (two pair, one for side surrounds and one for rear surrounds to get 7 channels).  Between the AV receiver/amplifier and the new speakers I nearly spent triple what I did on the tv alone.

Coming from an audio background in car audio, as that was my passion before getting into home theater and surround sound setups, I have always been a fan of good sounding audio as well as good, deep, clean bass. I knew that I wanted a good solid foundation to build my home theater on, so the money I spent on my surround sound setup I knew was going to last me years to come as well as give me the enjoyment as well as an enveloping experience only a good speaker setup can give you.

I now however, find myself in a predicament, I have an older AV receiver, that I spent a pretty penny on 4 years ago, that is no longer up with the current times. My AV receiver doesn’t support HDMI switching, doesn’t support HDMI inputs at all, so I can not get a blu ray player and use my current AV receiver and input lossless audio via hdmi into my receiver and experience the next gen audio formats (Dolby Digital True HD and DTS Master Audio).

Now going back to audio vs. video, I currently have a Panny PT AE900-U 720p projector. After I completed my basement home theater build I sold my Sony HDTV and put the funds towards the projector and screen. I went from a 42” rear projection HDTV to a 106” front projection setup. I was more frugal when it came to my video, I didn’t want to spend the money for 1080p as it was still several thousands of dollars to get 1080p and even more money to get a 1080p projector and at the time all I was watching was over the air hd, and upscaled dvd’s with my HTPC setup. I figured I would rather get “ok” to “good looking” video quality in the HD world and get the wow factor from the shear size of the screen than get a smaller screen and 1080p.

So between video and audio, I still would rather have the audio first and foremost and then video second. Granted video is the whole reason I am down in my home theater in the first place, but I enjoy the video more when I have a good sounding surround sound setup to accompany the video, and know that it’ll be that way for years to come.

One comment so far, add another

Traffic Monitoring with WHS: Updated

So now that Comcast has implemented the 250gig a month limit I have been trying to come up with a solution to monitor my bandwidth usage and track it from month to month. Currently I am running a Buffalo WHR-HP-G54 router with third party firmware from DD-WRT. DD-WRT has it’s own built in traffic monitoring, however with the event of a power loss, the monthly tracking is lost, so because of this I wanted to come up with a solution to utilize my WHS box that runs 24/7, is on a UPS, and has basically an unlimited HDD space so log files won’t be an issue. Because I am running DD-WRT it allows me to capture SNMP packets and use that to monitor my traffic. In the past I’ve used simple tools like SNMP Traffic Grapher (STG). I soon found out that STG wouldn’t cut it for what I needed and started looking around for something more robust and something that would save my data month to month.

One of my past jobs, working for a small Dialup, DSL, and fixed wireless ISP we were in the habit of taking advantage of free and open source tools to monitor our network. Two of the tools I used on a regular basis were NAGIOS and MRTG. Both were and probably still are great tools for what we needed to monitor the network, however the people I worked with were big into Linux and understood it inside and out. I am and windows gui, give me a gui any day of the week. So I started looking around for something that would install on windows server 2003 (IE my WHS box) and found Cacti. After digging around some more I found a .exe self installer that someone put together on the Cacti forums and from there it was simple as double clicking, following a few instructions and I was up and running with Cacti on my WHS box.

Here is the Windows stand alone installer for Cacti: http://forums.cacti.net/about14946.html

The installer does everything you need to get it up and running, all you need to do, is download it, transfer it to your WHS box, then RDP into your WHS box and double click and install. The installer finds out that you already have IIS installed and up and running on your WHS box, so its a really easy, straight forward install.

Once you have Cacti installed, you then need to enable SNMP on your router, in my case I am running the buffalo router with DD-WRT which makes it extremely easy to do. Next follow the Cacti documentation to setup cacti and traffic monitoring. Once you have that done that you are now good to go and you are now monitoring you incoming and outgoing bandwidth. I now just wish I had a way to send me a notification if I were getting close to the 250gig a month cap. Like have it alert me via email if I were to get within 90% of the 250gig cap, but for now I have at least got it monitoring my traffic and logging it, which was half the battle.

As always you can register here and comment on the blog, or follow me on Twitter.

- Josh

Leave the first comment