Name each executed VLC server

About encoding, codec settings, muxers and filter usage
remidalver
New Cone
New Cone
Posts: 9
Joined: 02 Jul 2009 09:52

Name each executed VLC server

Postby remidalver » 03 Jul 2009 13:28

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!

ruliane
Blank Cone
Blank Cone
Posts: 18
Joined: 23 Jun 2009 10:31

Re: Name each executed VLC server

Postby ruliane » 03 Jul 2009 16:08

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.

remidalver
New Cone
New Cone
Posts: 9
Joined: 02 Jul 2009 09:52

Re: Name each executed VLC server

Postby remidalver » 04 Jul 2009 10:37

Didn't thought about controling it with process-es. This is interesting. Can you explain your idea with PID more?

ruliane
Blank Cone
Blank Cone
Posts: 18
Joined: 23 Jun 2009 10:31

Re: Name each executed VLC server

Postby ruliane » 13 Jul 2009 09:44

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)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 3 guests