Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
create a "sound" server
#1
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
ffmpeg -ar 44100 -ac 1 -f alsa -i plughw:1,0 -f wav -listen 1 tcp://0.0.0.0:5002
then I have enter this url in vlc
tcp://10.0.0.1:5002
and 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,
Reply


Messages In This Thread
create a "sound" server - by korenron - Sep-20-2022, 02:06 PM
RE: create a "sound" server - by Gribouillis - Sep-20-2022, 03:12 PM
RE: create a "sound" server - by korenron - Sep-22-2022, 06:40 AM
RE: create a "sound" server - by Gribouillis - Sep-22-2022, 07:10 AM
RE: create a "sound" server - by korenron - Sep-28-2022, 11:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to take the tar backup files form remote server to local server sivareddy 0 1,955 Jul-14-2021, 01:32 PM
Last Post: sivareddy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020