Results 1 to 7 of 7

Thread: Weird Behaviour When Selecting MJPG and USB3 Webcam

  1. #1
    Join Date
    Jun 2015
    Posts
    5

    Question Weird Behaviour When Selecting MJPG and USB3 Webcam

    Hi,

    We are using a standard USB3 Webcam that has a few video resolutions greater than 1080p. When we view the camera selecting the YUV format, everything is fine up to the 13MPx limit of the camera. When we view the camera selecting the MJPG, we can only view up to 1080p. When we view the camera in MJPG using a resolution much greater than 1080p (such as 4k) then we get a warning as shown in the attachment below when running in Debug mode, when running in Release the software crashes. The same behaviour is experienced in the pre-compiled demo app supplied with the library.

    Also another issue we have found is that when selecting the MJPG format, the first couple of frames are completely black which we have to manually block out, YUV format does not seem to have that sort of behaviour.

    Is this something you've seen before?

    Error.png

  2. #2
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,886

    Re: Weird Behaviour When Selecting MJPG and USB3 Webcam

    I am very sorry, but we do not provide support for third party camera manufacturers.
    Best regards
    Stefan
    IC Imaging Control Support

  3. #3
    Join Date
    Jun 2015
    Posts
    5

    Re: Weird Behaviour When Selecting MJPG and USB3 Webcam

    Are you saying your C++ library does not work with MJPG webcams?

    We do have one of your USB3 cameras and it only has YUV format so obviously we don't get the same issues.

    The issue occurs on multiple Webcams with MJPG format video. I can also create a 'virtual' webcam with an MJPG stream and replicate the same issue so it is not isolated to a particular webcam, rather I believe it appears to be a problem with the library handling MJPG format videos greater than Full HD resolution.

    Is it possible to tell me what the Assert means? It's obviously an assert at line 568 of 'FrameHandlerSinkCB.cpp'. I'm guessing 'size' in the expression '((long)pBuf->getBufferSize()) >= size)' is an internal buffer which is not big enough to handle the incoming frame?

  4. #4
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,886

    Re: Weird Behaviour When Selecting MJPG and USB3 Webcam

    Please let me know, which of our USB 3 cameras you have.
    Best regards
    Stefan
    IC Imaging Control Support

  5. #5
    Join Date
    Jun 2015
    Posts
    5

    Re: Weird Behaviour When Selecting MJPG and USB3 Webcam

    We have a DFK AFU130-L53 USB3 camera thanks.

  6. #6
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,886

    Re: Weird Behaviour When Selecting MJPG and USB3 Webcam

    I think, I now see the problem. The MJPG encoder in Windows supports formats up to 1080p only. Anything above wont work. That means you need a suitable MJPG encoder.

    But since the DFK AFU130-L53 provides YUY2 video formats only, you must speak about another camera. Which camera is this? If this is not a The Imaging Source camera, please understand, we do not give any support.
    Best regards
    Stefan
    IC Imaging Control Support

  7. #7
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,886

    Re: Weird Behaviour When Selecting MJPG and USB3 Webcam

    I think, I now see the problem. The MJPG encoder in Windows supports formats up to 1080p only. Anything above wont work. That means you need a suitable MJPG encoder.

    But since the DFK AFU130-L53 provides YUY2 video formats only, you must speak about another camera. Which camera is this? If this is not a The Imaging Source camera, please understand, we do not give any support.
    Best regards
    Stefan
    IC Imaging Control Support

Similar Threads

  1. DMK51 + USB3 = No video
    By jeburnett in forum Astronomy Cameras Support Forum
    Replies: 5
    Last Post: December 22, 2016, 23:04:53
  2. USB3 Camera hangs up
    By fkro6306 in forum IC Imaging Control C++ Class Library
    Replies: 1
    Last Post: November 18, 2013, 08:32:01
  3. Selecting USB Camera at start application
    By roman in forum IC Imaging Control .NET
    Replies: 4
    Last Post: April 18, 2012, 14:06:00
  4. Weird behaviour V3.1 VB.Net9 Windows 7
    By grralph in forum IC Imaging Control .NET
    Replies: 1
    Last Post: April 9, 2010, 09:29:25
  5. Explorer crashes when selecting captured files
    By Unregistered in forum IC Imaging Control .NET
    Replies: 3
    Last Post: June 27, 2005, 08:33:04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •