[FFmpeg-user] FFMpeg stream audio problem

Moritz Barsnick barsnick at gmx.net
Thu Dec 12 12:38:54 EET 2019

On Wed, Dec 11, 2019 at 16:46:13 +0100, Csaba wrote:
> #!/in/sh
> cvlc -vvv alsa://hw:1,0 --sout-keep --sout
> '#transcode{acodec=mp3,ab=128,channels=2,samplerate=9600}:standard{access=http,dst=,caching=0}'
> > vlc_tcp_stream.log 2>&1 &

Thanks for these. I always want to try vlc for certain stuff, but get
scared a bit. ;-)

> I also tried rtp streaming with Ffmpeg. In this case where do I put
> the "-listen 1" parameter?

As far as I understand, the rtp protocol is always a listening server,
no extra option needed.

> #!/bin/sh
> 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.

I can't help you with that. Are ports 5000 and 5001 open, and
accessable from the other machine?

Other question: Did the http "-listen" option work for you?


More information about the ffmpeg-user mailing list