-
Notifications
You must be signed in to change notification settings - Fork 10
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
Canon 6D #4
Comments
I ran gphoto2 --list-all-config since I saw it in the other thread. |
Thank you for the informations. |
Have you tried to use the liveview ? |
When I first tried a few days ago, the screen went completely black just by starting the camera-toolbox and nothing worked. When I tried again today, the UI opened and the liveview directly on the HDMI-Output of the raspberry pi was working. I got around 22 fps. :) The MJPEG-Stream isn't working though. It only gives me a lot of crazy symbols if try to view it in my webbrowser (see screenshot). But those symbols are changing fast, so at least there seems to be a stream. :D Some functions like changing aperture and shutter speed worked!
|
Ok good news that it's finally working a little ;) It seems that the browser does not recognize the image format. It's strange because you see the images on the HDMI. Can you run the command :
And post here the file This url send 1 preview and return. |
I just tried a different webbrowser and the liveview was working! |
Ok I think that the image resolution is high and your browser is not as fast as it should or the bandwidth is not enough. |
Ok I just saw your last message, good news ! Try with chrome also, it would works well. By the way, can you tell me what's your purpose for using camera-toolbox ? And what features you would need in priority ? Thanks. |
I'm working on building a photo booth. When the booth's users want's to capture a photo or video I want to show the liveview on the touchscreen, so the users can see themselves while posing. As I would like the liveview to be inside the apps gui, I thought the mjpeg-stream would be good way to integrate this. I haven't tested this yet and maybe this isn't a good idea performance-wise. Maybe you know a smarter way to tackle this? So my needed features would be:
It would be nice to have the ability to flip the livestream horizontally, so it feels like a mirror when you are in front of the camera and see the livestream. Otherwise it's a bit confusing to pose. :)
I think most of this is already on your current feature list. :) Yeah, that's my primary goal right now, but I can see a lot of other possible use cases. Maybe using the camera + pi for doing timelapse or using the liveview over wifi to monitor the image. This would be a cheap alternative to using wireless HDMI/SDI transmitters when capturing videos. Or using it together with a motion control rig to trigger the camera. I'm really, really thankful for your great work! If there is a way where I can donate something let me know. |
Hi @claussteinmassl , Thank for your answer and sorry for my late answer ;) Your idea is nice and to be honest I already have had this kind of project in mind (the photobooth). I think that my mistake is to use a TCP protocol. I should use UDP to prevent the lag to appear. So the frames would be displayed if ready or no. Using mjpeg livestream through http/tcp force the network to use a buffer and this way lag appear. Sometimes you can also loose the connection (in case of buffer overflow). About your project to control the camera from python, I think that the best solution would be to have python bindings for camera-toolbox. I think that it is possible but I've never done that. Doing this, you could use my camera classes directly and getting preview images directly in binary/jpeg bytearray. Thank you for your invitation to drink beer, you are right I love it ;) About donation, I will wait and see if other people would be interested to do this. For the moment, it's a hobby project but I want to make it go further and I need people like you who believe in this project and use it 👍 |
Hey Romain, sorry for my super late answer! Daily business stopped me from doing anything on my project. :( I also have the lag while showing the stream directly via HDMI. The network stream and the HDMI output are nearly synced. So I assume the lag is somewhere before the whole network thing. Using python bindings sounds like a very good idea! I didn't think about this yet. Unfortunately, I don't know any C, so I've got no idea where to start on this right now.... :D Let me know once you've setup something for donation! :) |
No problem ! I'm discussing on another ticket about the framerate and the possibility to reduce the preview image size to improve it. It might also reduce the lag maybe, if we succeed in. Here the ticket : #5 (comment) |
Hey!
I didn't want to hijack the other issue about Canon camera even though the problem might be similar.
When I run
QT_QPA_EGLFS_FORCE888=1 ./camera-toolbox
I get these errors:This goes on and on with a similar warning with a different number for the property.
The text was updated successfully, but these errors were encountered: