Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.4.0, 5.4.1
-
None
-
Ubuntu x64 14.10, Blackberry Z30
Description
After applying patches from QTBUG-43752 and QTBUG-44997 and QTBUG-44999, it became possible to record the video.
However it is not possible to play this video using MediaPlayer because of several problems:
- for some reason you must specify video file path as url (file://path/to/local/file), otherwise it will be automatically treated as qrc://path/to/local/file on some stage and it will be not played at all
- this commit: https://qt.gitorious.org/qt/qtmultimedia/commit/006cdeee92b0ecc292cfba7871fd1dafaff4c05d introduced a bug - video playback is stopped just after starting in MmRendererMediaPlayerControl::handleMmStopped, because m_stopEventsToIgnore = 0. I had to revert this change. I'm not using autoPlay, so some general solution must be developed which will work with and without autoPlay
- OpenGL rendering doesn't work in MmRendererPlayerVideoRendererControl::frameGrabbed. I am either getting black frames or distorted frames. I suppose there might be some synchronization issues there. I had to disable OpenGL rendering and use QImage rendering.