I try to stream live audio using ffmpeg and external usb microphone. I followed this nearly tutorial : http://prupert.co.uk/2010/08/02/stream-live-audio-from-a-microphone-in-near-real-time-in-ubuntu.
I had to adapt some steps but finally, I achieved to receive the stream my laptop using this command :
ffmpeg -f oss -i /dev/dsp1 -acodec libmp3lame -ab 32k -ac 1 -re -f rtp rtp://192.168.28.116:1234
The cpu is near 100%, i have a bad sound during two seconds and after nothing... I see in Wireshark that the board is sending frames continuously.
Does someone have ideas to lower the cpu usage ?
Thanks !