Jump to content

Okay, so I am having some big issues with VLC right now. I am using iSpy for a Daycare surveillance server, and I am streaming 36 cameras to a single server. It has a Core i7 6800k 6-core processor and 16GB of memory, an x99 motherboard, and a quadro fx1800. With the cameras I am using, I have to import them into iSpy as a VLC stream. After I reach about 6 streams, the image goes crazy on some of them. (pic below/attached) It's running Windows Server 2012 R2. There's no lag on the streams, but it's just that the image is super distorted. When I open VLC and open a single stream (with iSpy running all the other cams too), it does the same thing; but if I only have VLC open and one stream going, it doesn't do it. 

 

What could be a possible fix for this? I need this to work like ASAP... it MUST be fixed before the next business day on Monday. The cameras are HOSAFE 2MD4P dome cameras. The others are Reo-link RLC 410's. They work great when you're streaming individually but I think it's just a VLC problem. The included CMS application for the indoor cameras shows all of the streams perfectly at once with minimal lag and crystal clear video. 

 

Thanks! 

problem.jpg

problem1.jpg

Cameron Lasley

Owner, Lasley Media Group

Link to comment
https://linustechtips.com/topic/697101-vlc-stream-issue/
Share on other sites

Link to post
Share on other sites

You are losing frames from the video streams, this is what happens when one (or several) frames are lost in mpeg streams - because only about one frame per second, or even less, is actually a full frame. The rest all carry only the changes in detail or color, using quite complicated math.

 

Considering you have this issue with high numbers of VLC streams, you are clearly hitting a resource limit that is not hit when you use the single program for all the streams. For resolving this, I recommend checking with Resource Monitor to see if you are hitting a CPU or Disk limit. You can also see what the network usage is like. 

 

EDIT: BTW, when you have a business critical issue that must be resolved ASAP, it is generally better to hire a consultant, preferably one with experience or certification with the system you are having issue with.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
https://linustechtips.com/topic/697101-vlc-stream-issue/#findComment-8923609
Share on other sites

Link to post
Share on other sites

I can add about 10 streams then it does that, CPU usage is less than 20%. Memory usage is about 2 GB, everything is writing to an SSD cache. Network usage stays below 85mbits/s on a 10/100 connection on the switch. The 2 gigabit ports don't like to communicate with the rest of the switch for some reason. 

Cameron Lasley

Owner, Lasley Media Group

Link to comment
https://linustechtips.com/topic/697101-vlc-stream-issue/#findComment-8923655
Share on other sites

Link to post
Share on other sites

85Mb/s is actually the point where you start to see significant packet loss on a 100Mb port - because the queue for outgoing data on the port overflows for a few ms then for the next is underfilled. Get those gigabit port working and it should be resolved.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
https://linustechtips.com/topic/697101-vlc-stream-issue/#findComment-8923691
Share on other sites

Link to post
Share on other sites

1 minute ago, brwainer said:

85Mb/s is actually the point where you start to see significant packet loss on a 100Mb port - because the queue for outgoing data on the port overflows for a few ms then for the next is underfilled. Get those gigabit port working and it should be resolved.

Could it be something to do with Windows Server? I can't use the CMS app on WS2012 but I can use it on my Windows 10 laptop. It won't find any cameras on the server but all of them show up on my laptop.

Cameron Lasley

Owner, Lasley Media Group

Link to comment
https://linustechtips.com/topic/697101-vlc-stream-issue/#findComment-8923703
Share on other sites

Link to post
Share on other sites

2 minutes ago, LasleyMediaKentucky said:

Could it be something to do with Windows Server? I can't use the CMS app on WS2012 but I can use it on my Windows 10 laptop. It won't find any cameras on the server but all of them show up on my laptop.

For that particular issue, I would assume the issue is firewall based. While the actual configuration and operation of the Windows Firewall is the same, the Server SKUs are more closed out of the box. Just try the program with the firewall disabled to see if that is the difference.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
https://linustechtips.com/topic/697101-vlc-stream-issue/#findComment-8923717
Share on other sites

Link to post
Share on other sites

Could be a graphics card driver issue. Nvidia's drivers and video playing had some screentearing problems in the latest versions: 

https://www.reddit.com/r/nvidia/comments/4mz0os/psa_has_anyone_else_noticed_youtube_screentearing/

 

I had it aswell, updated drivers and it fixed it.

Link to comment
https://linustechtips.com/topic/697101-vlc-stream-issue/#findComment-8927738
Share on other sites

Link to post
Share on other sites

1 hour ago, Belgiangurista said:

Could be a graphics card driver issue. Nvidia's drivers and video playing had some screentearing problems in the latest versions: 

https://www.reddit.com/r/nvidia/comments/4mz0os/psa_has_anyone_else_noticed_youtube_screentearing/

 

I had it aswell, updated drivers and it fixed it.

This is an issue with encoding, not gpu. It's usig cpu for all functions but displaying video locally on the server's display.

My native language is C++

Link to comment
https://linustechtips.com/topic/697101-vlc-stream-issue/#findComment-8928097
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×