Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
6.5, 6.6, 6.7, 6.8
-
-
Multimedia Wk 13-14, Multimedia wk 15-16, Multimedia wk 17-18, Multimedia wk 19-20, Multimedia wk 21-22
Description
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.
Attachments
Issue Links
- relates to
-
QTBUG-111845 Generate a video file from series of images.
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-97105 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
536156,26 | WIP: Add API of creating QVideoFrame from user data | dev | qt/qtmultimedia | Status: NEW | -2 | 0 |
537021,7 | WIP: Propose to construct QVideoFrame from a multiplanar data view | dev | qt/qtmultimedia | Status: ABANDONED | -2 | 0 |