[Interest] QVideoProbe Woes
Yoann.Lopes at digia.com
Mon Feb 10 23:17:46 CET 2014
You can use the QAbstractVideoSurface solution, for camera sources you'll always be able to get the pixel data. It's not currently implemented on Android though, but it will be in 5.3.0. You can expect to get data in either RGB32, NV21, or YV12 pixel formats. Make sure your custom QAbstractVideoSurface's supportedPixelFormats() function returns these formats only when the HandleType is NoHandle (you don't want to get an OpenGL texture for example, so don't return anything for that handle).
On iOS and Android there is simply no system API to get frame pixels from video players (for the reasons Thiago mentioned), so you won't be able to run your unit test there. You could however run it on Linux and on Windows.
More information about the Interest