Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
6.8
-
-
6cc59580b (dev), c6a6aea39 (dev), 6ca1ebae7 (6.7), b2af18ecf (6.7), 26b9e9ff6 (6.6), b15096830 (6.6), d19cae52f (tqtc/lts-6.5), 77e487e62 (tqtc/lts-6.5), 12211d0cd (dev), 140d47e91 (6.7), 6c46d2f5f (6.6), a603e3eba (tqtc/lts-6.5), 45d7e7f1b (dev)
Description
The API QMediaRecorder::setOutputDevice has been added, the task is to implement it for the ffmpeg backend.
Possible steps:
1. Move ffmpeg IO helpers from to qffmpegavioutils_p.h to the new file qffmpegmediadataholder
2. Implement writing writeQIODevice in the added files.
3. Propage QIODevice* from the interface to the encoding engine through virtual QPlatformMediaRecorder::setOutputDevice.
4. In the constructor of encoder (or RecordingEngine after refactorings), if IODevice is set, initialize context->pb with avio_alloc_context instead of opening url.