How to avoid network stream to shutdown if the conection fails

About encoding, codec settings, muxers and filter usage
danilote1234
New Cone
New Cone
Posts: 2
Joined: 08 Apr 2020 17:44

How to avoid network stream to shutdown if the conection fails

Postby danilote1234 » 08 Apr 2020 17:56

Hi guys,

I have an iP camera that I used to see using a program called AnyCam, but I'm looking for something that consume less resources, since this app was almost using a 25% of my cpu. So I found I can stream my camera to VLC on my windows machine using the RTSP protocol. The thing is that my camera doesn't provide an stable framerate, I guess the wifi connection is the issue. However, the AnyCam application worked fine, it just cut off for a few seconds and then it re-start the streaming with no issues. That was automatically, so in the end I didn't care that I skipped a couple of seconds, as soon as the app reconnect the stream it is fine for me. In VLC, when I have this issue the stream stops and I need to manually start it again, which is really annoying since it happens very often. I tried playing with caching and if I put it on a big number, then VLC don't reproduce anything at all, then if I change it to 0, the stream is not shut down, but it is freeze for 5 minutes or more each time it cuts, instead of the few seconds I got with AnyCam.

Is there any way to avoid the stream to be shutdown, and at the same time, have a most stable stream? VLC is only taking 1-2% of my CPU, so I would like this to work properly. I know it should be better if I cable the camera to the router, but it is placed on a very difficult spot to be reach. Wifi should be fine, since even the camera is outside and the wifi repeater is inside the house, the distance between them it is just around 4 meters.

Thanks in advance.

danilote1234
New Cone
New Cone
Posts: 2
Joined: 08 Apr 2020 17:44

Re: How to avoid network stream to shutdown if the conection fails

Postby danilote1234 » 11 Apr 2020 22:59

no one?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 51 guests