Page 1 of 1

Name each executed VLC server

Posted: 03 Jul 2009 13:28
by remidalver
I'm going to make streaming of 40 ip cameras. So it means that 40 VLC will be executed.
The main problems for me now are is that something happened with vlc of camera #15 ( it crashed for example) to find out which one crashed i will have to search restart each stream.
the best would be if on taskbar i could name each stream with name i need - so the question is, is this real to do?

another question of course just to write it here and not to open new thread - in case of loosing the signal the streaming stops, how can i do autoresume of streaming?
thanks!

Re: Name each executed VLC server

Posted: 03 Jul 2009 16:08
by ruliane
I think you can get the PID of each VLC and associate it with your camera. When cam #15 fails : cam #15 => Process 1274 (for example) => restart it.

Re: Name each executed VLC server

Posted: 04 Jul 2009 10:37
by remidalver
Didn't thought about controling it with process-es. This is interesting. Can you explain your idea with PID more?

Re: Name each executed VLC server

Posted: 13 Jul 2009 09:44
by ruliane
Can you explain your idea with PID more?
Not really :D I don't know if it is possible ; Imagine a program which "forks" the 40 VLC processes. It gets the PIDs of new processes and associates each of them with a source (e.g. a camera)