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

Issue with Tethered Capture: Photos Not Saving to Camera's SD Card #648

Open
Moseaca opened this issue Sep 6, 2024 · 4 comments
Open

Issue with Tethered Capture: Photos Not Saving to Camera's SD Card #648

Moseaca opened this issue Sep 6, 2024 · 4 comments
Assignees

Comments

@Moseaca
Copy link

Moseaca commented Sep 6, 2024

I am experiencing the following issue:

When I try to activate gphoto2 --capture-tethered, the camera does not save the images to the card, which starts blinking. The photos remain in a "saving" state but are not stored on the card, even when I remove the cable.

The capturetarget is set to 1.

What's strange is that when I started this project a few months ago (February), it worked perfectly without any problems. Now, this issue is happening. I need support, please, this is really important. I am attaching the log.

gphoto2_debug.txt

I have tried different types of cables, different Raspberry Pi models, different OS versions, various SD/CF cards, and different Canon cameras, but it still doesn't work.

The system should simply allow tethering, and when I take a picture, the photos should be saved with the filename on both the card and the Raspberry Pi.

Has anyone else encountered this issue? I also tried using only libgphoto2 with a C code, and in that case, the photos remain in the buffer, but when I remove the cable, they are then saved to the card.

Thank you in advance. I am going crazy.

its very important.
A clear and concise description of what the bug is.

Canon 1dx mark2 - Canon 5d mark4
If this is camera specific, include the camera name as shown by gphoto2 --auto-detect or USB IDs

This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.28 gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2 2.5.30 standard camlibs, gcc, no ltdl, EXIF
libgphoto2_port 0.12.1 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

also installed libgphoto2 2.5.31.1

To Reproduce
gphoto2 --set-config capturetarget=1
gphoto2 --capture-tethered

gphoto2_debug.txt

@Moseaca
Copy link
Author

Moseaca commented Sep 9, 2024

Just to help who has the same problem.

seems that the problem was the WTF/wireless transfer setting of the canon camera in communication tab

PUT Autotransfer OFF and don't use the SET button to send pictures.

I hope that can help u.

bye.

@Rajat369jain
Copy link

That also not solved the problem does in capture-tethered mode using ptpip we can save images to both camera card as well in raspberry pi or not

@msmeissn
Copy link
Contributor

If you want to keep it in the camera AND download it, try:

gphoto2 --capture-tethered --keep

@msmeissn msmeissn self-assigned this Oct 23, 2024
@Rajat369jain
Copy link

But this also not solve the problem the photo is saving directly in raspberry pi and not in camera as well when connected with PTP/IP protocol in capture tethered mode even with --keep does PTP/IP protocol supports saving images to both location if yes does some camera do not support it or some other reason for it

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

3 participants