[vorbis] Encode on fly from device?

Paul Martin pm at nowster.zetnet.co.uk
Thu Feb 13 10:58:42 PST 2003



On Thu, Feb 13, 2003 at 03:59:07AM -0000, Michael Smith wrote:
> Lorenzo Prince <lorenzo at princenet.sytes.net> said:
> 
> > If running under Linux, you can simply use the < redirect symbol on the oggenc
> > command line to redirect the recording device to stdin.
> 
> This is technically true but unhelpful.
> 
> You can do this, but the default audio device settings will put it in a mode
> unsupported by oggenc, generally (8 bit u-law, I think, on most hardware). 

This is what I do:

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 -


-- 
Paul Martin <pm at zetnet.net> (work)
  <pm at nowster.zetnet.co.uk> (home)
--- >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