Do not use the package ffmpeg
from the Raspbian repository apt-get
- It's, as it says, obsolete. Who knows why its still there.
The only solution to stream to another VLC is to compile ffmpeg on your own, but on a Pi takes about 2 hours!
cd /usr/src
sudo git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
On a Raspberry Pi 2 you run this to speed it a bit. (about 50%)
./configure && make -j4 && make -j4 install
On any other Raspberry run
./configure && make && make install
It would be better to stream using UDP since it uses less bandwidth and is latency ignorant (you might get a few artefacts though). Configure VLC on the listening machine as udp://@:1234
ffmpeg -f alsa -ac 1 -i hw:1 -ar 44100 -f mpegts udp://10.255.11.53:1234
For audio suggestions have a look hererFor audio suggestions have a look herer
Alternatively, if you streaming to another Linux machine, then use gstreamer
which can be installed from apt-get
, but be warned, the pipelines are pretty complex.
Raspivid is only used for the CSI Camera, made by Raspberry Pi.