Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > NLE - Non Linear Editing

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th December 2003, 19:28   #1  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
"HuffYUV revisited" 2.2.0 released

I have been doing some modifications of HuffYUV to make it better for my NLE-tasks, and I thought some of you might have some use for it too.

Here is the changelist:
* Added "Reduced resolution". This will save your file in HALF the orginal resolution, and upscale the video on the fly. Lossy, but very fast!
* HuffYUV is now storing interlaced mode in the AVI-file. Now interlaced files are properly decoded!
* Added MMX optimized YUV -> RGB conversion routines.
* HuffYUV will now suggest to store RGB32 (RGB with alpha), even if it is disabled. Alpha information will however be removed when on.
* HuffYUV should now support all resolutions flawlessly. Do however not that it is not recommended to use a resolution that isn't divideable by 8, when using Reduced Resolution, and YUY2 naturally must med divideable by 2.


It _should_ be 100% backwards compatible with HuffYUV 2.1.1, but HuffYUV 2.1.1 will not be able to decode all 2.2.0 created files.

Get it from: http://cultact-server.novi.dk/kpo/huffyuv/huffyuv.html.

Please report any problems, and I'll see if I can help.


Warning:
Quote:
Originally Posted by ChiDragon View Post
This version is known to be broken for RGB input. It only works correctly when "Reduced Resolution" or "<-- Convert to YUY2" is selected, and the size of the garbled file is much smaller than it should be. Everyone agrees on this.
__________________
Regards, sh0dan // VoxPod

Last edited by LoRd_MuldeR; 28th July 2015 at 23:16.
sh0dan is offline   Reply With Quote
Old 20th December 2003, 00:41   #2  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
I am really glad you are taking a look at huffy, so thanks very much for the work.

I tried a little testing. Both VDub and my Winfast capture software crashed hard when I tried to use the reduced resolution checkbox. Any suggestions? The test resolutions were 720x480 and 640x480. I tried many different settings but that did not seem to make a difference.


Last edited by DDogg; 20th December 2003 at 01:04.
DDogg is offline   Reply With Quote
Old 20th December 2003, 01:41   #3  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480


Yet another stupid bug fixed! Archives have been updated.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 20th December 2003, 03:22   #4  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
That fixed it, thanks

Sh0dan, the only thing I am wondering about is the reduced stuff seems to look pretty bad. By that I mean the letters of a title are scored through with lines as if missing every other line. Since I know you are a bit of a perfectionist, I don't think I am seeing what you intended.

Last edited by DDogg; 20th December 2003 at 04:23.
DDogg is offline   Reply With Quote
Old 20th December 2003, 11:22   #5  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
It's supposed to be ugly.

When I do editing and compositing/postprocessing speed is more important than quality, since I'm dealing with some quite highres material. So it matter quite a bit that huffyuv is four times as fast at delivering the material. And when I'm done editing, I simply replace the files with full-resolution ones and hit "render".

This is why it's for NLE, and not capturing.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 20th December 2003, 14:58   #6  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
OK, I understand now Thanks for the explanation.
DDogg is offline   Reply With Quote
Old 21st December 2003, 18:04   #7  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
I almost missed this thread

Sh0dan could you include the changes of 0.2.3 (download section of Doom9). It's a fix for appending two huffyuv clips.
Wilbert is offline   Reply With Quote
Old 22nd December 2003, 01:41   #8  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
I'll do a diff and see what the changes are. Apparently I've missed the 0.2.3 update.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 22nd December 2003, 02:31   #9  |  Link
2ZOD.COM
Registered User
 
Join Date: Mar 2003
Posts: 179
This is awesome. I can't wait to try it out. Thanks.
2ZOD.COM is offline   Reply With Quote
Old 27th December 2003, 23:51   #10  |  Link
Schlumpf
Registered User
 
Join Date: Oct 2001
Posts: 62
Neat!
Why did you hide this in the NLE-forum, where I hardly ever look? (First time today, to be precise ^^° )
Schlumpf is offline   Reply With Quote
Old 14th January 2004, 19:12   #11  |  Link
Arachnotron
Alias fragger
 
Arachnotron's Avatar
 
Join Date: Jul 2003
Location: the Netherlands
Posts: 863
Great to see my favorite codec is still being improved! Many thanks!!

My apologies if I ask something I should have known, but I noticed the 0.2.3 version in the download section has now been replaced by the 2.2.0 version. Does this mean the changes in the 0.2.3 version were superseeded by this one? Or are there now two versions?
Arachnotron is offline   Reply With Quote
Old 25th January 2004, 01:36   #12  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
This new huffyuv is crashing any program that tries to access the files created with it. Files were created with default settings. Virtualdubmod reports the following:

Crash context:
An out-of-bounds memory access (access violation) occurred in module 'huffyuv'...

...while decompressing video frame 0 with "Huffyuv v2.2.0" [biCompression=55594648] (VideoSource.cpp:1823).
Zarxrax is offline   Reply With Quote
Old 25th January 2004, 04:53   #13  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Here is a sample clip that I encoded. It is 480x480 resolution.
http://zarxrax.kicks-ass.net/extra/147.avi
The small size makes me wonder if there is even actually encoded the frames, as most of my files encoded with the old huffyuv were about 10x larger.
Is it possible to extract even a single frame of video from this? The content is semi-important, but I can't remember exactly *what* the content was, so I'm unable to recapture it.
Zarxrax is offline   Reply With Quote
Old 25th January 2004, 16:52   #14  |  Link
Arachnotron
Alias fragger
 
Arachnotron's Avatar
 
Join Date: Jul 2003
Location: the Netherlands
Posts: 863
I can't help you with the huffyuv problem, but I can get a frame from it using the viewer from Total Commander. Here is s acreendump, so you know at least what was in it . The avi won't play on my machine either.


147.png
Arachnotron is offline   Reply With Quote
Old 25th January 2004, 17:57   #15  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
O.O Wow that looks seriously screed up. It was just enough to jog my memory after a moment though
Zarxrax is offline   Reply With Quote
Old 26th January 2004, 15:47   #16  |  Link
section31
Registered User
 
Join Date: Feb 2003
Location: San Antonio, TX
Posts: 32
Hi, I just installed huffYUV b/c I wanted to output my premiere project using a loseless video codec. My problem is when I export it via premiere I get the entire video looking like this with the audio running fine in the background.


I tried using this codec in virtualdub to see if it was just premiere, but everytime I would open the video created by virtualdub in windows media player it crashes. I also tried enabling console window logging but no window would popup during compression. Any ideas what my problem could be...Perhaps a conflict with another codec or something or a previous version of huffYUV.
section31 is offline   Reply With Quote
Old 26th January 2004, 23:13   #17  |  Link
BioByte
Registered User
 
Join Date: Jan 2004
Posts: 1
I've the same problem. New version of huffuyv crash any program which tries to access the files created with it.
Crash details:
An out-of-bounds memory access (access violation) occurred in module 'huffyuv'...
...while decompressing video frame 0 with "Huffyuv v2.2.0" [biCompression=55594648] (VideoSource.cpp:1516)...
...while running thread "Processing" (thread.cpp:105).
BioByte is offline   Reply With Quote
Old 26th January 2004, 23:22   #18  |  Link
section31
Registered User
 
Join Date: Feb 2003
Location: San Antonio, TX
Posts: 32
IC, well for now i'm using mjpeg..but i really want to get this hufffyuv working...I really like its speed.
section31 is offline   Reply With Quote
Old 27th January 2004, 00:10   #19  |  Link
Arachnotron
Alias fragger
 
Arachnotron's Avatar
 
Join Date: Jul 2003
Location: the Netherlands
Posts: 863
I have no problems with it. Capped at 720x576 and played back again without problems on a P4.

This is with the field treshhold at 288, and no option enabled except "Enable full size output buffer". Both compression methods ar set to best.
Arachnotron is offline   Reply With Quote
Old 28th January 2004, 04:01   #20  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
After a bit of messing around here is what I discovered:
Bad output files are only created when it encodes to RGB. Converting to YUY2 will output correct video.
Source file is being passed in as RGB32.
Enabling Reduced resolution causes RGB mode to work.

Hopefully this information is helpfull in fixing the problem.
Zarxrax is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.