[vorbis] [line-in.to.ogg]

Greg Wooledge greg at wooledge.org
Sat May 10 04:39:56 PDT 2003


Paul Martin (pm at nowster.zetnet.co.uk) wrote:

> #!/bin/bash
> 
> output=${1:-/tmp/recording.ogg}
> duration=${2:-1800}
> 
> brec -S -s 48000 -b 16 -t $duration -D 1 -r | \
>  nice -n -10 oggenc -Q -q 6 -r -R 48000 -C 2 -o $output -

Just out of curiosity, why did you put "nice" in there?  Oggenc will
use however much CPU it needs to encode the incoming data stream in
real time, and must not fall behind.


-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |


-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis/attachments/20030510/5fc16d92/part.pgp


More information about the Vorbis mailing list