Code for Concinnity


Installing HuffYUV on Windows 7 x64

This will probably also apply to other INF based installation for that matter. A simple command line saved me hours of trouble:

rundll32 C:\Windows\SysWOW64\setupapi.dll,InstallHinfSection DefaultInstall 0 C:\Path\To\huffyuv.inf

Run the above with admin privilege and bam, HuffYUV correctly appears in my codec list.

P.S. If you’re looking for a lossless codec, maybe take a look at Lagarith. It claims to be an improvement to HuffYUV and supports multi-processor encoding. It also comes with a dedicated installer so there’s no need to tinker with the command line just to install the codec.

Published by kizzx2, on April 5th, 2010 at 6:18 pm. Filled under: Useful tips Tags: , , , , 15 Comments

15 Responses to “Installing HuffYUV on Windows 7 x64”

  1. This doesn’t work for me – I get ‘Installation failed’. The .inf and .dll get copied to the right places and the codec appears in my control panel but my videos still don’t play.

    Comment by Phil on April 21, 2010 at 6:02 am



  2. @Phil

    Did you run the command prompt with admin privileges?

    Where exactly are your .inf and .dll files copied to?

    Comment by kizzx2 on April 21, 2010 at 9:49 am



  3. I got it working! I’d been fiddling with version 2.1.1 and v 2.2 of the codec and I think it got confused. I had a clear out and started again, now all is well!

    Many thanks :)

    Comment by Phil on April 24, 2010 at 9:07 pm



  4. I installed the huffyuv sucessfully. But anyone can tell me how to run it? There is no generated excatable file after compliy.

    Comment by Alex on June 7, 2010 at 2:49 pm



  5. @Alex The codec is just a codec, it doesn’t have a user interface. After installing the codec, you can use it from programs like Adobe Premiere Pro or VirtualDub.

    Comment by kizzx2 on July 31, 2010 at 3:25 pm



  6. I LOVE YOU!!!

    Comment by Slayer on May 18, 2011 at 8:29 am



  7. i ran it as admin and pasted that and it said installation failed!!

    Comment by eliott on November 20, 2011 at 11:32 am



  8. @eliott What exactly was the command you ran? FYI you need to replace C:\Path\To\huffyuv.inf with your own.

    Comment by kizzx2 on November 20, 2011 at 7:27 pm



  9. Thanks for posting this! I can never remember how to do it, and this page is just a Google search away…

    Comment by Warren O on July 27, 2012 at 11:58 pm



  10. Perfect, nice work! Saved me lots of trouble. To the others: please note that you run the command prompt with administrator privileges and note that the path to the codec needs to be absolute (including c:\…).

    Comment by Winne on October 2, 2012 at 4:19 pm



  11. I just ran

    rundll32 C:\Windows\SysWOW64\setupapi.dll,InstallHinfSection DefaultInstall 0 C:\Path\To\huffyuv.inf

    with admin privilege and BAM! HuffYUV correctly appeared in my codec list.

    Comment by Beans on October 9, 2012 at 11:17 am



  12. Verified this works on Windows 8 64-bit as well… thanks.

    Comment by DJ Jeff on February 13, 2013 at 6:51 am



  13. Thanks for this! Worked on Windows 8 (64-bit). Now I can encode to HuffyYUV, but still can’t play back files on Media Player Classic Home Cinema. Any idea why? VideoLAN plays them however, even before installing the codec.

    Comment by Yonah on August 31, 2013 at 5:03 am



  14. @Yonah

    AFAIK both Media Player Classic and VLC use their own internal codecs, instead of VFW (Video For Windows). So basically they don’t use the system codecs. In fact, you can see that VLC can play almost all video formats even in a fresh Windows installation to verify this.

    I think Windows Media Player might be able to playback HuffYUV with the system codec, but it’s quite some time since I played with this so not too sure :P But if it works out then this would be the explanation

    Comment by kizzx2 on August 31, 2013 at 5:18 pm



  15. thanks for the this tip! Works also with Windows Media Player for decoding.

    Comment by martin on March 3, 2014 at 2:20 am



Leave a Reply