You are not logged in.

#1 2022-06-08 19:16:12

quietcornerlinux
Member
Registered: 2022-06-08
Posts: 25

Lag using DSLR camera as webcam

I am having issues with lag while using my DSLR as a webcam. Perhaps some one can help me with the ffmpeg? Thank you.

Arch Linux x86_64
5.17.9-arch1-1
Cannon EOS 1500D (Rebel T7)

Here is the commands I have tried and results. The latter was an improvement.

$ gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0
frame=12860 fps= 20 q=-0.0 Lsize=N/A time=00:08:34.40 bitrate=N/A speed=0.809x

$ gphoto2 --stdout --capture-movie | ffmpeg -i - -c copy -f v4l2 /dev/video0
frame= 9772 fps= 25 q=-1.0 Lsize=N/A time=00:06:30.88 bitrate=N/A speed=0.997x 

Offline

Board footer

Powered by FluxBB