Hello,
I have a mic connected to my pi
and up until now - when I wanted to hear from the mic I have run this command
2 problems:
1. I had to connect to the pi (ssh) each time and run the command
2. when I shutdown the VLC , the ffmpeg went down and this is the error message I got:
Thanks,
I have a mic connected to my pi
and up until now - when I wanted to hear from the mic I have run this command
ffmpeg -ar 44100 -ac 1 -f alsa -i plughw:1,0 -f wav -listen 1 tcp://0.0.0.0:5002then I have enter this url in vlc
tcp://10.0.0.1:5002and I manage to hear
2 problems:
1. I had to connect to the pi (ssh) each time and run the command
2. when I shutdown the VLC , the ffmpeg went down and this is the error message I got:
av_interleaved_write_frame(): Broken pipe 682.1kbits/s speed=1.03x Error writing trailer of tcp://0.0.0.0:5002: Broken pipe size= 66181kB time=00:13:14.77 bitrate= 682.1kbits/s speed=1.03x video:0kB audio:66181kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Conversion failed!is there something I can do in order to make the ffmpeg stay online and "wait" for clients?
Thanks,