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

Sony A6000 Camera Unable to Take Videos/Photos After Taking Photo a Few Times #963

Open
choi-joon opened this issue Feb 21, 2024 · 0 comments

Comments

@choi-joon
Copy link

Describe the bug

I am trying to use a Sony A6000 camera as a webcam to stream videos on a Linux computer. By running gphoto2 --capture-image-and-download, I am able to take a photo on the camera a few times. However, afterwards, when I try to take another picture or take a video, the camera throws a PTP timeout error and is not able to take pictures nor videos (after 3-4 photos). My gphoto2 version is the most recent as I saw on another issue that a similar problem has been fixed in the most recent version, but it doesn't seem like it for me.Thank you in advance!

Name the camera
Model Port

Sony Alpha-A6000 (Control) usb:001,018

libgphoto2 and gphoto2 version
gphoto2 2.5.28

Copyright (c) 2000-2021 Marcus Meissner and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

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

To Reproduce
Steps to reproduce the behavior:
gphoto2 --stdout --capture-movie --debug --debug-logfile=debug_video.log | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0 (video)
gphoto2 --capture-image-and-download (photo)

The corresponding debug logs are attached in debug_photo.log and debug_video.log.
debug_photo.log
debug_video.log

@choi-joon choi-joon changed the title Sony A6000 Camera Unable to Take Videos/Photos After Taking it Once Sony A6000 Camera Unable to Take Videos/Photos After Taking Photo a Few Times Feb 21, 2024
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

1 participant