Are the sizes of my AVI files unreasonable?

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
DriftRoot
Joined: Mon Jun 09, 2003 7:18 pm
Status: As important as any plug-in.
Location: N.H.
Org Profile

Are the sizes of my AVI files unreasonable?

Post by DriftRoot » Sat May 05, 2007 6:40 pm

I am getting some really exorbitantly large AVIs out of my D2V files, and before I go ahead with them in Premiere, I would like to confirm if something's wrong. I believe I've asked this question before, as I am sure other folks have, but for some reason forum searches aren't returning any answers.

The following is found in Read <a href=http://www.a-m-v.org/guides/avtech31/>ErMaC & AbsoluteDestiny's Friendly AMV Guides</a> concerning making high quality AVI clips from one's AVS files: "The major downside of this method is the amount of space that the losslessly encoded Avi files will take up. If you plan to encode entire episodes or movies, you will need a LOT of space. Estimate about 4gb per 25 minute episode, minimum."

Now, even understanding that the word "minimum" was used, is it a red flag that MY roughly 25 minute AVI is coming out of VDM at around 13 GB? And it's not just Dirge of Cerberus footage that's quite large. On average, 30 seconds is equalling about 250MB of anything I try to pull from any of my D2V files. I have a spare hard drive to deal with my AMV footage, so space isn't an issue, but I am definately in need of a second opinion on these huge file sizes.

I don't believe anything in my AVS script is messing with things ( 'cause if I did it wouldn't be there, please enlighten me, though):

mpeg2source("F:\...\Dirge of Cerberus.d2v")
removegrain(mode=2)
Deen("a3d",1,4,4)
limitedsharpenfaster(wide=true,edgemode=1, strength=150)
LanczosResize(720, 496)
#Crop(0,60,-0,-60)
AssumeFPS(24)


I'm using HuffYUV 2.1.1 on fast recompress.

There are lots of people out there who've worked with Dirge of Cerberus (and even more with Advent Children, which also is returning huge AVIs) so if your 30 second clip is 60 MB and mine is 250 MB, I'd love to know what you're doing that I'm not (assuming what you're doing is A-OK).

p.s. This isn't necessarily an Avisynth issue or a ripping issue and it involves squishing/unsquishing files so that's why I posted this here, rather than there. :)
Image

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Are the sizes of my AVI files unreasonable?

Post by Scintilla » Sat May 05, 2007 9:15 pm

DriftRoot wrote:Now, even understanding that the word "minimum" was used, is it a red flag that MY roughly 25 minute AVI is coming out of VDM at around 13 GB?
No. That's pretty much to be expected.
DriftRoot wrote:And it's not just Dirge of Cerberus footage that's quite large. On average, 30 seconds is equalling about 250MB of anything I try to pull from any of my D2V files.
Sounds about right for YUY2-mode HuffYUV; RGB would be even bigger.
DriftRoot wrote:mpeg2source("F:\...\Dirge of Cerberus.d2v")
removegrain(mode=2)
Deen("a3d",1,4,4)
limitedsharpenfaster(wide=true,edgemode=1, strength=150)
LanczosResize(720, 496)
#Crop(0,60,-0,-60)
AssumeFPS(24)
Wait, this title was actually encoded at 23.976fps, progressive?
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
DriftRoot
Joined: Mon Jun 09, 2003 7:18 pm
Status: As important as any plug-in.
Location: N.H.
Org Profile

Re: Are the sizes of my AVI files unreasonable?

Post by DriftRoot » Sun May 06, 2007 9:46 am

God I love you, Scintilla. *hug* Bringing light hearts to AMVers everywhere. :D
Scintilla wrote: Wait, this title was actually encoded at 23.976fps, progressive?
No, it was 29.97 FPS, progressive. Should I not force it to 24 FPS that way? I need to use it in tandem with some Advent Children footage that's 24 FPS Progressive (after scripting) and on it's own, at some point. The original DAR is weird (640 X 328) so I moved it up to 720x496 on the assumption that this is the only way to make it big enough to match AC. I will adjust the crop later. The DoC scenes are all pretty tight, composition-wise, so assigning a generic crop with an AVS script to the entire thing would harm too much of the footage I need.

I am not a math-side-of-the-brain person - apparently I'm 99% the other side - so dealing with the numbers is pretty frustrating and my #1 roadblack to AMVing. Zarx's beta version of the guide goes into helpful detail about options for mixing 16:9 (Advent Children) and 4:3 (DoC) footage, but since I have to do something first about DoC's weird DAR, I don't know if the scripts the guide lists are the best choice for me. I've been making sample clips with all kinds of scenarios to find a happy medium, but so far nothing's working. Either AC comes in way too small (think giant letterboxing) or DoC comes in way too big (and needs giant letterboxing to match AC). :(

I'm honestly not sure what the best route is to take with these two sources. Do I make it all 16:9 and slap this on DoC:

Crop(0,60,-0,-60)
LanczosResize(720, 496)


knowing that it's going to eat a hefty portion of my footage or go with NTSC letterboxed widescreen at DVD resolution:

16:9 Footage:
LanczosResize(720,360)
AddBorders(0,60,0,60)


4:3 Footage:
LanczosResize(????????)
Crop(0,60,-0,-60)
AddBorders(0,60,0,60)
"

Note the (?????) part. :? I'm not sure what's the best way to bring up the 328 to a more standard size - with LanczosResize(792,480)? - this would entail a crop of 36 on each side, if my math is right, and it usually winds up looking hacked up. Like I said, the DoC footage is pretty right, composition-wise.

I suppose I should look up some DoC/AC editors and ask them how they handled it. Unfortunately, I'm on dial-up, now, so downloading AMVs is pretty much prohibited...

p.s. My apologies for turning this thread towards AVS scripts!
Image

User avatar
DriftRoot
Joined: Mon Jun 09, 2003 7:18 pm
Status: As important as any plug-in.
Location: N.H.
Org Profile

Post by DriftRoot » Mon May 07, 2007 7:05 am

Hrm, ok, my idiocy aside, for the moment...I think I resolved the PAR/DAR issues (and one could say the compressing/encoding issues, since once that was out of the way I could focus on this stuff that belongs in a different forum) by setting it all to 16:9, though I had to force an 80% height scale on my DoC footage to achieve something approaching a normal appearance and keep a PAR of .9. It matches my AC footage now, almost; what I have to crop off is negligible. I only need a teensy bit from DoC anyways...
Image

Locked

Return to “AviSynth Help”