Widgets All posts tagged 'Video'


I dream in code

About the author

Robert Williams is an internet application developer for the Salem Web Network.
E-mail me Send mail
Go Daddy Deal of the Week: 30% off your order at! Offer expires 11/6/12

Recent comments




Code Project Associate Logo


The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Installing 32 bit software supplied with a .inf file on 64 bit Windows

Back in the days before Windows had UAC and 64 bits it was possible to distribute simple software, such as the lossless video codec Huffyuv without an installer. All you needed was the dll and an .inf file. To install it you would simply right click on the .inf file and click install, and windows would take care of copying the dll to the system folder, registering it and creating a few registry keys for you. Sadly those days are gone. If you download the Huffyuv codec today for your 64 bit version of Windows, extract the files and try that method of install, you won't see any error messages, but that codec will not appear in your list either.

To install it, you will need to open a command prompt and be logged in with a user account that has administrative privileges.

  • Go to the Start menu/button > All Programs > Accessories and right click on Command Prompt then Left Click on "Run as Administrator".
  • A little black DOS window should appear that will say "Administrator Command Prompt" at the top.
  • In this example we are assuming that your copy of Windows was installed to the standard directory (C:\Windows), and that you extracted the huffyuv files to a folder on your c drive called "downloads". navigate to the SysWOW64 folder by typing: cd c:\windows\syswow64 and then press enter.
  • Again, in the DOS box, type rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 0 c:\downloads\huffyuv.inf and press enter. Pay close attention to the spacing (or lack thereof). And that's a "zero" in the last half of the command, not the letter "O". There's no space around that comma. What you type has to match perfectly.
  • If there are no error messages, then it has installed correctly.

Categories: misc | Windows
Posted by Williarob on Wednesday, July 24, 2013 5:44 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Godaddy and HTML5 Video

Godaddy's shared hosting control panel does not include a tool to change or add Mime Types, so out of the box, your hosted site will probably not be able to serve .webm, .ogg, .ogv, or .oga content. In addition, by default, Godaddy servers are configured to use the mime type "video/mpeg" for the .mp4 extension rather than "video/mp4", which is why your mp4 video might be failing to play even in IE 10. However, if your site is hosted on IIS 7+ you can add some entries to your web.config file. Find the <system.webServer> element and look for a section called <staticContent>. If it is not there you should add it so that it looks something like this:

    <!-- Other elements -->
	  <mimeMap fileExtension=".m4v" mimeType="video/m4v" />
	  <mimeMap fileExtension=".ogg" mimeType="audio/ogg" />
	  <mimeMap fileExtension=".oga" mimeType="audio/ogg" />
	  <mimeMap fileExtension=".ogv" mimeType="video/ogg" />
	  <mimeMap fileExtension=".webm" mimeType="video/webm"/>
	  <remove fileExtension=".mp4" />
	  <mimeMap fileExtension=".mp4" mimeType="video/mp4" />

Note that because the .mp4 extension already has a mime type configured for it on the server, we have to remove it first.

Troubleshooting: If, after adding this section you start seeing Error 500 server errors on your site, first make certain that there aren't now 2 staticContent sections in your system.webServer section, then remove all of the mimeMap elements and see if the error goes away. If it does, simply add them back one at a time until you cause the error again. Add a remove element before the mimeMap(s) that cause the exception.


Categories: ASP.Net
Posted by Williarob on Friday, May 31, 2013 6:37 AM
Permalink | Comments (0) | Post RSSRSS comment feed

Prevent Skype calls from adjusting the volume of other applications


You are listening to music and receive a skype call. You pause the music, take the call and after you hang up you restart your music only to find that the volume has been turned way down and only closing the app (be it Winamp, Windows Media Player, Media Player Classic, etc,) and restarting it can the volume be restored.


Control Panel > Sound > Communications > Select "Do Nothing"


By default, Windows 7 will automatically reduce the volume of other applications by 80% when a skype (or other) call is detected, but it often fails to restore the volume when the call is completed.

Posted by Williarob on Tuesday, December 14, 2010 12:22 PM
Permalink | Comments (0) | Post RSSRSS comment feed