Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VLC Camera Flicker and small fixes #206

Open
ItzTheDodo opened this issue Aug 30, 2020 · 0 comments
Open

VLC Camera Flicker and small fixes #206

ItzTheDodo opened this issue Aug 30, 2020 · 0 comments

Comments

@ItzTheDodo
Copy link

I have been trying out this library for a while now and on Windows, I've noticed that in the latest python and VLC updates, a few small errors have occurred.

  1. vlc.py: line 173 - change to: dll = ctypes.CDLL(".\\" + libname) (fixes FileNotFoundError: 'libvlc.dll')
  2. DroneVisionGUI: in Player class - add: (fixes closing errors and crashes)
def closeEvent(self, event):
        event.accept()
        self.close_video()
        self.vlc_gui.close()
        self.vlc_gui.destroy()

        if (self.user_window_draw_thread is not None):
            self.user_window_draw_thread.quit()
            self.user_vision_thread.quit()
            self.user_thread.quit()

        sys.exit()
  1. DroneVisionGUI: at the end of _start_video_buffering (line 390) add: sys.exit(app.exec_()) (helps close the window cleanly)

The only thing I cannot find the solution to is a flicker on the video feed where it displays the file path and a smaller version of the frame in between frames? I don't know whether it's a problem with PyQT5 or this library? thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant