Opencv h264 encoding