Captura de video en linux EASYCAP September 6, 2012
Posted by hackandfab in Uncategorized.trackback La idea era usar unas cámaras en una cara animatronica y tienen que ser estancas.
Lo mas barato es usar unas de vista trasera para coche que cuestan unos 15 euros con portes
en ebay. Lo difícil fue pensar como pasar la señal a un ordenador. Al principio pensé en reutilizar unas viejas BT878 de la época del canal+ pero seria un problema usar mas de 2 ya que las placas base de ahora no tienen casi ranuras PCI. Lo bueno fue que venden capturadoras múltiples en pinchos USB que funcionan en linux. Se encuentran buscando “4 channel easycap” en ebay.
Actualización: Tuve suerte, hay otros modelos visualmente muy similares que NO van en linux. http://linuxtv.org/wiki/index.php/Easycap#Indentify_the_device_before_buying
En este enlace hay mas info
http://easycap.blogspot.com.es/p/recording.html
dmesg dice esto:
[41973.348294] usb 1-1.3: new high-speed USB device number 9 using ehci_hcd
[41973.945267] easycap: module is from the staging directory, the quality is unknown, you have been warned.
[41973.945275] easycap: module is from the staging directory, the quality is unknown, you have been warned.
[41973.945283] easycap: module is from the staging directory, the quality is unknown, you have been warned.
[41973.946852] Easycap version: 0.9.01
[41977.227698] easycap::0adjust_standard: selected standard: PAL_BGHIN
[41977.538249] easycap::0adjust_format: sought: 640x480,UYVY(0x59565955),1=field,0x00=std mask
[41977.538258] easycap::0adjust_format: sought: V4L2_FIELD_NONE
[41977.538265] easycap::0adjust_format: actioning: 640x480 PAL_BGHIN_AT_640x480_FMT_UYVY-n
[41977.562167] easycap::0adjust_brightness: adjusting brightness to 0x7F
[41977.586112] easycap::0adjust_contrast: adjusting contrast to 0x3F
[41977.610080] easycap::0adjust_saturation: adjusting saturation to 0x2F
[41977.633911] easycap::0adjust_hue: adjusting hue to 0x00
[41977.635442] easycap::0easycap_usb_probe: registered with videodev: 1=minor
[41977.635452] easycap::0easycap_usb_probe: ends successfully for interface 0
[41977.636630] usbcore: registered new interface driver snd-usb-audio
[41977.637136] usbcore: registered new interface driver easycap
[41977.639069] easycap:: easycap_open: ==========OPEN=========
[41981.257664] easycap::0adjust_standard: selected standard: PAL_BGHIN
[41981.568106] easycap::0adjust_format: sought: 640x480,UYVY(0x59565955),1=field,0x00=std mask
[41981.568110] easycap::0adjust_format: sought: V4L2_FIELD_NONE
[41981.568112] easycap::0adjust_format: actioning: 640x480 PAL_BGHIN_AT_640x480_FMT_UYVY-n
[41981.591943] easycap::0adjust_brightness: adjusting brightness to 0x7F
[41981.616031] easycap::0adjust_contrast: adjusting contrast to 0x3F
[41981.639870] easycap::0adjust_saturation: adjusting saturation to 0x2F
[41981.663820] easycap::0adjust_hue: adjusting hue to 0x00
lsusb
Bus 001 Device 010: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device
Al parecer los drivers son bastante cutres pero van incluso en ARM
Se estan haciendo nuevos en: https://github.com/ezequielgarcia/stk1160-standalone/
Definitely, what a fantastic website and informative posts, I definitely will bookmark your blog.All the Best! dgaedcdbgedd