HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: Cyaneyes on 2005-02-07 18:44:20

Title: Flac Has A 2gb Size Limit?
Post by: Cyaneyes on 2005-02-07 18:44:20
Does FLAC have a 2GB limit to file size?  I'm trying to compress a 5.5 hour radio show and flac 1.1.2 reports an error when the output file reaches 2GB.
Title: Flac Has A 2gb Size Limit?
Post by: amano on 2005-02-07 19:03:15
Maybe it is a limitation of your file system?
Title: Flac Has A 2gb Size Limit?
Post by: Cyaneyes on 2005-02-07 19:11:48
Don't see why that would be.  The original WAV is about 3.5GB.  I'm on XP, SP2.
Title: Flac Has A 2gb Size Limit?
Post by: grav on 2005-02-07 20:31:17
Quote
Don't see why that would be.  The original WAV is about 3.5GB.  I'm on XP, SP2.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=271605")


XP supports several file systems. Most people use NTFS, some FAT32 (if you've upgraded from Win98), but both these support files > 2 GB.
So I don't think it's File System related either.

[a href="http://www.microsoft.com/resources/documentation/Windows/XP/all/reskit/en-us/Default.asp?url=/resources/documentation/Windows/XP/all/reskit/en-us/prkc_fil_tdrn.asp]File Systems Overview (Microsoft.com)[/url]
Title: Flac Has A 2gb Size Limit?
Post by: rompel on 2005-02-07 20:59:10
Just a wild guess, but does it still fail with --no-seektable?
Title: Flac Has A 2gb Size Limit?
Post by: jcoalson on 2005-02-08 00:42:33
the FLAC format does not have a size limit but command-line flac currently only supports up to 2GB.  it's on the list of TODOs to fix.

Josh
Title: Flac Has A 2gb Size Limit?
Post by: amano on 2005-02-08 01:01:28
OK. Then this riddle is solved now.

I didn't know that you have WIndows XP but for Fat16 (Win95/98/Me) the file limit is indeed 2GB (at least these files are not accessible).

So it is a commandline FLAC problem now.
Title: Flac Has A 2gb Size Limit?
Post by: rjamorim on 2005-02-08 01:31:30
Quote
for Fat16 (Win95/98/Me) the file limit is indeed 2GB (at least these files are not accessible).[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=271690")


Of course they are not accessible. They don't exist. The partition size limit for FAT16 is 2Gb

Now, for FAT32 (used in Win95SR2, Win98 and WinME), which has a partition size limit of 2TB, the file size limit is 4Gb.

Edit: more info: [a href="http://www.ntfs.com/ntfs_vs_fat.htm]http://www.ntfs.com/ntfs_vs_fat.htm[/url]
Title: Flac Has A 2gb Size Limit?
Post by: Cyaneyes on 2005-02-08 14:51:40
Thanks for the clarification, Josh..

FWIW, other lossless codecs failed on this as well.  Monkey's (command line and GUI) refused to encode, WavPack got about 10% through and then spit back an error.  OptimFROG worked fine.