Read paths correctly in video.py

isinstance(p , bytes) checks if `p` is a string, therefore the logical tests are changed to their opposite logical tests.