k1mjug
Last Updated: February 25, 2016
·
4.532K
· poupougnac

Audio streaming//record your mic (command line Linux)

Which devices can record :

arecord -L

Create a record from your microphone

ffmpeg -y -f alsa -ac 2 -ar 44100 -i pulse -f ogg -acodec libvorbis test.ogg

Create a pseudo server to stream with http

cvlc alsa://pulse --sout '#transcode{acodec=vorb,ab=64,samplerate=44100}:standard{access=http,mux=ogg,dst=192.168.0.1:4567}'