Thank you for the quick reply. That is exactly what I was looking for.
Yet, I face a problem when xinetd triggers the ffmpeg encoder that tries to read traffic from the given UDP port (UDP/3000 in my case), ffmpeg cannot start and gives the following error:
[udp @ 0x1de60a0] bind failed: Address already in use
udp://localhost:3000: Input/output error
and indeed, when xinetd is running, the port 3000 appears in netstat:
# netstat -tuan | grep 3000
udp 0 0 0.0.0.0:3000 0.0.0.0:*
If I stop xinetd and launch my ffmpeg script manually, it works fine. Is that the normal behaviour of xinetd?
|