3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

DroidcamをArchLinux上で使う

Last updated at Posted at 2020-05-06

AURからdroidcamをインストールすれば良いのですが、以下のようなエラーが出ます。

Device not found (/dev/video[0-9]). Did you install it?

カーネルモジュールが必要なようです。

yay -S v4l2loopback-dc-dkms
sudo modprobe v4l2loopback_dc

解像度は以下の方法でFullHDに変更できます

# 解像度の設定
WIDTH=1920
HEIGHT=1080
# ドライバをアンロードする
sudo rmmod v4l2loopback_dc
# 設定する
sudo insmod /usr/lib/modules/$(uname -r)/extramodules/v4l2loopback-dc.ko.xz width=${WIDTH} height=${HEIGHT}
# 設定をバップアップ
sudo cp /etc/modprobe.d/droidcam.conf /etc/modprobe.d/droidcam.conf.org
# 設定ファイルを書き換える
sudo nano /etc/modprobe.d/v4l2loopback-dc.conf
3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?