Re: [ecasound] filesize limitations

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] filesize limitations
From: Jeremy Hall (jhall_AT_uu.net)
Date: Fri Oct 12 2001 - 22:33:24 EEST


At some time ago, ecasound had a problem with a 2gb limit, which was fixed
in CVS. Do you recall what that fix was?

_J

In the new year, Kai Vehmanen wrote:
> A few people have asked me about filesize limitations in ecasound and
> ecawave. At the moment the two closest ones are:
>
> 1. Ecasound and ecawave use long ints for storing position_in_samples
> and length_in_samples. On many 32bit platforms long int is 32bit. This
> means that with 44100Hz sample rate, ecasound and ecawave can handle upto
> 13 hours (--> 8GB files). (*)
>
> 2. As far as I know, ext2 still has the 2GB upper limit for
> filesizes. With cd-quality this means 3 hours of audio. (**)
>
> 3. ftell(), fseek() and other standard file access routines in glibc also
> use long ints (--> 2GB limit for filesizes with 32bit platforms). There
> are 64bit variants of these functions, but support must be explicitly
> added to ecasound before this helps. (**)
>
> So for very long recordings, it's better to encode directly to ogg or mp3,
> or split material into multiple files. Of course, upgrading to a 64bit
> platform or possibly a different filesystem also helps.
>
> (*) Affects all files types.
> (**) Doesn't necessarily affect externally handled file types like
> aif&snd (libaudiofile), ogg, mp3, mikmod-modules, etc.
>
> --
> http://www.eca.cx
> Audio software for Linux!
>
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request_AT_wakkanet.fi>.
>

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Oct 12 2001 - 22:34:43 EEST