This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
forked from andreknieriem/photobooth
-
-
Notifications
You must be signed in to change notification settings - Fork 38
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1bdaf5c
to
e9032a1
Compare
Change-Id: Idd63d19ca60913bf5dc89f3d7ed17eacfa9545e8
Change-Id: Id2d48621529cea2733c64102658c1d47ef5a7cda
e9032a1
to
39d0059
Compare
Closed
Change-Id: Ie2869b7e1ad3f442ad8c4a37c11174988c31f93e
- a small delay is needed to use gphoto to take a picture Change-Id: I049e6cac42d4f30dcd9110828cce7af0bc74e7af
40fb9bf
to
ab69dd6
Compare
- needed to use raspistill and also needed for gphoto live preview Change-Id: I13927db714833c90c2a26b1a3db0dc6f1a42baf3
68c814c
to
9a08f9a
Compare
Change-Id: Ifa23bc5eb80d47361a34e04b808a9e3a50807f99
6176989
to
00a4d2c
Compare
Change-Id: I93b3d03f4203932aa98b0dae0037446dc26f6a17
Change-Id: I6a81e6950faf2367c86af2c97204247470df4b8b
42d0a42
to
d8bb286
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prerequisites checklist
What is the purpose of this pull request? (put an "x" next to an item)
What changes did you make? (Give an overview)
Changes adapted from couz74@4b5ba4c for latest Photobooth source, adjustments added to not conflict with other preview mode options.
Closes #83
sudo apt install ffmpeg v4l2loopback-dkms -y
modprobe v4l2loopback exclusive_caps=1 card_label="GPhoto2 Webcam"
sudo gpasswd -a www-data video
from gphoto
Troubleshooting
For Installation Problems on v4l2loopback-dkms Just see the issue here
Issue with Chromium (did not test firefox), if there is another webcam like
bcm2835-isp
in my side it take it by default instead of the Gphoto one... therefore I always dormmod bcm2835-isp
Chromium sometimes doesn't detect the Gphoto webcam if it wasn't loaded first with a Gphoto Webcam having the Ffmjpg feed. To do that I send the command in a shell
sudo gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0
then I start Chromium and check if a testing webcam website work ( https://www.aaronbenjamin.design/camera-app/part-2/ or https://www.onlinemictest.com/webcam-test/ for example)Conversation on andreknieriem#242:
Is there anything you'd like reviewers to focus on?