python ctypes  libffmpeg read seek