[FFmpeg-user] FFMpeg stream audio problem
csabacsaba904 at gmail.com
Wed Dec 11 17:46:13 EET 2019
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 (192.168.1.20) 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
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://192.168.1.20:5000 > ffmpeg_rtp.log
The stream is operating but i unable to connect from other machine.
Best regards: Csaba
More information about the ffmpeg-user