logo Sign In

How to use HuffYUV

Author
Time
Okay, I need to make a highlight video for the hockey team whose games I recorded all season. I got my computer refurbished with a PDI Deluxe card but I'm sure I won't have enough space to capture every clip I want without using compression. I don't want to lose any quality and I know HuffYUV is lossless. I have no clue how to use it and I don't want to screw up.
Where do I download it?
How do I install it?
My computer for video editing does not have an internet connection so I will have to download it from one computer and transfer it to another. Would a cd-r be fine for that?
I want to use Huffy in real time capturing.
I have also heard Huffy video does not play back well on the computer. Would this be a problem on a playable dvd and what could be done about that if it is?
How do I calibrate it?
I also have DScaler installed. I know that can convert interlaced to progressive but I'm not sure if I should. My footage is all hand held and has a lot of action. I want to test it first on captured footage before I capture with it on. How do I make sure it's not on and then use it later?
I need really simple instructions as I don't have a clue about script settings or just number settings.
My editing system is vegas 4 with Windows XP. All the video is from Hi8 tapes.

:: Moved to technical forum.
- M

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
Download from Doom9.
Only 54KB.
Extract the INF file from the source.zip and the DLL file from the other zip, rename the dll to huffyuv.dll, right-click on the inf file and select "install".
The Huffyuv codec should now be available from VirtualDub in the Video -> Compression dialogue.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
Originally posted by: Knightmessenger
I want to use Huffy in real time capturing.

Huffy is fine for real-time capture. Perhaps the best.

I have also heard Huffy video does not play back well on the computer.

VLC, for example, doesn't play Huffy avi's worth a crap. It's not designed to. But Powerdvd plays the avi's smoothly. I would expect Windvd would, as well.

Would this be a problem on a playable dvd and what could be done about that if it is?

No problem at all. Whatever mpeg2 encoder you use, will use the Huffy avi as information, and the encoder will create an entirely new mpeg2 file.

How do I calibrate it?


If you mean color/brightness/contrast, then Virtualdub gives you basic settings. I suspect the capture card driver can give it fancier settings like gamma, if the driver is written to do that.

In Virtualdub, go to File->Capture.

Video->Source gives you those basic settings. (And this is where you choose the source (in my case: tuner, composite or S-Video).

If you have preview or overlay on, you'll be able to see the video, so you can make those settings by eye.

Video->Filters->Add gives you a choice of built-in filters. Some of those can affect color & brightness & junk. You can probably google up a gamma filter to add to Virtualdub. But a filter might slow Virtualdub down, and could potentially cause dropped frames.

You need to set the compression, of course.

And there are various other settings that are, hopefully, self-explanatory. Go through them all & see what you can figure out.

It's been years since I captured. My Virtualdub shows the capture card driver, I don't think I ever had to tell Virtualdub that it was there.


I also have DScaler installed. I know that can convert interlaced to progressive but I'm not sure if I should. My footage is all hand held and has a lot of action. I want to test it first on captured footage before I capture with it on. How do I make sure it's not on and then use it later?


I haven't read much about DScaler. I seem to have it installed, because Virtualdub has a "BT8X8 Tweaker" (My capture driver is BT848); and when I click the tweaker, it tells me to copy several DScaler files into the VirtualDub application directory.

In any case, I'm sure you would have to do something to make DScaler do deinterlacing, or to make it create 60 fps progressive.


DScaler can convert that to 60 frame per second - but then you won't be able to play the file on a normal tv. I don't believe you could even make a 60-frame-per-second dvd.


De-interlacing, (with DScaler or anything else) will lose quality, by throwing away/blending/interpolating fields.

Dvd standards allow interlaced, and all dvd players will handle it effortlessly.

If you were to deinterlace, you would have to introduce pulldown - an interlacing created by repeating fields. And that will cause a slight jerkyness in motion. (We here in NTSC-land are used to that. But true interlacing still looks nicer to us).

(I suspect all modern sports coverage is from videocameras, and is broadcast at 60 fields per second).

So a highlight reel (or any other dvd you make) will look best if it's left interlaced. Nice, smooth action.

I need really simple instructions as I don't have a clue about script settings or just number settings.

My editing system is vegas 4 with Windows XP. All the video is from Hi8 tapes.


Vegas is designed to use avi, so edit your Huffy video with Vegas.

Anything about converting to mpg, or about filtering before editing, is best left to people more experienced, with those, than I.

One day I found... 10 years had got behind me. Next day was worse.

 

Download  shows from Cable DVR (Updated! Yes, it needs a rewrite, but it's worth slogging through, anyway).

Author
Time
Huffy playback can skip a bit in Vegas (Using Version 5), but otherwise there are no problems.

<span class=“Italics”>MeBeJedi: Sadly, I believe the prequels are beyond repair.
<span class=“Bold”>JediRandy: They’re certainly beyond any repair you’re capable of making.</span></span>

<span class=“Italics”>MeBeJedi: You aren’t one of us.
<span class=“Bold”>Go-Mer-Tonic: I can’t say I find that very disappointing.</span></span>

<span class=“Italics”>JediRandy: I won’t suck as much as a fan edit.</span>

Author
Time
Where do I get virtualdub? I don't think I have it unless it came with the PDI card. VLC, windvd and power dvd, what are those? Are they dvd computer playback devices?
I suppose I should mention that the dvd burning program I have is Sonic My dvd. I don't have any mpeg2 encoders. I just make an avi file and my dvd handles it fine. Do I have to compress to something like mpeg2 for the dvd?

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
Originally posted by: Knightmessenger
Where do I get virtualdub?
Nnngh... *slap*.

OK, click here.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
Originally posted by: Moth3r
Originally posted by: Knightmessenger
Where do I get virtualdub?
Nnngh... *slap*.

OK, click here.

Or

Here
Author
Time
Okay, I just downloaded both Huffyuv and Virtualdub to my internet connected computer. They came as Winrar files which makes me wonder if I need to do anything to extract them before they can be transferred to my other computer and used.

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
Okay I just extracted all the virtualdub and Huffy files and transferred them to my computer for video editing. Vdub seems to be working fine but I can't get Huffy to open. I got the "To open this file Windows needs to know what program created it" message. I thought I copied every file that was extracted (even the txt and readme stuff) that might be needed to install the program properly.

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
Read the answers in the thread again.
As Moth3r said...
Extract the INF file from the source.zip and the DLL file from the other zip, rename the dll to huffyuv.dll, right-click on the inf file and select "install".
The Huffyuv codec should now be available from VirtualDub in the Video -> Compression dialogue.


You don't 'run' or double click on the huffyuv .dll or inf file.

Everyone here is really happy to help out, there is stuff each and every one of us doesn't know squat about - but it really doesn't hurt to search a bit, read a bit and think a bit *before* posting questions.

If nothing else try googling a bit before asking. Googling huffyuv brings up the page you needed on the very first hit. Same for VLC, powerdvd and windvd. (By googling I mean typing stuff into www.google.com).

Then you will find you will probably understand any answers more fully as well as you will already have done a bit of background reading.

Author
Time
Look, I know what googling means. I'm usually wary of search engines for very specific technical questions as it's hard to get a direct hit. However, the part you quoted of Moth3r just really confused me and I didn't understand what that meant. I probably didn't recognize the inf or dll files. I just do better with more detailed instructions that explain a little more. To be honest, I'm amazed it only took me 4 posts before I got the files unzipped on the computer I needed. I think I understand now so I'll have another go at it tomorrow (it's late for me now).

However, I do think I found the compression dialogue of Virtual dub. It had a list of various codecs like mpeg4 but didn't have Huffy able to be selected.

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
This stuff can seem a little intimidating at first. Keep plugging away at it, you'll get it.

For future reference, the next time you need to download anything video/audio, try Tools search at Videohelp. When you find the download, you also get links to the official website (if any), and to tutorials.

One day I found... 10 years had got behind me. Next day was worse.

 

Download  shows from Cable DVR (Updated! Yes, it needs a rewrite, but it's worth slogging through, anyway).

Author
Time
I know this stuff is tough and baffling at first, but if you do google and read first, then your questions will be better and the answers will make more sense.
Asking questions that could be answered with a very quick search just means that people will be more reluctant to answer your harder questions. (e.g. asking "VLC, windvd and power dvd, what are those?" will put people off reading much further as any searching would have answered that easily)

Anyway, for the huffyuv files you just need to unzip the huffyuv-2.1.1.zip file to a folder. I used the one from here

Once the file is unzipped you should have 3 files named huffyuv.dll, huffyuv.inf and huffyuv.txt.

The installation instructions are inside the readme.txt file and are as follows.

To install Huffyuv, right click on huffyuv.inf and select "Install."


In other words click on the file called huffyuv.inf with your *right* mouse button and a popup menu will appear, then click on 'install' from that menu (using your left mouse button).

Huffyuv should now be available in virtualdub and other editing programs.

*edited for spelling screwups*
Author
Time
Another thought, if you can't see the file extensions on your files, e.g. if the files are showing up as just 'readme' instead of 'readme.txt' then open the folder the files are in and then:
Click on "tools" then "folder options" then "view" and make sure there is *not* a tick in the box "hide extensions for known file types"
Author
Time
Hello again. I'm looking at all 16 files that were included when I unzipped the huffyuv winrar file. I hope I don't bother anyone with another question but I'm just a little confused about how to follow the instructions. And perhaps a bit too afraid of making a mistake.

'Extract the INF file from the source.zip and the DLL file from the other zip, rename the dll to huffyuv.dll, right-click on the inf file and select "install".'

I see the .inf file I need to right click "install" on so I guess I got that part right. I'm a little unsure which file to extract from. There are two zip files. One file is huffyuv_ccesp-patch_0.2.5.zip (17kb). Another is huffyuv_ccesp-patch_0.2.5.source.zip (54kb). There's also a file with the icon of a piece of paper with green and orange gears on it. It's called huffyuv_ccesp-patch_0.2.5.dll. Unless that last file I mentioned is the dll file I need to rename which would mean I already extracted what I needed from the zip files? Is that all I have to do? Is that last file the one I should rename to huffyuv.dll?
I just want to confirm that I've got this absolutely right. Thank you for your help.

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
Yes that's right - you need to rename huffyuv_ccesp-patch_0.2.5.dll to huffyuv.dll. Once it's renamed, just right-click on the .inf file and select install.
When it's installed, you can delete both the files.

The package at Doom9 includes the source code (which is not required to install) and unfortunately is a little confusing to wok out how to install!

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
I've gotten that to work and now am attempting to capture. Problem is the s-video is in black and white and the top half of the video is on the bottom of the frame and the bottom half is above it with a thick black line separating the two. What's happening. I'm also not getting any audio as there are only component imputs. I don't see where to plug in the red and white cables.

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
The video corruption is possibly due to you capturing in a format or resolution that your capture device doesn't like. What settings are you using?

To get audio you will normally need a cable with 2 RCA/phono plugs on one end and a stereo jack on the other (I think you call them "miniplugs" in the states?) The RCA plugs go into the red & white sockets on your camera, the jack goes into the line-in (normally blue) on your PC's sound card.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
I'm not sure where in virtualdub to look up all the settings but I'll try.
From compression settings it has a format restriction of 24 valid depths. YUY2 compression method is predict median and RGB compression method is predict gradiant. The field threshold is 480 lines. The following boxes are all unchecked.
Ignore is-interlaced flag
Always suggest RGB format for output
Enable RGBA (RGB with alpha) compression
Swap fields on decompress (for people with broken capture drivers)
Enable console window logging (useful for debugging)

Video has "overlay" checked. Preview acceleration has "both fields" selected.
For Capture Pin I have video standard set to NTSC_M. I just changed frame rate to 29.97 and made color space compression YUY2. I also boosted output size to 720 x 480. I did the same thing with Preview Pin. Does output size control the size of the actual capture or just what it's being previewed and displayed at?

For capture filter the setting is NTSC_M (again) with 525 lines detected (I can't change that number). For video Proc Amp (also under Capture Filter) Color enable box is checked.

Crossbar imput is 0: video s-video in. The box Link Related Streams is unchecked.

Custom Video Format: Frame Size is 720 x 480. Data Format is YUY2- YUV 4:2:2 interleaved.

Capture Timing Options. Drop Frames and Insert Frames boxes are unchecked. Synch audio to video by sampling audio at faster or slower rate is selected for Resynch Mode. Correct Video Timing... and Automatically Disable Resynch with Integrated Audio/Video are both checked. Audio Latency Determination is set to Automatic with 30 audio blocks to use at start.

Audio imput is set to "line in." Audio source is set to "audio line."

Well that's every option and setting I could find. I hope this helps.

EDIT: While I was going through those settings, I changed a few where I saw fit given my knowledge. Now the video is in color and it isn't broken in half. But it isn't playing. Whenever I hit preview it just shows one frame, frozen while the tape in the camera continues to play.

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
Another breaking update. By making the capture pin resolution back down to 320 x 240, I'm getting motion full color video with Overlay checked under video. Overlay would show a black screen at a higher resolution and Preview shows a still frame in either instance. I hope this doesn't mean I'm capturing at half size, though. I guess I just need the audio cables, PDI card came with some but they don't fit. I hope putting L and R audio into one blue imput will not screw up stereo sound.

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
Well, I was able to capture video, unfortunately I got no audio. I was able to try out one of those stereo jacks at a nearby store, but I'm pretty sure it won't fit properly into one of the colored inputs on the PDI card. Also when I tried to import one of the v-dub captured avi's into Vegas 4.0 to edit, it came out all garbled. Although it played fine in windows media player, it won't do me any good if I can't edit the footage.
Here is a picture of the capture card in my computer

[URL=http://imageshack.us]http://img480.imageshack.us/img480/9027/dscn2573eb3.jpg[/URL]

With the s-video and red/white audio cables (yellow is composite video which is not used)
[URL=http://imageshack.us]http://img120.imageshack.us/img120/5952/dscn2571fg1.jpg[/URL]

If those colored inputs are component video jacks, then where is the audio supposed to go? People I've asked at stores have told me if it's component, it will accept video only no matter what adapter I might try. The PDI card claims to be usable with component, s-video and composite so I don't understand what I'm doing wrong.

Take back the trilogy. Execute Order '77

http://www.youtube.com/user/Knightmessenger

Author
Time
Originally posted by: Knightmessenger
If those colored inputs are component video jacks, then where is the audio supposed to go?
Into your sound card, or your motherboard's sound jack.
I think blue is the "current standard" color for line-level input.

However, in practice you must take into account the “fuckwit factor”. Just talk to Darth Mallwalker…
-Moth3r

Author
Time
You have 2 S-video jacks, and three component video jacks. Most likely, one of the S-video jacks is a video-out. You may have to look at the manual to find out which one.

Most likely, you will have to use the S-video (unless your source has component.) As for the audio, you will need to get a converter cable to go from RCA to mini-din (like stereo headphones.) This will cost about 2 bucks at Radioshack. You will have to capture the audio with your soundcard concurrently with the video. It's not impossible to capture audio and video together, but it can be tricky to set up depending on the software you are using. I usually have trouble keeping sync when I do this, so I capture audio and video through my camcorder first using firewire, and then do a separate video capture through my capture card. I can then line these streams up in Vegas, and delete the camcorder video (The DV codec isn't quite as good as the Huffy codec.)

<span class=“Italics”>MeBeJedi: Sadly, I believe the prequels are beyond repair.
<span class=“Bold”>JediRandy: They’re certainly beyond any repair you’re capable of making.</span></span>

<span class=“Italics”>MeBeJedi: You aren’t one of us.
<span class=“Bold”>Go-Mer-Tonic: I can’t say I find that very disappointing.</span></span>

<span class=“Italics”>JediRandy: I won’t suck as much as a fan edit.</span>

Author
Time
Originally posted by: MeBeJedi
As for the audio, you will need to get a converter cable to go from RCA to mini-din (like stereo headphones.)
Yes you'll need an converter to go from RCA, but it isn't called mini-DIN -- it's called a mini phone plug, or one-eighth inch stereo phone plug.

It is commonly used on headphones today, although the name "phone plug" doesn't refer to headphones ('phones).
The name comes from the larger one-fourth inch plugs formerly used by telephone switchboard operators (and still used today e.g. in electric guitars.)

However, in practice you must take into account the “fuckwit factor”. Just talk to Darth Mallwalker…
-Moth3r