Ubuntu 11.10 server で WEBカメラをつかう [ZoneMinder]
最近のWebカメラは大抵UVC(USB Video Class)に対応しており、LinuxではUVCドライバが提供されていますので、Plug & Play になっているはずです。
そこで、BUFFALOのWEBカメラを入手し、使ってみました。
iBUFFALO 【最高画質】 500万画素 FullHD対応 WEBカメラ ヘッドセット付 ブラック BSW50KM01HBK
- 出版社/メーカー: バッファローコクヨサプライ
- メディア: Personal Computers
仕様はこんな感じです。
■本体(カメラ部) | |
---|---|
インターフェース | USB2.0 |
映像素子 | 1/3.2インチカラープログレッシブCMOS |
フォーマット | 動画:MP4、WMV 静止画:JPG、BMP |
有効画素数 | 500万画素 |
最大解像度 | 1920×1080ピクセル |
最大フレームレート | 30fps |
フォーカス | オートフォーカス(焦点距離:6cm~∞) |
ケーブル長 | 1.5m(本体直付け) |
電源 | USBバスパワー |
本体寸法 | H48×W45×D72mm |
重量 | 約82.5g |
■その他仕様 | |
パッケージ寸法 | W147×D62×H212mm |
パッケージ重量 | 約265g |
動作環境 | 温度5℃~40℃、湿度20%~80%(結露なきこと) |
製品構成 | 本体(ケーブル長1.5m)、片耳フックタイプヘッドセット(ケーブル長1.8m)、ユーティリティCD、マニュアル、多言語簡易マニュアル、アナグリフ用3Dメガネ |
では、さっそく。
# dmesg |grep uvcvideo
[ 10.265019] uvcvideo: Found UVC 1.00 device USB2.0 UVC PC Camera (1460:3290)
[ 10.265088] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 10.265094] uvcvideo: Failed to query (129) UVC probe control : -19 (exp. 26).
[ 10.265109] uvcvideo: Failed to initialize the device (-5).
[ 10.265190] usbcore: registered new interface driver uvcvideo
[ 11.240047] uvcvideo: Found UVC 1.00 device USB2.0 UVC PC Camera (1460:3290)
というわけで、なにやらFailしているところもありますが、Ubuntu 11.10では認識されています。
さらに、
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 0cf3:3005 Atheros Communications, Inc.
Bus 004 Device 002: ID 0472:0065 Chicony Electronics Co., Ltd PFU-65 Keyboard
Bus 004 Device 003: ID 0472:0065 Chicony Electronics Co., Ltd PFU-65 Keyboard
Bus 001 Device 004: ID 1460:3290 Tatung Co.
から、Tatung Co.が元のカメラデバイスのメーカーかもしれません。
Device ID 1460:3290 をキーワードに対応状況はこちらのサイトで確認できます。
残念ながら、1460:3290 はこちらのリストにはありませんでしたが、結果としては
現行のドライバで一部制限はありつつも使えます。
使える解像度やフレームレートなどは、
# luvcview -L
luvcview 0.2.6
init kbd.
SDL information:
Video driver: fbcon
Hardware surfaces are available (8100k video memory)
Device information:
Device path: /dev/video0
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 384, height = 216 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/15,
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 384, height = 216 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/15,
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 384, height = 216 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/15,
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 384, height = 216 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/15,
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 384, height = 216 }
Time interval between frame: 1/30, 1/15,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/15,
から判ります。
さらに詳細な情報を得たければ、こちらが便利かも知れません。
サイバラのページ
の旧ホームページ
に便利なツールがあります。
ページ2/9の位置あたりの、ソースのダウンロードからツールを
ダウンロードして、使います。
# gcc -o listup listup.c
そして、
# ./listup 0
Using camera #0
Camera : /dev/video0
Driver name : uvcvideo
Driver Version : 1.1.0
Device name : USB2.0 UVC PC Camera
Bus information : usb-0000:00:12.2-1
Capabilities : 04000001h
V4L2_CAP_VIDEO_CAPTURE (Video Capture) : OK
V4L2_CAP_VIDEO_OUTPUT (Video Output) : Not supported.
V4L2_CAP_VIDEO_OVERLAY (Video Overlay) : Not supported.
V4L2_CAP_VBI_CAPTURE (Raw VBI Capture) : Not supported.
V4L2_CAP_VBI_OUTPUT (Raw VBI Output) : Not supported.
V4L2_CAP_SLICED_VBI_CAPTURE (Sliced VBI Capture) : Not supported.
V4L2_CAP_SLICED_VBI_OUTPUT (Sliced VBI Output) : Not supported.
V4L2_CAP_RDS_CAPTURE (Undefined.[to be defined]) : Not supported.
V4L2_CAP_VIDEO_OUTPUT_OVERLAY (Video Output Overlay (OSD)) : Not supported.
V4L2_CAP_TUNER (Tuner) : Not supported.
V4L2_CAP_AUDIO (Audio inputs or outputs) : Not supported.
V4L2_CAP_RADIO (Radio receiver) : Not supported.
V4L2_CAP_READWRITE (Read/write() I/O method) : Not supported.
V4L2_CAP_ASYNCIO (Asynchronous I/O method) : Not supported.
V4L2_CAP_STREAMING (Streaming I/O method) : OK
Ctrl id(CID) : 00980900h (V4L2_CID_BRIGHTNESS)
Ctrl name : Brightness
Ctrl type : 1 (V4L2_CTRL_TYPE_INTEGER)
Min,Max,Step,Default : 80,215,1,128
Flags : 00000000h
Ctrl id(CID) : 00980901h (V4L2_CID_CONTRAST)
Ctrl name : Contrast
Ctrl type : 1 (V4L2_CTRL_TYPE_INTEGER)
Min,Max,Step,Default : 30,100,1,64
Flags : 00000000h
Ctrl id(CID) : 00980902h (V4L2_CID_SATURATION)
Ctrl name : Saturation
Ctrl type : 1 (V4L2_CTRL_TYPE_INTEGER)
Min,Max,Step,Default : 0,160,1,64
Flags : 00000000h
Ctrl id(CID) : 00980903h (V4L2_CID_HUE)
Ctrl name : Hue
Ctrl type : 1 (V4L2_CTRL_TYPE_INTEGER)
Min,Max,Step,Default : 0,255,1,0
Flags : 00000000h
Ctrl id(CID) : 0098090ch (V4L2_CID_AUTO_WHITE_BALANCE)
Ctrl name : White Balance Temperature, Auto
Ctrl type : 2 (V4L2_CTRL_TYPE_BOOLEAN)
Min,Max,Step,Default : 0,1,1,1
Flags : 00000000h
Ctrl id(CID) : 00980910h (V4L2_CID_GAMMA)
Ctrl name : Gamma
Ctrl type : 1 (V4L2_CTRL_TYPE_INTEGER)
Min,Max,Step,Default : 1,16,1,1
Flags : 00000000h
Ctrl id(CID) : 00980918h (V4L2_CID_POWER_LINE_FREQUENCY)
Ctrl name : Power Line Frequency
Ctrl type : 3 (V4L2_CTRL_TYPE_MENU)
Menu items:
0 : Disabled
1 : 50 Hz
2 : 60 Hz
Min,Max,Step,Default : 0,2,1,2
Flags : 00000000h
Ctrl id(CID) : 0098091ah (V4L2_CID_WHITE_BALANCE_TEMPERATURE)
Ctrl name : White Balance Temperature
Ctrl type : 1 (V4L2_CTRL_TYPE_INTEGER)
Min,Max,Step,Default : 2800,7500,1,5000
Flags : 00000000h
Ctrl id(CID) : 0098091bh (V4L2_CID_SHARPNESS)
Ctrl name : Sharpness
Ctrl type : 1 (V4L2_CTRL_TYPE_INTEGER)
Min,Max,Step,Default : 1,5,1,3
Flags : 00000000h
Ctrl id(CID) : 0098091ch (V4L2_CID_BACKLIGHT_COMPENSATION)
Ctrl name : Backlight Compensation
Ctrl type : 1 (V4L2_CTRL_TYPE_INTEGER)
Min,Max,Step,Default : 0,10,1,0
Flags : 00000000h
Ctrl id(CID) : 009a0901h (V4L2_CID_EXPOSURE_AUTO)
Ctrl name : Exposure, Auto
Ctrl type : 3 (V4L2_CTRL_TYPE_MENU)
Menu items:
VIDIOC_QUERYMENU: Invalid argument
残念ながら、Image formatは表示されませんでしたが、様々な情報が得られます♪
タグ:WEB CAMERA
need isotretinoin isotret best website overseas Generic Stendra Medicine With Free Shipping Ed Meds With No Rx <a href=http://cidovir.com>cialis</a> Kamagra 100mg Vendita Kjop Lasix Delivery Overnight Viagra
by Jeashibia (2019-02-26 10:58)
Cialis Belgique Sans Ordonnance <a href=http://tadalafonline.com>cialis online</a> Zithromax With Or Without Food
by Jeashibia (2019-03-15 07:28)
Cialis Belgique Sans Ordonnance <a href=http://tadalafonline.com>cialis online</a> Zithromax With Or Without Food
by Jeashibia (2019-03-15 07:28)
Cialis Belgique Sans Ordonnance <a href=http://tadalafonline.com>cialis online</a> Zithromax With Or Without Food
by Jeashibia (2019-03-15 07:29)
Cialis Belgique Sans Ordonnance <a href=http://tadalafonline.com>cialis online</a> Zithromax With Or Without Food
by Jeashibia (2019-03-15 07:29)
Cialis Belgique Sans Ordonnance <a href=http://tadalafonline.com>cialis online</a> Zithromax With Or Without Food
by Jeashibia (2019-03-15 07:29)
Cialis Belgique Sans Ordonnance <a href=http://tadalafonline.com>cialis online</a> Zithromax With Or Without Food
by Jeashibia (2019-03-15 07:29)
Cialis Belgique Sans Ordonnance <a href=http://tadalafonline.com>cialis online</a> Zithromax With Or Without Food
by Jeashibia (2019-03-15 07:29)
Cialis Belgique Sans Ordonnance <a href=http://tadalafonline.com>cialis online</a> Zithromax With Or Without Food
by Jeashibia (2019-03-15 07:29)
Image Levitra <a href=http://kamagpills.com></a> Progesterone Menopause From Canada Store1 Mg Finasteride Cheap Propecia Costo Propecia Acquisto
by StevNite (2019-05-16 10:03)
Cytotec Pauvre Aromadex <a href=http://cialusa.com>buy generic cialis online</a> Cytotec 5 Mg
by StevNite (2019-06-05 17:54)
Cephalexin Same As Ceftin Totaldrugmart Com <a href=http://gaprap.com>online pharmacy</a> Viagra Cialis Where Can I Buy Alli Canada Pharmacie Cialis Viagra
by StepOdors (2019-07-01 12:55)
Viagra De 100 Precio <a href=http://rxbill7.com>cialis canada</a> Viagra Soft Tablets Achat Viagra En Inde Propecia Efectivo
by RandMES (2019-07-06 08:21)
Effet Secondaire Mifepristone Doxycycline Online For Sale <a href=http://leviplus.com>non prescription levitra</a> Amoxicillin Anxious Cheap Propecia Without Prescription Mail Order Antibiotics
by StepOdors (2019-07-18 00:41)
Cialis 5 Mg Price Walgreens My Cat Ate An Amoxicillin <a href=http://adrugo.com>cialis canada</a> Order Diflucan Online Rx Pharmaceutical Where To Buy Methotrexate
by RandMES (2019-07-25 21:49)
250mg Amoxicillin Capsule <a href=http://mdsmeds.com>cialis for sale</a> Viagra Casero Comprar Cialis En Tarragona Propecia Cheapest Propecia
by StepOdors (2019-07-27 12:05)
Suisse Kamagra Prix [url=http://cialibuy.com]buy generic cialis online[/url] Prezzi Cialis Online <a href=http://cialibuy.com>Buy Cialis</a> Best Price Drugs 24
by LesAlelty (2020-01-21 22:07)
Cheep Viagra [url=http://cheapcialisir.com]Buy Cialis[/url] Propecia Vorher Nachher <a href=http://cheapcialisir.com>Buy Cialis</a> Cialis Wirkung Alkohol
by StevBiaddy (2020-02-01 10:30)
Can I Take Expired Amoxicillin Pills [url=https://buyciallisonline.com/#]Buy Cialis[/url] Real Propecia Results Thinning Hair <a href=https://buyciallisonline.com/#>Cialis</a> Amoxicillin Birth Contro Pill
by LesAlelty (2020-02-25 09:24)
Where Can Ibuy Ivermectin For Humans <a href=http://buycialisuss.com>Buy Cialis</a> Levitra Generique France <a href=http://buycialisuss.com>buy generic cialis online</a> Propecia Ebuddy Impotencia
by StepLot (2020-02-26 19:52)
Flushed Face Amoxicillin [url=http://cheapcialisir.com]Cialis[/url] Propecia Cheapest Dedicated <a href=http://cheapcialisir.com>Cialis</a> Cialis 20mg Emra Med
by StevBiaddy (2020-03-01 11:53)
Precios Cialis Online [url=http://apcialisle.com/#]Cialis[/url] Propecia Pas Cher 2011 <a href=http://apcialisle.com/#>Cialis</a> Kamagra Oral Jelly Pictures
by Jansyhorgo (2020-03-14 06:41)
Levothyroxine 75 Mcg Buy Online Uk [url=https://apcialisle.com/#]purchase cialis online[/url] Cialis Lilly Comprar <a href=https://apcialisle.com/#>generic cialis online</a> Precio Cialis Tadalafil
by Jansyhorgo (2020-03-21 08:21)
Buying Direct Levaquin Medicine By Money Order [url=https://buycialisuss.com/#]Cialis[/url] Cheap Clomid Online No Prescription <a href=https://buycialisuss.com/#>generic cialis canada</a> Viagra Sans Ordonnance Prix
by Jansyhorgo (2020-04-18 12:01)
Alternativa Al Priligy [url=https://cheapcialisir.com/]Cialis[/url] Comprar Cialis Generico Madrid <a href=https://cheapcialisir.com/#>cialis generic canada</a> Cialis 72 Hour
by Amouddy (2020-06-05 19:36)
Test Viagra Cialis Levitra https://abuycialisb.com/ - Cialis Amoxicillin Before Lying Down <a href=https://abuycialisb.com/#>Buy Cialis</a> Amoxicillin And Clavulanate Potassium
by Amouddy (2020-06-07 07:19)
Medicine information leaflet. Drug Class.
<a href="https://mobic4u.top">can i buy mobic</a> in USA
Everything what you want to know about medication. Read here.
https://arbia.ro/produs/rochie-din-tulle-de-matase-oliv/ All trends of medicines. http://alim.mn/article/1378 Everything about medicine. https://amp.en.vaskar.co.in/translate/1?to=ru&from=en&source=Pills%20information%20sheet.%20Long-Term%20Effects.%20%0D%0A%3Ca%20href%3D%22https%3A%2F%2Fjanuvia4u.top%22%3Ejanuvia%20cost%3C%2Fa%3E%20in%20the%20USA%20%0D%0AEverything%20about%20medicine.%20Get%20now.%20%0D%0A%20%0D%0Ahttp%3A%2F%2Fa.mblg.tv%2Fikouyo%2Fentry%2F486%2F%23comments%20Everything%20information%20about%20medicine.%20https%3A%2F%2Fakarui-mirai.blog.ss-blog.jp%2F2012-04-20-1%3Fcomment_success%3D2021-01-10T00%3A13%3A21%26time%3D1610205201%20Actual%20information%20about%20medicament.%20http%3A%2F%2Fabclass.ru%2Fmaterials%2F293%2F%20All%20about%20meds.%20%2092f6fcf%20&result=%D0%98%D0%BD%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9%20%D0%BB%D0%B8%D1%81%D1%82%20%D0%BE%20%D1%82%D0%B0%D0%B1%D0%BB%D0%B5%D1%82%D0%BA%D0%B0%D1%85.%20%D0%94%D0%BE%D0%BB%D0%B3%D0%BE%D1%81%D1%80%D0%BE%D1%87%D0%BD%D1%8B%D0%B5%20%D0%AD%D1%84%D1%84%D0%B5%D0%BA%D1%82%D1%8B.%20%3Ca%20href%3D%22https%3A%2F%2Fjanuvia4u.top%22%20%3E%20januvia%20%D1%81%D1%82%D0%BE%D0%B8%D1%82%3C%20%2F%20a%3E%20%D0%B2%20%D0%A1%D0%A8%D0%90%20%D0%92%D1%81%D0%B5%20%D0%BE%20%D0%BC%D0%B5%D0%B4%D0%B8%D1%86%D0%B8%D0%BD%D0%B5.%20%D0%98%D0%B4%D0%B8%20%D1%81%D0%B5%D0%B9%D1%87%D0%B0%D1%81%20%D0%B6%D0%B5.%20http%3A%2F%2Fa.mblg.tv%2Fikouyo%2Fentry%2F486%2F%23comments%20%D0%B2%D1%81%D1%8F%20%D0%B8%D0%BD%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20%D0%BE%20%D0%BC%D0%B5%D0%B4%D0%B8%D1%86%D0%B8%D0%BD%D0%B5.%20https%3A%2F%2Fakarui-mirai.blog.ss-blog.jp%2F2012-04-20-1%3Fcomment_success%3D2021-01-10T00%3A13%3A21%26time%3D1610205201%20%D1%84%D0%B0%D0%BA%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B0%D1%8F%20%D0%B8%D0%BD%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%86%D0%B8%D1%8F%20%D0%BE%20%D0%BB%D0%B5%D0%BA%D0%B0%D1%80%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D0%BD%D0%BE%D0%BC%20%D1%81%D1%80%D0%B5%D0%B4%D1%81%D1%82%D0%B2%D0%B5.%20http%3A%2F%2Fabclass.ru%2Fmaterials%2F293%2F%20%D0%92%D1%81%D0%B5%20%D0%BE%20%D0%BB%D0%B5%D0%BA%D0%B0%D1%80%D1%81%D1%82%D0%B2%D0%B0%D1%85.%2092f6fcf Some about drug. de01d3a
by DavidIoq (2021-01-10 02:06)
Medicines information for patients. Short-Term Effects. <a href="https://prednisone4u.top">can you get generic prednisone price</a> in USA. Everything news about meds. Read information now.
<a href=http://eshop.goodmat.cz/index.php?action=detail&id=ID3891>Everything news about medicine.</a> <a href=http://ggtronics.com/ticket-submitted.php?id=NDYyOTY=>Some trends of drug.</a> <a href=http://culturia.nl/node/65#comment-4630>Some information about medicines.</a> d3730c8
by EwjHD (2021-01-10 08:20)
perfect for online classes
by pole buildings near me (2021-06-30 11:59)
hooray! more news
by metal buildings (2021-06-30 12:13)
коли закінчиться війна в україні 2022 екстрасенси <a href="http://bitly.com/skilky-shche-bude-tryvaty-viyna-v-ukrayini">скільки ще буде тривати війна в україні</a> війна в україні 2022 пророцтва
by Aberthap (2022-03-05 10:47)
https://bitbin.it/M6s1z3Ei/
by Abrthap (2022-03-12 14:35)
https://t.me/holostyaktntofficial2022
by Abrthap (2022-03-12 18:53)
https://t.me/holostyaktntofficial2022
by Abrthap (2022-03-14 17:33)
<a href="https://t.me/filmfilmfilmes/11">Гравитация</a>
by Abrthap (2022-03-17 06:10)
<a href="https://t.me/filmfilmfilmes/4">Безумный Макс</a>
by Abrthap (2022-03-18 06:17)
<a href="https://t.me/filmfilmfilmes/8">Отрочество</a>
by Abrthap (2022-03-19 06:29)
<a href="https://t.me/filmfilmfilmes/17">На пятьдесят оттенков темнее</a>
by Abrthap (2022-03-20 06:23)
Il s'agit là d'un très bon conseil, en particulier pour les nouveaux venus sur la blogosphère, d'informations brèves et précises… Merci d'avoir partagé celle-ci. A lire l'article.
https://www.bacarasite.com/
by 바카라사이트닷컴 (2022-11-22 12:32)
Gracias por el bonito blog. Fue muy útil para mí. Me alegro de haber encontrado este blog. Gracias por compartir con nosotros, yo también siempre aprendo algo nuevo de tu puesto.
https://holyname.one
by 모나코경기일정 (2022-11-22 15:41)