Hi, everyone,i have a problem to get video(use grab() function) frame with OpenCV

Viewed 24

I try to accquire the video frame of camera wih QT timer.  But Grab() can not work any more after one while. I can not figure out what is wrong .

My program timer setting is 200msec based on 5 frame/s. the source code

when grab() is stoped, there is have some information:

[h264 @ 0000024d2258d580] left block unavailable for requested intra mode
[h264 @ 0000024d2258d580] error while decoding MB 0 23, bytestream 202
[h264 @ 0000024d22579a80] top block unavailable for requested intra mode
[h264 @ 0000024d22579a80] error while decoding MB 77 0, bytestream 1634
[h264 @ 0000024d250ba840] error while decoding MB 52 22, bytestream -13

please give me some advise,thanks.

0 Answers
Related