Live data from Hacker News

Using a Canon EOS camera as a webcam in Debian

schlachter.xyz

1–10 of 78 posts

Re: Using a Canon EOS camera as a webcam in Debian

#5
How can you write all of that and miss the fun?

    apt-get install gnome-video-effects-frei0r #or whatever works for you

    filter_idx=2

    filters=(
    "videobalance"
    "quarktv"
    "rippletv" #2
    "streaktv"
    "radioactv"
    "vertigotv"
    "frei0r-filter-twolay0r"
    "frei0r-filter-distort0r"
    "dicetv"
    "edgetv"
    "warptv"
    "revtv"
    "frei0r-filter-cartoon"
    "shagadelictv")



    gst-launch-1.0 autovideosrc device=$CAMERA ! videoconvert ! ${filters[$filter_idx]} ! videoconvert ! videobalance !  videoconvert ! v4l2sink device=$VID_LOOPBACK
edit:

I've always needed an LD_PRELOAD to launch whatever, eg

    LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so /usr/bin/zoom
maybe someone will chime in because they know better than me about all the details here.

Re: Using a Canon EOS camera as a webcam in Debian

#6
post #3

I'm curious if this is any more consistent than the webcam software that Canon provided for Windows and Mac. I tried the Mac implementation briefly, but found it to be _extremely_ glitchy (even with hard-wired power).

I had a similar experience as well - though I had to constantly swap batteries…

How did you hardwire power?

Re: Using a Canon EOS camera as a webcam in Debian

#7
post #2

Does this actually make a better picture? Won’t your stream still be super compressed by meet/zoom/etc?

I feed it into OBS and can get 1080p easily on a 5D MKII, a camera that's now more than 15 years old. Better quality than any dedicated webcam I've seen.

It's a nice second life for it.

Re: Using a Canon EOS camera as a webcam in Debian

#8
post #6
post #3

I'm curious if this is any more consistent than the webcam software that Canon provided for Windows and Mac. I tried the Mac implementation briefly, but found it to be _extremely_ glitchy (even with hard-wired power).

I had a similar experience as well - though I had to constantly swap batteries… How did you hardwire power?

There are attachments that insert directly into the battery hole which are connected to a power supply.

Re: Using a Canon EOS camera as a webcam in Debian

#9
post #3

I'm curious if this is any more consistent than the webcam software that Canon provided for Windows and Mac. I tried the Mac implementation briefly, but found it to be _extremely_ glitchy (even with hard-wired power).

I've used it for up to 6 hours of back to back meetings without issue.
Post reply on HN