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

package needed #1

Open
pascalisfort opened this issue Aug 18, 2023 · 1 comment
Open

package needed #1

pascalisfort opened this issue Aug 18, 2023 · 1 comment

Comments

@pascalisfort
Copy link

Hi, I really insterested to try your code to comunicate with our insta360 camera. But when I try to use insta360-remote or the exemple code, I receive the message (ModuleNotFoundError: No module named 'capture_state_pb2'), I search for a package including this module, but I dont find it, can you indicate to me which pacakage I need to install to run your code

Thank you
Pascal

@RigacciOrg
Copy link
Owner

The missing package is the result of the compilation of the Protobuf files into an importable Python code. The Protobuf files are not distributed by Insta, but you can extract them from e.g. the Android Insta360 package.
You can find a recipe describing the required steps (extract the files from the Android library and convert them into Python code) and the links to the required tools here: https://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/insta360_one_rs_wifi_reverse_engineering#getting_the_proto_files_from_the_android_apk

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

2 participants