Solved a problem with VideoWriter in the new wrapper