changed order of VideoCapture calls to minimize warnings/errors regarding conversion-codecs