Skip to content

Could not create IAMCameraControl #48

@hafedh-trimeche

Description

@hafedh-trimeche

Hi,
All invoked commands return invalid stream with Could not create IAMCameraControl as message

D:\DevStudio\openpnp-capture\build\win\tests\Debug>openpnp-capture-test.exe 0 18
==============================
 OpenPNP Capture Test Program
 Win 64 bit debug v0.0.22-2-g6ce14f6 May 10 2021
==============================
== PlatformContext created
== Enumerating devices
== ICreateDevEnum created
==      -> PATH \\?\USB#VID_F622&PID_1500#7&36cf0647&0&3#{ae18aa60-7f6a-11d4-97dd-00010229b959}
== enumerateFrameInfo() called
support SSE4.1
== Capture pin found!
== Stream has 21 capabilities.
== 2592 x 1944  0 fps  24 bpp FOURCC= BGR
== 2048 x 1536  0 fps  24 bpp FOURCC= BGR
== 1920 x 1440  0 fps  24 bpp FOURCC= BGR
== 1920 x 1080  0 fps  24 bpp FOURCC= BGR
== 1600 x 1200  0 fps  24 bpp FOURCC= BGR
== 1440 x 1080  0 fps  24 bpp FOURCC= BGR
== 1296 x 972  0 fps  24 bpp FOURCC= BGR
== 1296 x 972  0 fps  24 bpp FOURCC= BGR
== 1296 x 972  0 fps  24 bpp FOURCC= BGR
== 1296 x 972  0 fps  24 bpp FOURCC= BGR
== 1296 x 972  0 fps  24 bpp FOURCC= BGR
== 1280 x 960  0 fps  24 bpp FOURCC= BGR
== 1280 x 960  0 fps  24 bpp FOURCC= BGR
== 1024 x 768  0 fps  24 bpp FOURCC= BGR
== 1024 x 768  0 fps  24 bpp FOURCC= BGR
== 1024 x 768  0 fps  24 bpp FOURCC= BGR
== 800 x 600  0 fps  24 bpp FOURCC= BGR
== 800 x 600  0 fps  24 bpp FOURCC= BGR
== 640 x 480  0 fps  24 bpp FOURCC= BGR
== 648 x 486  0 fps  24 bpp FOURCC= BGR
== 648 x 486  0 fps  24 bpp FOURCC= BGR
== ID 0 ->  Camera MV-U500#96B5CF08-3
Number of devices: 1
ID 0 ->  Camera MV-U500#96B5CF08-3
Unique:   Camera MV-U500#96B5CF08-3 \\?\USB#VID_F622&PID_1500#7&36cf0647&0&3#{ae18aa60-7f6a-11d4-97dd-00010229b959}
  Number of formats: 21
  Format ID 0: 2592 x 1944 pixels  FOURCC= BGR
  Format ID 1: 2048 x 1536 pixels  FOURCC= BGR
  Format ID 2: 1920 x 1440 pixels  FOURCC= BGR
  Format ID 3: 1920 x 1080 pixels  FOURCC= BGR
  Format ID 4: 1600 x 1200 pixels  FOURCC= BGR
  Format ID 5: 1440 x 1080 pixels  FOURCC= BGR
  Format ID 6: 1296 x 972 pixels  FOURCC= BGR
  Format ID 7: 1296 x 972 pixels  FOURCC= BGR
  Format ID 8: 1296 x 972 pixels  FOURCC= BGR
  Format ID 9: 1296 x 972 pixels  FOURCC= BGR
  Format ID 10: 1296 x 972 pixels  FOURCC= BGR
  Format ID 11: 1280 x 960 pixels  FOURCC= BGR
  Format ID 12: 1280 x 960 pixels  FOURCC= BGR
  Format ID 13: 1024 x 768 pixels  FOURCC= BGR
  Format ID 14: 1024 x 768 pixels  FOURCC= BGR
  Format ID 15: 1024 x 768 pixels  FOURCC= BGR
  Format ID 16: 800 x 600 pixels  FOURCC= BGR
  Format ID 17: 800 x 600 pixels  FOURCC= BGR
  Format ID 18: 640 x 480 pixels  FOURCC= BGR
  Format ID 19: 648 x 486 pixels  FOURCC= BGR
  Format ID 20: 648 x 486 pixels  FOURCC= BGR
== PlatformStream::open() reveals 21 stream capabilities
== Searching for correct frame buffer mode..
== Looking for 640 480   BGR..
==   2592 x 1944  BGR
==   2048 x 1536  BGR
==   1920 x 1440  BGR
==   1920 x 1080  BGR
==   1600 x 1200  BGR
==   1440 x 1080  BGR
==   1296 x 972  BGR
==   1296 x 972  BGR
==   1296 x 972  BGR
==   1296 x 972  BGR
==   1296 x 972  BGR
==   1280 x 960  BGR
==   1280 x 960  BGR
==   1024 x 768  BGR
==   1024 x 768  BGR
==   1024 x 768  BGR
==   800 x 600  BGR
==   800 x 600  BGR
==   640 x 480  BGR
== Capture format set!
== Could not create IAMCameraControl
== Could not open stream for device  Camera MV-U500#96B5CF08-3
Stream ID = -1
== isOpenStream was called with a negative stream ID
Stream is closed (?)
== Context destroyed

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions