Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5 Qcamera CaptureVideo
Qt 6.11 is out! See what's new in the release blog

Qt 5 Qcamera CaptureVideo

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 715 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello! I use a qt 5 and class qcamera to capture video from your screen and its subsequent record. OC Windows 7

    1. receiving device camera:

    QByteArray cameraDevice;
    foreach(const QByteArray &deviceName, QCamera::availableDevices()) {
    QString description = camera->deviceDescription(deviceName);
    if (cameraDevice.isEmpty()) {
    cameraDevice = deviceName;
    }
    (after the first step, I get a : device == uscreencapture)

    1. after I check:
      camera = new QCamera(cameraDevice);
      bool check = true;
      check = camera->isCaptureModeSupported(QCamera::CaptureVideo);
      and check == false

    Tell me how do I correct this situation?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved