23
12

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 5 years have passed since last update.

[Ubuntu] USBカメラの情報を確認、変更するコマンドまとめ

Posted at

準備

  • v4l2-utilsのインストール
$ apt-get install v4l-utils

コマンド一覧

  • デバイスの情報を表示
$ v4l2-ctl -d /dev/video0 --all
  • 対応解像度の表示
$ v4l2-ctl -d /dev/video0 --list-formats-ext
  • 解像度の変更
$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=<width>,height=<height> --set-parm=<Hz>
  • コントロール一覧の表示
$ v4l2-ctl -d /dev/video0 --list-ctrls-menu
  • コントロールの変更
$ v4l2-ctl -d /dev/video0 -c <ctrl>=<val>
23
12
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
23
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?