07-15-2014 03:32 AM
Hello,
I've developed an application for a customer that streams video from a GigE camera. It worked fine on our own development PCs.
It mostly works fine on the customer's laptop too. But every now and then, something causes the video stream seems to keel over and die.
Symptoms
Workaround
Unfortunately, I can't reproduce the problem at will. The system works fine most of the time, and I haven't been able to identify what triggers the problem.
Any ideas on how I should start troubleshooting?
I wish I have better pictures, but I don't. The ones below are from an older (unrelated) test -- here, the black horizontal bands appeared when StreamBytesPerSecond was too high. Lowering StreamBytesPerSecond resolved that issue.
With my customer's laptop, however, the symptoms appear without any changes to the settings..
07-15-2014 04:24 AM - edited 07-15-2014 04:25 AM
That's Ethernet package loss.
Make sure your cabling is fine.
In MAX/ your camera configuration, turn down the desired peak bandwidth from 1k to 200, (that often solves the issue entirely). You can play with the other params, but that one is the most important. If you haven't, enable jumbo frames. Adjust packet sizes and increase resends. Make sure your network card is properly configured.
07-15-2014 05:33 AM
Thanks for replying, b.ploetzeneder.
To clarify, I got rid of the issue shown in the screenshots already -- by reducing StreamBytesPerSecond from 115M to 10M. The screenshots were just an illustration to my other problem.
Most of the time, the video stream looks perfect. However, every now and then, I get effects much worse than the screenshots -- the ROI is 99% black, with a few coloured streaks. Disconnecting and reconnecting the network cable seems to resolve the problem (temporarily).
Do you think that's a packet loss issue too? I can understand it's packet loss if I get glitches now and then or if the bands are consistent. But does that explain the radical change from a glitch-free video stream to a 99% black stream?
The system is isolated -- not connected to a network.
(Anyway, thanks for your suggestion; I'll try reducing peak bandwidth when I get access to the system again)
07-15-2014 05:36 AM
Are you using a Intel Network Card?
07-16-2014 08:49 PM
Yes, an Intel 82579LM.
I'll have access to the system later today. Will update this thread when I do.
07-18-2014 12:39 AM
07-18-2014 01:26 AM
Unfortunately, not really. Most of what I know about these parameters has accumulated from troubleshooting over the years. The only thing I could find on the fly is this one: http://www.energie-und-technik.de/fileadmin/media/whitepaper/files/Leutron_wp_network-performance.pd...