on Fri, Dec 07, 2001 at 10:27:48PM +0800, csj ([EMAIL PROTECTED]) wrote: > lav2wav +p /xb/base/input-20011207-1948.avi | mp2enc -o audio.mp2 > INFO: Norm set to PAL > **ERROR: Error opening /xb/base/input-20011207-1948.avi: File too large > **ERROR: EOF in WAV header > **ERROR: failure reading WAV file > > The program comes from a package which claims to have large file > support, which I enabled at compilation: > > mjpegtools-1.5-20011611$ ./configure --help | grep large > --disable-large-file, disable large file support (>2GB) > > My question: is it the OS or the program's fault? If it means anything, > other programs (all encoders) return a more generic "Could not open" > error message. What puzzles me is that I was able to create the file > thru another program (xawtv's streamer). > > I'm running kernel 2.4.16 with libc6 (2.2.4-5). What do I need to do to > eliminate this error? Any tips appreciated. The multi-GB file is > desperately awaiting compression.
Large file support is a complex situation, not something you can just turn on and off. Essentially, the problem is that all parts of the process chain have to support it. Not familiar with the tools you're using, but you might want to try doing other operations on a large file or files to see what does or doesn't work with it. Is your program invoking another application which may not have LF support? Peace. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? Home of the brave http://gestalt-system.sourceforge.net/ Land of the free Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html
pgpj8V6nNsR6B.pgp
Description: PGP signature