Raspberry Pi 3 ffmpeg with audio input audioinjector stereo hat

Warning: This post is a draft and is to be considered unfinished. The content might be of poor quality, might not have been tested thourughly, or can even be misleading!
Revision history
Tags: draft raspberrypi audioinjector audio ffmpeg alsa

Audio Injector Raspberry Pi hat

I’m using this with ffmpeg in order to stream an audio source to a RTMP endpoint.

Install the hat physically on the Pi (picture coming)


Follow installation instructions on the official forum, or just go along with mine

Open up alsamixer and enable capture mode on the input devices by selecting the device and pressing the spacebar alsamixer enable capture mode

Change the input muxer in alsamixer to line-in in order to capture audio from the phono jacks instead of the on-board mic. Do this by selecting the device, then press arrow up/down. Look in the upper left corner to see what’s currently selected. alsamixer select input mux device


If you have any comments or feedback, please send me an e-mail. (stig at stigok dotcom).

Did you find any typos, incorrect information, or have something to add? Then please propose a change to this post.