Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Multimedia
  4. Any workaround to get similar behavior like linking two QVideoSinks from QMediaCaptureSession?

Any workaround to get similar behavior like linking two QVideoSinks from QMediaCaptureSession?

Scheduled Pinned Locked Moved Unsolved Qt Multimedia
2 Posts 2 Posters 155 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.
  • V Offline
    V Offline
    vgvg
    wrote on last edited by
    #1

    Hi everyone. I need to write an Android application that takes a video stream from the camera, and at the same time needs to feed VideoOutput to display the stream on the screen, and I need to intercept frames at the stage between QCamera -> QMediaCaptureSession -> QVideoSink without quality loss and send them over the network.

    Here's what we have in QtMultimedia (6.10):

    QMediaCaptureSession has two methods: setVideoOutput and setVideoSink. But they don't work together. Essentially, I can only attach one receiver to QMediaCaptureSession.

    Are there any solutions? I'm ready to write code in C++, could you please point me in the right direction to solve my problem? Thanks.

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

      Hi,

      How will you be sending them over the network ?

      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