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. Multimedia Plugins MediaPlayer and Camera - are both needed?
Forum Updated to NodeBB v4.3 + New Features

Multimedia Plugins MediaPlayer and Camera - are both needed?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 865 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.
  • D Offline
    D Offline
    dvb0222
    wrote on last edited by
    #1

    I am developing an application using a camera with a custom API. I am working in Windows.

    I have a plugin that loads with the QPluginLoader but when I use the QCamera::availableDevices() API the plugin is not loaded. It is in the plugin path already, and I match versions correctly.

    My question is that I notice many of the plugin packages for other platforms include a Camera and a MediaPlayer plugin. This may seem like a dumb question, but is the MediaPlayer plugin required? I did not write a MediaPlayer plugin. I have no interest in playback, just a camera with a Viewfinder and still image capture.

    I'd like to see if I can get to the point where the Multimedia framework calls the create() method in my plugin.

    I noticed some documentation in qmediaserviceproviderplugin.h indicating the required controls for the Camera and for the MediaPlayer (thanks!) Is there any more extensive documentation available for developers writing multimedia plugins?

    Where in the source tree does Multimedia Plugin loading and validation take place? I can work from that in lieu of guidelines.


    David Van Beveren
    Oak Park Technology Corp.
    Malibu, California
    vbdavid@gmail.com

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should have a look at the BB10 multimedia plugin, I find it quite complete and not so hard to follow. You don't need to implement everything it does it since you have less features but it's a good starting point.

      When built, your plugin should be copied along the other multimedia plugins in your Qt installation.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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