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

Is live data acquisition available in the library? #170

Open
uguraltinsoy opened this issue Feb 18, 2024 · 1 comment
Open

Is live data acquisition available in the library? #170

uguraltinsoy opened this issue Feb 18, 2024 · 1 comment
Labels

Comments

@uguraltinsoy
Copy link

I want to watch the data I read live over USB with ffmpeg or flask with udp or http from my phone, is this possible?
So is "gphoto2 --stdout --capture-movie" included in this library?

@jim-easterbrook
Copy link
Owner

python-gphoto2 provides an interface to the libgphoto2 library that is used by the gphoto2 command line program. There are a couple of example programs that do live preview, but they are very camera dependent. If you look at the source code of the gphoto2 command line program you can see which library functions it uses to do live capture and then call the same functions from your Python program.

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

No branches or pull requests

2 participants