Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97105

Allow setting custom data on QVideoFrame (From QImage, QByteArray, and multiplanar data)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.8.0 FF
    • 6.5, 6.6, 6.7, 6.8
    • Multimedia

      What is the benefit? Why is this valuable?
      This is related to the programmatic I\/O for media capturing.

      What are common use cases?

      • a user creates custom frames and records them to a video
      • a user creates custom frames and sends them to video output.

      Technical information
      Add a constructor to QVideoFrame to set user-specific data.

      API/Implementation details:
      In the first stage, we're likely to agree on methods QVideoFrame::fromData and QVideoFrame::fromImage.
      API review: https://codereview.qt-project.org/c/qt/qtmultimedia/+/536156

      TODO:

      • Implement both (it's supposed to be simple, just use QImageVideoBuffer, and QMemoryVideoBuffer).
      • Add unit tests for both to tst_QVideoFrame.
      • Cleanup the documentation of the functions.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            artemiy Artem Dyomin
            laknoll Lars Knoll
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change