Using a DSLR Camera As a Webcam on OBS Linux [How-To] @HeathenHacks
Using a DSLR Camera As a Webcam on OBS Linux [How-To]  @HeathenHacks
Uploaded April 2023 | Updated September 2026, 2 weeks ago
It's been more than half a year since I've switched to Linux. I have learned a lot of new things.

This is one of those things.

Just a heads-up, you can also use your camera as a dedicated webcam for Teams or other applications, but how to do that is not part of this video.

TL;DR: if you do not want to learn how things work, you can just copy and paste this to your terminal after setting up:

gphoto2 --stdout --set-config liveviewsize=0 --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 -s:v 1920x1080 -r 30 /dev/video0
***************************************SUPPORT THE CHANNEL***************************************
Consider helping me fund my videos:
💳 Ko-fi: ko-fi.com/heathenhacks

Check out where I get my sweet BGM.

This will help me reduce my incoming invoice/s if you signup!
🎶 Epidemic Sound: epidemicsound.com/community/playlist/?playlist=hee9cy2g7wxb080gio30gdw66oi3d5ia [AFFILIATE LINK]
***************************************************************************************************
*RESOURCES:*

What is gphoto2?: github.com/gphoto/gphoto2
gphoto2 Controls: gphoto.org/doc/remote
gphoto2 Manual: gphoto.org/doc/manual/ref-gphoto2-cli.html
gphoto2 List of Supported Devices: gphoto.org/proj/libgphoto2/support.php
What is libgphoto2?: github.com/gphoto/libgphoto2
What is v4l2loopback?: github.com/umlaeute/v4l2loopback
What is V4L?: en.wikipedia.org/wiki/Video4Linux
What is ffmpeg?: ffmpeg.org/ffmpeg-formats.html
ffmpeg Documentation: ffmpeg.org/ffmpeg.html

What is rmmod?: man.archlinux.org/man/rmmod.8.en
What is modprobe?: man.archlinux.org/man/modprobe.8.en
What is ls?: man.archlinux.org/man/ls.1.en
What is asterisk *?: https://www.cse.msu.edu/Resources/Facilities/Howto/BasicUnixCommands.php
What is stdout?: tutorialspoint.com/understanding-stdin-stderr-and-stdout-in-linux
What is pipe | ?: opensource.com/article/18/8/introduction-pipes-linux
***************************************************************************************************
*ANIME:*

Yuru Camp
***************************************************************************************************
*CLIPS:*

Hoshimachi Suisei: youtube.com/@HoshimachiSuisei
Nanashi Mumei: youtube.com/@NanashiMumei
Ninomae Ina'nis: youtube.com/@NinomaeInanis
Usada Pekora: youtube.com/@usadapekora
***************************************************************************************************
*PLAYLISTS:*

youtube.com/playlist?list=PLnJ6CeayQGsXtckTZsbf-o9ZQp0j5AtPX
youtube.com/playlist?list=PLnJ6CeayQGsXOvOIqtfdV1R2mZ7NwrkUN
youtube.com/playlist?list=PLnJ6CeayQGsXyz8CUWf-XM5yiIPVX7HAH
youtube.com/playlist?list=PLnJ6CeayQGsWKei0q76B0K-abl-uNfV9C
youtube.com/playlist?list=PLnJ6CeayQGsXometlrJ0e8e4h3yDLgOgT
youtube.com/playlist?list=PLnJ6CeayQGsUAT9Qcj9GxkHb_TWJRzCBR
youtube.com/playlist?list=PLnJ6CeayQGsXILXpLDGD-fO8qgBr-O3We
youtube.com/playlist?list=PLnJ6CeayQGsU8e5c8Cl__pAp9USXkg9qi
youtube.com/playlist?list=PLnJ6CeayQGsX0i20RY0Fv0XHlMYGu0ddh
youtube.com/playlist?list=PLnJ6CeayQGsUhviBKAtUhJ2qPvwMFJd2b
youtube.com/playlist?list=PLnJ6CeayQGsXqM4gXQvlqLiBD05cns2Tu
***************************************************************************************************
*TIMESTAMPS:*

00:00 - INTRO
00:44 - What Are These Things?
01:22 - gphoto2
01:50 - Installation
02:24 - Tests
04:21 - Commands/Explanation
05:55 - Setting Things Up
06:21 - A Few Caveats...
07:42 - Simple Bash Script
08:15 - Conclusion
***************************************************************************************************
*CREDITS:*

Intro Music From: bensound.com
***************************************************************************************************
Please let me know if this video helped you out in some way.

Leave a like, comment and subscribe for more content.

New Videos Every Sunday! Around 10AM PST or Monday at 1AM EST.

Thanks For Watching!

#DSLR #WEBCAM #OBS #LINUX
Using a DSLR Camera As a Webcam on OBS Linux [How-To]Arduino Project #8 | 8x24 WS2812B RGB LED Matrix + PIR Motion Sensor Door Display [Arduino Holiday][D.I.Y] Capacitive Discharge Spot Welder | Powerbank Upgrade From 12000-18000 mAh [Now w/ Enclosure]ASUS V239HR RE-REVIEW [HOW IS IT DOING NOW?]Arduino Project #21 | No Touch Alcohol Dispenser [Using Velostat as Pressure Switch]Arduino Project #19 | HC-05 Bluetooth to Bluetooth Communication [Master & Slave][LETS FIX IT!] Replacing My Phones LCD Screen Instead of Buying a New One | Samsung Galaxy A71sleepy_pupper.mp4PLDTs Waiting In Line Challenge.[D.I.Y.] Modding My 10-Year-Old Headphones | Sennheiser HD-205DFRobot Beginner Kit for Arduino® | Project 8 Detecting Vibration [Step-by-Step Guide]Coolermaster MasterAir G100M & Gigabyte G1 Gaming GeForce GTX 1050 Ti 4GB Unboxing & Installation!
HeathenHacks |

Using a DSLR Camera As a Webcam on OBS Linux [How-To]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER