[FFmpeg-user] FFMpeg stream audio problem

Csaba csabacsaba904 at gmail.com
Wed Dec 11 17:46:13 EET 2019

Hi Moritz,

Thank you very much for your mail. I am so sorry for my mistakes. You
are very friendly and helpful.

I have better success with VLC than ffmpeg. My simple goal is to make
audio streaming on my Linux machine. I would like to other machines
and mobile phones can connect to the Linux machine ( and
can play the stream with low latency.

I tried the following:
cvlc -vvv alsa://hw:1,0 --sout-keep --sout
> vlc_tcp_stream.log 2>&1 &
I tried to set some caching options too but these options did not
decrease latency.
I tried to stream PCM but i made a mistake.
cvlc -vvv alsa://plughw:1,0 --sout
> vlc_pcm.log 2>&1 &
I also tried with "araw" with no success.

I also tried rtp streaming with Ffmpeg. In this case where do I put
the "-listen 1" parameter?
arecord -D plughw:1,0 -r 44100 -c 2 -f S16_LE | ffmpeg -i - -acodec
mp2 -ab 320k -ac 1 -f rtp rtp:// > ffmpeg_rtp.log
2>&1 &
The stream is operating but i unable to connect from other machine.

Best regards: Csaba

More information about the ffmpeg-user mailing list