tupitube.desk icon indicating copy to clipboard operation
tupitube.desk copied to clipboard

Features request: DSLR Support

Open charliemartinez opened this issue 2 years ago • 0 comments

Today I have tested my canon t3i dslr with the following code that allowed me to capture the live image as if it were a webcam:

gphoto2 --stdout autofocusdrive=1 --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0

canon t3i on tahoma2d

However, there are two things that need to be fixed:

  • The photographs are not shot by the camera, it is only emulating the operation of a webcam, and when capturing an image Tahoma behaves -logically- as if it were in front of a web cam, and captures the liveview frame, so the quality It is less than if the photo were taken by the camera itself, as is the case with other software such as Entangle and qstopmotion.
  • I couldn't control the parameters of the camera from Tupi

More comparative information:

qstopmotion is the only one that featured native gphoto2 support and I didn't have to release the code I posted though is extremely slow and the program becomes heavy in itself, I have a feeling that it would be difficult to shoot a complete take.

canon t3i on tahoma2d

The only program that worked perfectly was Entangle: liveview ok, smooth image, low resource consumption, shots from the camera itself, correct resolution and full control of all camera parameters from the same software.

canon t3i on tahoma2d

Entangle code: https://gitlab.com/entangle/entangle

charliemartinez avatar Mar 26 '22 11:03 charliemartinez