Hi joanxie,
Nice to meet you. That OpenCV was bound with Python not C++. I checked it.
Some resources said that performance of OpenCV-C++ is greater than OpenCV-Python.
The write video command in OpenCV-Python on my iMX6ULEVK take 0.1 second to finish, it's so long. And I trying to optimize my program.
Best regards,
Toan