Beyond the problem with "drivers" and InitVideo, there are various unsatisfactory features of your coding.
However, if you get rid of all the shortstrings (replacing simply with String), you will have already started to improve things (some of your string literals are longer than the shortstrings you stuff them into).
Did you know your code abounds in unused variables, unused parameters and code that is never used or called?