ImageJ icon indicating copy to clipboard operation
ImageJ copied to clipboard

Large AVI file size support

Open zzyzyman opened this issue 6 years ago • 2 comments

Is there any plan afoot to support large AVI file sizes (via OpenDML) with the AVI Reader?

It would seem that files that tip the 32-bit limit of 4GB are truncated at 4GB by ImageJ.

zzyzyman avatar Apr 05 '19 02:04 zzyzyman

Michael Schmid is the AVI guru.

rasband avatar Apr 05 '19 15:04 rasband

I found the issue, relating back to issue #56 -- I have extra-large AVI files from a variety of sources.

About two-thirds of them have an 'ix00' tag in them (correct) and the other third have an '00ix' tag in them (incorrect) for an internal index of frames. I modified the code quite simply so that AVIReader accepts either tag. In my case, my 'bad' files used a '00ix' tag for the small number of frames above the 4GB limit which is why they were being dropped.

zzyzyman avatar Apr 05 '19 23:04 zzyzyman