El soporte de vídeo en Skype beta 2.0 para Linux

Tras ver varias noticias sobre la nueva beta 2.0 de Skype para Linux con soporte de vídeo y pese a que no me gusta nada Skype lo hice: acabé instalándolo en mi Debian. Desde luego si hay algo que me encanta es probar todas las cosillas que van saliendo. Smile

Para el laboratorio de pruebas se ha usado Debian Etch, y mi webcam / cámara de fotos Finepix con el driver con soporte V4L y V4L2 (Video for Linux).

El resultado ha sido fracaso total. Yell

Sin video en Skype

En la pantalla de visualización aparecen píxeles verdes que guardan cierta relación con la imagen que proviene de la cámara pero no nos permiten hacernos una mínima idea de que es lo que hay detrás del objectivo y luego se queda todo oscuro tal y como aparece en la imagen superior.

La primera reacción lógica es ¿estaré haciendo algo mal?

Vamos a echar un vistazo a los requisitos en el sitio de Skype:

  • 1 Ghz processor or faster (tengo 3 ghz)
  • 256 MB RAM. (tengo 512 MB)
  • 20 MB free disk space on your hard drive. (vale de momento sí)
  • Microphone and speakers or headset. (estan por aquí)
  • Internet connection. (de esto también tengo)
  • Video card driver with Xv support. (rayos mi vieja ATI)

Pensé que ya tenía el problema resuelto, mi vieja tarjeta gráfica no tendrá el dichoso soporte Xv. Para averiguarlo hay que ejecutar el comando xvinfo:

xvinfo
 
X-Video Extension version 2.2
screen #0
  Adaptor #0: "ATI Radeon Video Overlay"
    number of ports: 1
    port base: 73
    operations supported: PutImage 
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
      depth 24, visualID 0x2a
      depth 24, visualID 0x2b
      depth 24, visualID 0x2c
      depth 24, visualID 0x2d
      depth 24, visualID 0x2e
      depth 24, visualID 0x2f
      depth 24, visualID 0x30
      depth 24, visualID 0x31
      depth 24, visualID 0x32
    number of attributes: 22
      "XV_DEVICE_ID" (range 0 to -1)
              client gettable attribute (current value is 108)
      "XV_LOCATION_ID" (range 0 to -1)
              client gettable attribute (current value is 109)
      "XV_INSTANCE_ID" (range 0 to -1)
              client gettable attribute (current value is 110)
      "XV_DUMP_STATUS" (range 0 to 1)
              client settable attribute
      "XV_SET_DEFAULTS" (range 0 to 1)
              client settable attribute
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLORKEY" (range 0 to -1)
              client settable attribute
              client gettable attribute (current value is 30)
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_OVERLAY_ALPHA" (range 0 to 255)
              client settable attribute
              client gettable attribute (current value is 255)
      "XV_GRAPHICS_ALPHA" (range 0 to 255)
              client settable attribute
              client gettable attribute (current value is 255)
      "XV_ALPHA_MODE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_COLOR" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_RED_INTENSITY" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_GREEN_INTENSITY" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_BLUE_INTENSITY" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SWITCHCRT" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_GAMMA" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_COLORSPACE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 2048 x 2048
    Number of image formats: 8
      id: 0x41424752 (RGBA)
        guid: 52474241-0000-0010-8000-00aa00389b71
        bits per pixel: 32
        number of planes: 1
        type: RGB (packed)
        depth: 32
        red, green, blue masks: 0xff0000, 0xff00, 0xff
      id: 0x0
        guid: 52474200-0000-0010-8000-00aa00389b71
        bits per pixel: 24
        number of planes: 1
        type: RGB (packed)
        depth: 24
        red, green, blue masks: 0xff0000, 0xff00, 0xff
      id: 0x54424752 (RGBT)
        guid: 52474254-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 16
        red, green, blue masks: 0x7c00, 0x3e0, 0x1f
      id: 0x32424752 (RGB2)
        guid: 52474200-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 16
        red, green, blue masks: 0xf800, 0x7e0, 0x1f
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)

Vaya pues tras ver el output del comando, parece ser que sí tiene soporte Xv.

En el sistema también dispongo de los paquetes de lenny para satisfacer sus requisitos software: Qt 4.3.1, dbus 1.1.1 y libasound2 1.0.14 ¡¡Genial!!

Moraleja: Si tenéis una webcam en Linux es muy probable que tenga soporte V4L el soporte de video para linux que usan la mayoría de las aplicaciones: mplayer, Ekiga, xawtv, gstreamer. Está claro que Skype no soporta V4L ni V4L2, pero todos sabemos el respeto que le tiene Skype a los estándares.

Conclusión: Me quedo con Ekiga (aka GnomeMeeting). Si ya no me gustaba Skype tampoco me gusta ahora su soporte de vídeo en Linux.

Me cuesta darme por vencido así que continuaré probando a ver si hay alguna manera hasta que funcione o me canse y lo desinstale. Si alguien ha tenido más éxito o quiere realizar alguna aportación puede dejar un comentario.