Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Why am I recieving corrupt images?

Why am I recieving corrupt images?

Scheduled Pinned Locked Moved C#
sysadminhelptutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TimSWatson
    wrote on last edited by
    #1

    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

    L 1 Reply Last reply
    0
    • T TimSWatson

      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

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      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

      L D T 3 Replies Last reply
      0
      • L 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

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • L 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

          D Offline
          D Offline
          DaveyM69
          wrote on last edited by
          #4

          :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)

          1 Reply Last reply
          0
          • L 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

            T Offline
            T Offline
            TimSWatson
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups