trying to get captured image address.
All tries give no result
even with CVMAT I get corrupt image but at least get.
Is there a normal way to get normal image?
Code: Select all
If cvGrabFrame_FFMPEG(*ffcapture)
If cvRetrieveFrame_FFMPEG(*ffcapture, @*ffdata, @cvStep, @width, @height, @cn)
*ffframe = cvMat(height, width, CV_MAKETYPE(#CV_8U, cn), *ffdata)
cvShowImage(#CV_WINDOW_NAME, *ffframe)
EndIf
EndIf