xtingray / tupitube.desk

TupiTube Desk Source Code
GNU General Public License v2.0
35 stars 12 forks source link

Features request: DSLR Support #62

Open charliemartinez opened 2 years ago

charliemartinez commented 2 years ago

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:

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