-
Notifications
You must be signed in to change notification settings - Fork 502
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
Video capture fails, though ffmpeg does capture video. #164
Comments
Over 2 years later, have you found a solution? |
No. I have kind of given up on the lab. I have some other tools I now use to achieve the same pedagogical goal. I don't think the original development package is being supported anymore. Other issues I've had which are not the manufacturers fault given the price point of the drones: There is no servo control of motion so the drones can't help but drift about even in a closed environment (like a gym or large classroom). This defeats the whole idea of having the drones move in a controlled repeatable way. |
Sorry for the late response. In my experience the image based flight stabilization of the drones works very well (at least compared to other/cheaper drones ive tried). Regarding your original problem: |
I am a physics teacher whose school has a set of these drones and I am trying to develop some labs with my students using the drones. I have been playing with this library for a short while and the basic commands seem to work well (better than my initial attempts at device control) but I have been having trouble with the video capture.
Using the following simple code
yields a long stream of errors and warning with no video (regardless if it is presented on screen or saved to a file)
If i capture the video using
ffplay -v 0 -f h264 udp://0.0.0.0:11111
, however, the video (though delayed and somewhat noisy) seems to work fine.If I print the image stream I get arrays as values represented as strings. I would have thought it would be binary values.
Is there something I am missing here?
The text was updated successfully, but these errors were encountered: