Last active
May 11, 2020 09:56
-
-
Save tkusano/9f089c3d21761880244ed4f3a8e4bc64 to your computer and use it in GitHub Desktop.
Ubuntu 18.04 + OBS Studio で EOS 80D を webcam として使う
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install gphoto2 v4l2loopback-utils | |
$ gphoto2 --abilities | |
カメラの性能 : Canon EOS 80D | |
シリアルポートのサポート : いいえ | |
USB サポート : はい | |
取り込みの選択 : | |
: 画像 | |
: プレビュー | |
: Trigger Capture | |
セッティングのサポート : はい | |
カメラ内の選択ファイルの削除 : はい | |
カメラ内の全ファイルの削除 : いいえ | |
プレビューのサポート : はい | |
ファイルアップロードのサポート : はい | |
$ gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0 | |
OBS Studioを起動して、ソースに「映像キャプチャデバイス (V4L2)」を追加。デバイスとして「Dummy video device (略)」を選ぶ。 | |
(OBS Studio は https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio の PPA 使って入れた) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment