Log in

View Full Version : VirtualDub Outputting Excesively Large File Sizes


Shinji-kun
16th October 2010, 21:05
I am trying to open a 232 MB XVID AVI in vdub using AviSynth and then save a 40 second clip from it, without any change in quality.

I have:

AVISource("blah.avi",fourCC="XVID")
crop (10,0,-2,0)

That opens fine. The main problem is that, when I select "direct stream copy", mark off the selection and then save the clip as an AVI, the filesize is excessively large (342 MB). As I said, the source video I opened with avisynth is only 232 MB and since I selected "direct stream copy" it shouldn't be outputting a lossless file. The selection SHOULD be about 10 MB tops but I keep getting an over 300 MB file from 43 seconds of a 232 MB video. What is the problem here?

MatLz
16th October 2010, 21:29
The problem is you feed vdub with an avisynth script.
So if you use 'directstreamcopy', it will copy the (I assume here) pure yv12 avisynth output in an avi.

Feed vdub directly with the avi.

And you CAN'T crop without reencoding.