Caylin
Posts: 5
Joined: Wed Oct 22, 2014 5:50 pm

FFMPEG and ALSA Support

Sun Oct 26, 2014 8:35 pm

Hey there guys!

I'm working on a project to get my Raspberry Pi to recieve a microphone input and stream this over using RTP.
At the moment I got an external USB audio card and a microphone but im having trouble getting a stream up and running.

I tried to follow this post: http://raspberrypi.stackexchange.com/qu ... ing-ffmpeg
Specifically this command: ffmpeg -ac 1 -f alsa -i hw:0,0 -acodec libmp3lame -ab 32k -ac 1 -re -f rtp rtp://localhost:1234
but when i try to run it I get the error ffmpeg unknown input format: 'alsa' raspbian..

Could anyone tell me why this is? And possibly tell me how I should go about getting FFMPEG to work with alsa or any other proven methods of getting an audio stream working with decent latency.

Thanks in advanced!

Return to “Networking and servers”