Why am I recieving corrupt images?
-
Hi I have a server app which handles multiple Ethernet camera. The server sends a video streams to a client application which is then displayed on screen. The problem is that I am recieving corrupt frames quite regularly at the client end. An example of a frame is below, [][Corrupt frame] I am using TCP to send the images. Anyone got any ideas of what could be causing this? Thanx
-
Hi I have a server app which handles multiple Ethernet camera. The server sends a video streams to a client application which is then displayed on screen. The problem is that I am recieving corrupt frames quite regularly at the client end. An example of a frame is below, [][Corrupt frame] I am using TCP to send the images. Anyone got any ideas of what could be causing this? Thanx
The image shown seems to contain the superposition of three images. Maybe those three subimages are real, and the purpose of the system is to offer such superposition. If not, then something is wrong. Nobody can tell what is wrong when: - we don't know what you want the system to do (if there are three camera's, where should the three images go?) - we don't know anything about how your system has been implemented. Maybe the right answer is: you have a bad pointer in line 42. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
modified on Monday, May 24, 2010 4:07 PM
-
The image shown seems to contain the superposition of three images. Maybe those three subimages are real, and the purpose of the system is to offer such superposition. If not, then something is wrong. Nobody can tell what is wrong when: - we don't know what you want the system to do (if there are three camera's, where should the three images go?) - we don't know anything about how your system has been implemented. Maybe the right answer is: you have a bad pointer in line 42. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
modified on Monday, May 24, 2010 4:07 PM
Luc Pattyn wrote:
bad pointer in line 42
OMG Luc you kill me.
Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns
-
The image shown seems to contain the superposition of three images. Maybe those three subimages are real, and the purpose of the system is to offer such superposition. If not, then something is wrong. Nobody can tell what is wrong when: - we don't know what you want the system to do (if there are three camera's, where should the three images go?) - we don't know anything about how your system has been implemented. Maybe the right answer is: you have a bad pointer in line 42. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
modified on Monday, May 24, 2010 4:07 PM
:laugh:
Dave
If this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier. (Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) -
The image shown seems to contain the superposition of three images. Maybe those three subimages are real, and the purpose of the system is to offer such superposition. If not, then something is wrong. Nobody can tell what is wrong when: - we don't know what you want the system to do (if there are three camera's, where should the three images go?) - we don't know anything about how your system has been implemented. Maybe the right answer is: you have a bad pointer in line 42. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
modified on Monday, May 24, 2010 4:07 PM
Sorry for the lack of info. Ill try to explain what I am doing. I have a server application that is connected to mutltiple ethernet cameras. The server application is responsible for recording video and redirecting the camera streams. The client application is used to view the live camera streams and recorded video. When sending the live stream from the server to the client applications I get the wierd behavour shown in the image. The image shows frames from 2 cameras. I was thinking that it was caused by a race condition somewhere at first. But after testing the applications over a busier network the corruption of the frames seems to increase. So maybe it has somthing to do with TCP.