Michael Lehmeier wrote:
Then I record the audio input like this:
arecord -f dat audio.wav
The problem: audio.wav is then only raw audio. mp2enc doesn't handle raw
audio AFAIK.
On checking the man page for arecord, you can add "-t wav" to make
arecord create a wav file. I don't know if it's then possible to pipe
that into mp2enc - wav files headers contain the filesize - something
not possible to include with live streams.
Another mp2 encoder is toolame - this seems to support reading raw data
from stdin, but I haven't tested it.
Dave.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users