Log in

View Full Version : max size of AVI file


Akis
17th September 2003, 21:57
Hello

I have read in a couple of places that 2GB is the limit for an AVI file regardless the DOS.

My capture card software however, happily produces AVIs of 110GBs. VirtualDubMod has a max setting of 2GB, yet on the first run it produced an AVI of 8GB...

Can someone throw some light on this?

Thanks

Akis

Akis
18th September 2003, 09:28
Thanks for that. There is a "capture" guide hereabouts which claims that an AVI file cannot be bigger than 2GB regardless of the OS. I thought there was some intrinsic limitation there?

lwolf
18th September 2003, 09:39
Aki I have the exact same problem with you, the 2gb limit is not a file system limit, it is a gknot limitation. I have an NTFS formatted drive and create >2gb avis, but Gknot won't open them.

Xaris

Akis
18th September 2003, 09:45
I quote from the guide present here on doom9 TV_CAPTURE:

**********************************
**********************************
**********************************
Capture -> Capture Drives -> add spill drives.

Short explanation: An avi file cannot get larger than 2 GB, even if win98 (FAT32) can handle files as large as 4 GB and WinXP/2K (NTFS) can handle files of almost any size. So you have to tell VirtualDub that it should simply split the files every time it reaches 2 GB. That is what spill drives are for; they allow the files to be loaded later as one logical file again. This ingenious idea by Avery Lee puzzles even large (and expensive) suppliers of capture software.
**********************************
**********************************
**********************************

Akis
18th September 2003, 11:35
Yes, obviously the guide is wrong - both WinTV2000 and VirtualDubMod can create AVI files larger than 2GB.

jggimi
18th September 2003, 16:18
The AVI standard has changed over the years. Initially, AVIs were limited to 2GB. OpenDML is the name of the enhancement to the AVI standard that enables them to exceed 2GB.

FAT32 is limited to 4GB individual file sizes, this often confuses the issue.

---

lwolf, you wrote:...I have an NTFS formatted drive and create >2gb avis, but Gknot won't open them.I'm not on the GK development team, but they need to be aware of this if it's a repeatoble problem. I'll PM len0x and let him know you've mentioned it as a possible problem. He or other members of the sourceforge team may get in touch with you. Meanwhile, you may be able to circumvent this limitation opening an AviSynth script that uses AviSource() or perhaps DirectShowSource().

My capture PC uses FAT32, so I use Vdub segmented AVIs, and open them in Gknot by creating a little script that uses SegmentedAviSource().

jggimi
18th September 2003, 16:38
I've already received a PM back from Len0x. It is a known, open issue, due to the limitations of the Microsoft AVI File Support Library (avifil32.dll), used by Gknot for managing AVI input.

Hopefully, a short .avs script can circumvent things for you.

hendrix
28th September 2003, 09:26
Originally posted by A380

I don't know the max of NTFS but it's way over 100GB.
A380

if i remember correctly NTFS is 16 terabytes