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 > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th July 2012, 23:55   #1  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
AVI file size limit

Had issue with AVI file size, which passed 1TB-is there an AVI file size limit?
I remember I had them bigger than 1TB and it was fine- this time it was export from VirtualDub and I think it's VD problem to pass 1TB.

Any ideas?
kolak is offline   Reply With Quote
Old 20th July 2012, 01:17   #2  |  Link
mastrboy
Registered User
 
Join Date: Sep 2008
Posts: 365
Is it 1TB exactily each time? or a floating number around 1TB each time?
I think i remember AVI had a 2GB size limit a few years ago, but some of the newer AVI specs "fixed" that and the new spec should only be limited by filesystem limitations.
mastrboy is offline   Reply With Quote
Old 20th July 2012, 09:31   #3  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
raising the superindex setting might help, see: http://forum.doom9.org/showthread.php?t=131028
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 20th July 2012, 13:37   #4  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Hmm- thanks. I think it's good question to VD developer
kolak is offline   Reply With Quote
Old 21st July 2012, 00:57   #5  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
As Selur said increase Superindex entry limit. These vdub options are under Options -> Preferences -> AVI

As the helpful text states :-

For AVI files larger than 2GB, approximately one superindex entry is needed for every 2GB block of file, and 1-2 entries for every video frame. The default settings of 256/8192 are good for about 0.5TB and nine hours. Each additional superindex entry adds 16 bytes per stream to the header.


The reason to not increase the values wildly is that some AVIfile readers may choke, causing the file to become unusable. The maximum size segment a superindex entry can point to is 4GB-1, which is why the default tops out just shy of 1TB. For maximum compatibility you should only assume 2GB segments. Set the value to [Total expected file size + a bit]/2GB.


If the video frames are particularly large you can decrease the Index entries per block setting to save table space, use 2GB/[Frame size] plus 10%, e.g for YV12 1920x1080 calculate 759 then round up to 1024.
IanB is offline   Reply With Quote
Old 21st July 2012, 11:45   #6  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Thanks a lot- I think I understand it
kolak is offline   Reply With Quote
Reply


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 06:53.


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