-
-
Notifications
You must be signed in to change notification settings - Fork 38
Preview from gphoto #83
Comments
Wow how did you get to see that code? Did you check the forks of the project? I've litterally spent hours pulling my hairs on that feature on a fork of this repo :D Didn't manage to make it work in my case because, I believe, some libraries were missing on my raspberry. What did you add to make it work? |
My code was mostly experimental stuff to get something to work, quite not huh... best practices friendly :o |
@Acemond yeah, from time to time I am looking around on new forks. ;) Looked like something to work with, can't test myself currently so I don't know if it works now. |
Well it suffered two main issues, first it would only display the first image from the preview video (but that might be the library issue from my side), but more importantly there was an issue between the preview and the photo where if the length on the video overlapped the moment where it would ask for the photo it crashed because it cannot gain access to USB still in use. The problem is that actual length of the video in seconds depended on the raspberry performances. |
Thanks for the information! There's some parts which could be handled different, not sure if this could help with the performance. Another way
Comment2
Comment 3
|
Hi ;) So- you photobooth is great. There's just a few problems i have: In admin panel 'use remote preview' is set, 'preview by device cam' can't be activated (as mentioned above). I switch it on- after the next actualisation it is off again. What am i doing wrong ? |
Preview by device cam only used the device cam, e.g. tablet camera, smartphone camera or raspi cam. This is only WIP and needs to be adjusted in future, it's not even tested by myself as I don't have a camera with that feature atm. It's atm up to the community to improve it further. |
Hey andi34, first of all thank you for constantly working on the possibility to make the preview happen! Would be happy to hear from you |
Yeah, it's WIP and not my implementation. Found it on GitHub (@Acemond) and made it in a nice shape to work on it further. You should access Photobooth from your Pi and open via "localhost". Not tested, but maybe you can replace the Command to trigger the remote preview: and Remote-Preview-URL: |
Hi, i try the Preview "from gohoto2" from the FAQ but there no preview at countdown and just after the first picture was taking, my canon 5d mark ii doesn't repond anymore (there is signal BUSY lightning on the Canon, it seem overloaded). On the debug panel, camera log i have : |
If Gphoto preview is disabled the camera works fine? Else maybe look at: About the Gphoto preview: If it's not an issue of your browser make sure to exactly follow all steps mentioned in the FAQ (also read the notes): if you miss one step it might fail. It also might be you need a device specific change to the preview command. |
If Gphoto preview is disabled the camera works fine, yes I try the default command to generate a live preview in a termianl and something happen in the Canon and the signal busy appear (mabee it is taking video), but i don't see video on screen. And for th browser issu, i see that use lateast chromium version 92, an in the FAQ i is say support <=61. How install old version like 61 ? |
Is your feature request related to a problem? Please describe.
No and yes. It would be good to be able to only use the main camera also to generate a preview.
Currently we need a 2nd camera to use it or it's stream.
WIP:
https://github.com/andi34/photobooth/tree/feature/gphoto-preview2
Feel free to play around with it
Please take a look at the setup instructions mentioned here: #131
If you have installed Photobooth via git from my fork:
Open a Terminal and navigate into your installation folder, by default /var/www/html:
cd /var/www/html
Now fetch latest source and checkout:
Update submodules and build the css files:
Once that's done you're ready
exit
If you have installed Photobooth via git from a different fork:
Open a Terminal and navigate into your installation folder, by default /var/www/html:
Add my repo as remote:
git remote add andi34 https://github.com/andi34/photobooth
Now fetch latest source and checkout:
Update submodules and build the css files:
** Please leave some feedback **
The text was updated successfully, but these errors were encountered: