How intercept comming frames from camera
General and Desktop
6
Posts
3
Posters
2.0k
Views
1
Watching
-
Hi
I capture video from webcam and record it using QMediaRecorder.
Which way existed that I can do 2 below actions ?- catch every frame comming from camera
- manipulate that frame
One of usecases is that I wnat to do is, magnifying the video before saving on disk (and also show it when saving)
I use QVideoProbe but I'm not lucky.
In blow code, "ctrl" is null, so there is no signal from video probe.
@ bool res = videoProbe->setSource(mediRecorder);
QMediaObject *obj = mediaRecorder->mediaObject();
QMediaService *srv = obj->service();
QMediaControl ctrl = srv->requestControl<QMediaVideoProbeControl>();@Best
Ebrahim -
It's solved, refer to "The QCamera doesn’t works with QVideoProbe under Win32.
":http://qt-project.org/forums/viewthread/38472/#162925