[vorbis] Oggenc problems in apache or cron

Mr Shanon Loughton autobot at iinet.net.au
Thu May 22 00:33:20 PDT 2003



I would like to run oggenc on existing wavs through a perl/cgi script in
apache 2.0 in OS Linux mandrake 9.1. 
I have a problem where the script hangs after about 20sec worth of wav,
whether it would be 20sec through a 60 sec song or on the second file of a
10sec-a-file batch.  The same problem occurs if i run a cron job to encode any
found wav files on my hdd.  Running the script in shell encodes all songs
happily to the end. 
the command is 
"oggenc -b 128 *.wav"
I think it is a buffer problem since both apache and cron limit their mem to a
couple of KB - however cdparanoia works fine because it writes directly to the
hdd on the fly.  Does oggenc write to the hdd on the fly or only at the end?
Is there a way imitate the shell's success in cron or apache/perl (like
forking or something)? Cheers
ToWeR

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list