Details
-
Sub-task
-
Resolution: Done
-
Not Evaluated
-
None
Description
QMediaPlayer and QML Video element should provide method to get current video frame. Use case is that user pauses video to specific position and can take current/latest video frame as image for further processing.
My proposal for API is simple
QImage QMediaPlayer::getFrame()
or asynchronous getFrame() with signal frameReady.
Get latest current frame from video player. Returns null QImage if error occurred. Frame size is video frame's original size. Implementation must not give frames out from DRM protected video.
Symbian MMF CVideoPlayerUtility provides method GetFrameL() method and MvpuoFrameReady(CFbsBitmap& aFrame,TInt aError) callback
that can be used by Symbian MMF backend to implementing this.