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

Help with mplayer #88

Open
H4CKL0RD opened this issue Oct 21, 2020 · 10 comments
Open

Help with mplayer #88

H4CKL0RD opened this issue Oct 21, 2020 · 10 comments

Comments

@H4CKL0RD
Copy link

What is mplayer and how do I install it?

@H4CKL0RD
Copy link
Author

Also because I am getting an error that says no file or directory found "mplayer"

@Walt-H
Copy link

Walt-H commented Oct 21, 2020

See my comment here: changing the directory for pictures and video

The above addresses both issues.

I am currently working on a fork to make this platform independent and incorporate mplayer :)

@H4CKL0RD
Copy link
Author

Ok thanks!

@H4CKL0RD H4CKL0RD reopened this Oct 21, 2020
@H4CKL0RD
Copy link
Author

The program you listed was for windows only, I am using a mac. Do you know any alternatives for mac?

@H4CKL0RD
Copy link
Author

Oh nevermind to use on mac you had to install it with homebrew
brew install mplayer

@Walt-H
Copy link

Walt-H commented Oct 21, 2020

I'll be sure to throw that in there ;)

@Walt-H
Copy link

Walt-H commented Oct 21, 2020

Did the brew install resolve your issues?

@H4CKL0RD
Copy link
Author

Not fully, I still have a black screen but I can control the drone fine. So I am not getting a video feed properly.

@suakii
Copy link

suakii commented Oct 23, 2020

I have the same issue on mac.
After start program I have two windows.

@Walt-H
Copy link

Walt-H commented Oct 23, 2020

It could be something going on at these two places:

  • In keyboard_and_video.py, filename at Line 57 uses an env variable that Python may not have initialized. I recommend making this path static as a quick fix
    • I would recommend doing this for jpegs at line 209
  • Maybe uncomment line 62 and 63 (may not be necessary)

#90 was made to help resolve these issues :)

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

3 participants