-
Notifications
You must be signed in to change notification settings - Fork 5
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
curses v4l2 python - still multiple issues during setup Ubuntu 20.04 #11
Comments
Thank you for creating this very detailed issue! We'll see which of your changes can be incorporated to the codebase and if there's something we can do about the other things you report. |
Apparently some cameras return utf-8 strings. This should be backwards compatible with ascii so no need to try both. Ref: #11
See #12 and #13 - these are some fixes similar to what you propose. One fixes the decoding issue - apparently your camera reports something in a non-ascii encoding - using utf-8 seems like a valid choice. The other one makes the color setup optional. One remark regarding the way you run it: if your terminal does not support some colors/characters out of the box it's possible that you don't have proper TERMCAPs installed. This is often the case when you ssh into a remote machine and the terminal you're using locally is not installed on the remote machine (i.e. the termcaps for it are not there). One simple workaround that usually works is runnig it like
Could you please point out directly what is missing? That's true that we might not yet support all v4l2 control types (each requires explicit support), but it's hard to say what's exactly missing from your screenshots as some of the properties are probably below (maybe adding some kind of a scrollbar/indicator might make sense) |
|
such an amasing idea and such silly bugs.
I advice temporary solution for people, who cares, until you make it work out of the box.
Have 2 instances Focal Fossa with stock environment
Bug - unable to install and use this tool. Multile issues on stock box, dump traces, cannot run tool due to odd requirenments for terminal protocol. And not fully control list (see bottom screens and compare to v4l2-ctrl output)
Steps to reproduce: follow recommended install procedure
get pip install git+https://github.com/antmicro/pyvidctrl
get git clone and install https://github.com/antmicro/python3-v4l2.git
Expecred behavior: product installed and works on lastest updated environment
Actial behaviour: unintended fatal errors and python script exceptions, possible not full support of V4L2 controls format and ranges, ( See dumps )
Proposed workaround:
1 Apply proposed workaround during install
2. Get use LINUX term supported SSH client, set some of these settings
As far I insestigated bug -
Proposed workaround (not final solution)
dumps and system info reports
The text was updated successfully, but these errors were encountered: