Video Codec of the vim3 could not work!!!

Hi,
1 Is there any link about how to dealing with Opencv videoio capture function. I mean we should run the opencv video or camera caputure func which ffmpeg lib needed? Yet compiling the opencv with ffmpeg on the vim3 is hard , any useful info could be shared ?
2 I should make “cv::VideoCapture capture(”/home/khadas/src-img.mp4");" run correctly which should deal with mp4 and any other video codec etc?
3 If there any hardware codec support of vim3? any useful advice for fast codec on vim3?

BR

Hardware codec with opencv is not supported.
If you want to use hardware decoder you can check here:

Any reference about opengl render programming? I mean render buffer etc.

hello,
any one could help? tks

BR