ErMac HELP! Huffyuv 3GB output

The old Video Software Help forum, left visible as an archive.

ErMac HELP! Huffyuv 3GB output

Postby Neo-Matrix » Wed Jul 17, 2002 8:21 pm

ok i know you guys get questions like this 500 times a day, 7 days a week, but i didnt see any posts that looked like my problem so if i could get a reference or copy and paste the answer or just a quick answer for me.

when i encode my video in premiere(the video went from PSX2 to S-VHS to digital vidcam) and the music video is 900 MB, when i encode the video with Microsoft AVI as filetype, Huffyuv video compression, no audio compression, default settings version 1.3.1.

the end result is a video file over 3 gigabytes and even that video is choppy. this should be a lossless codec and make the filesize smaller.

ErMac, i know that you have the answer to all things ever invented which displays images in a sequence, AKA video. teach me, master. :)
User avatar
Neo-Matrix
 
Joined: 18 Feb 2002

Postby TokyoU15 » Wed Jul 17, 2002 9:05 pm

it could be the version of huffyuv you're using, try using the latest one, beta2.1, can't remember the exact version but it has a 2!

Anywho, it's not unusual to get a real big filesize, how long is the video?
<a href="http://www.senpaiproductions.net">Image</a>
<a href="http://www.animemusicvideos.org/members/members_myprofile.php?user_id=326">View My Profile</a>
The Thrill of The Kill Is Alive and Well!
User avatar
TokyoU15
 
Joined: 05 Feb 2001

Postby afleetinghope » Wed Jul 17, 2002 9:11 pm

HuffYUV runs choppy on all but the best systems, but it's not meant to be watched. What you need to do is to read these two guides on how to make DivX & Mpeg encodes.

http://animemusicvideos.org/legacy/ErMaC/guide6.htm

http://animemusicvideos.org/legacy/ErMaC/guide7.htm
User avatar
afleetinghope
 
Joined: 11 Oct 2001
Location: NC, USA

Postby TokyoU15 » Wed Jul 17, 2002 9:45 pm

OHyeah, I forgot to mention that.

yeah, huffyuv sucks nuts for playback so you need to compress it into something more playback friendly.
<a href="http://www.senpaiproductions.net">Image</a>
<a href="http://www.animemusicvideos.org/members/members_myprofile.php?user_id=326">View My Profile</a>
The Thrill of The Kill Is Alive and Well!
User avatar
TokyoU15
 
Joined: 05 Feb 2001

Postby Mechaman » Wed Jul 17, 2002 11:19 pm

The last HuffYUV version is 2.1.1.
Note that you probably also have RGB compression turned on; to get the true compression out of HuffYUV, enable "<--Convert to YUY2" in the RGB box(and make sure YUY2 compression is on "Predict Median").

Also, how did you transfer it from your video camera? If it was via FireWire/IEEE1394, then it's in DV format, and you really don't need to convert it to HuffYUV(you can edit in native DV).
User avatar
Mechaman
 
Joined: 26 Jan 2001
Location: Greater Pacific Northwest

Re: ErMac HELP! Huffyuv 3GB output

Postby grayplague » Thu Jul 18, 2002 1:17 pm

Neo-Matrix wrote:...this should be a lossless codec and make the filesize smaller.

Last that I heard, Lossy compression produces a MUCH smaller file than Lossless.
/::.:.. <a href="http://www.animemusicvideos.org/members/members_myprofile.php?user_id=1190" target="#new"><b>my profile</b></a> ..:.::/|/::.:.. <a href="http://www.ijouhassei.com" target="#new"><b>my site</b></a> ..:.::/
User avatar
grayplague
 
Joined: 26 Mar 2001
Location: Kettering, Ohio, USA

Postby klinky » Thu Jul 18, 2002 6:57 pm

Looks like you're using two different codecs here.

When you originally got a 900MB file that was probably some other codec, like MJPEG or possibly CinePack or Indeo.

HuffYUV usually comrpesses a UNCOMPRESSED stream by %50.

If you go from lossy to lossless, that's going to bloat the file size up, not down.

HuffYUV is not a web distro or a playback codec, it's meant for editing and exporting with out losing image quality.

Once you have your project exported as HuffYUV , then you can follow one of the other ErMaC guide's on creating a MPEG or DIVX file.


~klinky
User avatar
klinky
 
Joined: 23 Jul 2001
Location: Cookie College...

Postby Neo-Matrix » Fri Jul 19, 2002 8:04 pm

first of all, IM NOT STUPID. thanks for your help, but for those who told me lossy is smaller than lossless, I KNOW!! i meant that huffyuv made my 900mb into 3 gig, instead of 900 to ?mb. smaller than the ORIGINAL, not smaller than a lossy codec. the original export was microsoft dv avi, ntsc or somethin(uncompressed format). after i did that, i opened the dv avi file(900mb) in premier and exported with huffyuv(not the latest... sorry). so what you're saying is that if i export in huffyuv, then compress with whatever's next in the steps of ermac's guide(the divx encode one) which, by the way, i already read through all of his guides, then it will have good playback again? ill get the new huffyuv, then ill try it again, then add on the other compressors. by the way, when im using divx 3.11a, do i select slow motion or fast motion in the compression list? thanks.
User avatar
Neo-Matrix
 
Joined: 18 Feb 2002

Postby klinky » Fri Jul 19, 2002 8:18 pm

Well there you go, DV is a lossy video standard.

I don't know why you asked if you already knew that lossy was smaller then losslesss.

When convetering codecs it goes like so:

Original Codec ----> Uncompressed ------> New codec.

So it decompresses the DV video and then re-compresses with huffYUV.
As I said before HuffYUV usually yields a %25 - $50 reduction in filesize over Uncompressed video, DV on the other hand is totally different.


You need to export from Premiere first in HuffYUV, you don't want to compress in DV then to huffYUV, since quality is lost when you goto DV and all that huffYUV can do is prevent further quality loss from there.


Use VirtualDub/ Nandub, you can follow ErMaC's guide if you want. I usually just do a 1-pass low motion DivX3.11a encode.


~klinky
User avatar
klinky
 
Joined: 23 Jul 2001
Location: Cookie College...

Postby Neo-Matrix » Fri Jul 19, 2002 8:43 pm

but my source material was encoded in dv AVI. i have been told many times that AVI is NOT COMPRESSED!!! my source material was 8 gigs, the entire FFX cinematic bunch... after editing and removing the original sound and adding my music, it was 900mb. i still dont know why huffyuv would make the filesize half of the entire source material, when the video is 4 min long compared to over an hour source. i just cant get this video to be compressed and actually work! so if i go from source of uncompressed(as i am told...) avi(maybe not DV avi on the source, but regular avi) to what? nandub, huffyuv, divx? ermacs guide didnt work for me.

btw i tried encoding with divx twice, once low motion once on fast motion, both times the video lags behind the audio.
User avatar
Neo-Matrix
 
Joined: 18 Feb 2002

Postby ErMaC » Fri Jul 19, 2002 8:57 pm

Neo-Matrix wrote:but my source material was encoded in dv AVI. i have been told many times that AVI is NOT COMPRESSED!!!

Then whoever you were talking to is an ignorant fool. Read my video guides for an explanation of video compression.
User avatar
ErMaC
The Man who puts the "E" in READFAG
 
Joined: 24 Feb 2001
Location: Irvine, CA

Postby Neo-Matrix » Fri Jul 19, 2002 9:24 pm

well what IS UNCOMPRESSED? ill read ur guides and stuff again i guess, see if i missed anything. then encode on my brothers brand new computer.
User avatar
Neo-Matrix
 
Joined: 18 Feb 2002

Postby klinky » Fri Jul 19, 2002 10:00 pm

To understand what uncompressed means you have to go way way back to the very basics.

Uncompressed video is a bunch of uncompressed bitmap images. A bitmap is a uncompressed picture. If you open up MS Paint and draw a picture then save it as a BMP file then you have a bitmap there.

Most bitmaps are 24bit per pixel. So for every pixel of that image it takes 24bits. 8bits = 1byte. So that's 3bytes per pixel.

If you're working with something like DV, that has a resolution of 720x480, then that's 720 * 480 * 24bits = 8294400bits. Divide that by 8 which equals 1036800bytes, divide that by 1024, which equals 1012.5KiloBytes. Now 1024Kilobytes is a megabyte. So that single image there is nearly 1MB!!!!

Now to get fluid motion, you need to have a series of these images going at atleast 24 frames per second. So now you multiply that 1012.5KB * 24 and you have 24300Kilobytes(nearly 24.3MB) per second!!!

You take a three minute long video at 24.3MB per second and you get 4271.4MB! or well over 4GB.

So uncompressed video is huge. Now I believe the FFX videos are encoded in MPEG2, which is quite lossy and removes quite a bit out of the original image. Most of the stuff it removes is stuff you can't see.

DV I believe is a variant of mpeg2. So it's not much different.

AVI is just format that explains how data should be structured in the file, it does not explain what data goes into it, that's the job of the codec.


~klinky
User avatar
klinky
 
Joined: 23 Jul 2001
Location: Cookie College...

Postby RyanGlazner » Fri Jul 19, 2002 10:07 pm

*bows in Klinky's direction* You've made it all so clear! 8)
User avatar
RyanGlazner
 
Joined: 18 Feb 2002
Location: California

Postby Mechaman » Sat Jul 20, 2002 1:21 am

DV is actually related more to MJPEG.
DV is meant as a editing codec, while MPEG2 was always intended as a production codec. As such, while both are lossy, DV is not nearly as lossy between generations as MPEG2, in addition to every frame being a keyframe. So that's why it's encouraged to work in it if your footage is already DV.

There's no real benefit transcoding to HuffYUV. Huff can't restore anything lost in the DV encoding, so all you'll gain is your aforementioned increase in diskspace, for the same quality footage.
User avatar
Mechaman
 
Joined: 26 Jan 2001
Location: Greater Pacific Northwest

Next

Return to Video Software Help Archive

Who is online

Users browsing this forum: No registered users and 0 guests