Page 1 of 1

Fedora 13 + USB video = socket_sendto error

Posted: Fri Sep 17, 2010 6:47 pm
by ocgltd
I've got a nice clean install, latest ZM on latest Fedora (13). I'm using a Hauppuage USB-Live-2 to stream video & audio into my PC.

zmu shows the video:

Code: Select all

[root@zoneminder.ocg.ca ~]/usr/local/bin/zmu -d /dev/video0 -q -v
Video Device: /dev/video0
General Capabilities
  Driver: cx231xx
  Card: Hauppauge USB Live 2
  Bus: usb-0000:02:02.0-1
  Version: 0.0.1
  Type: 0x5020011
    Supports video capture (X)
    Does not support video output
    Does not support frame buffer overlay
    Supports VBI capture
    Does not support VBI output
    Does not support sliced VBI capture
    Does not support sliced VBI output
    Does not support video output overlay
    Does not have tuner
    Has audio in and/or out
    Does not have radio
    Supports read/write i/o (X)
    Does not support async i/o
    Supports streaming i/o (X)
    Standards:
      NTSC
      NTSC-M
      NTSC-M-JP
      NTSC-M-KR
      NTSC-443
      PAL
      PAL-BG
      PAL-H
      PAL-I
      PAL-DK
      PAL-M
      PAL-N
      PAL-Nc
      PAL-60
      SECAM
      SECAM-B
      SECAM-G
      SECAM-H
      SECAM-DK
      SECAM-L
      SECAM-Lc
  Formats:
    16bpp YUY2, 4:2:2, packed (YUYV)
Crop Capabilities
  Bounds: 720 x 480
  Default: 720 x 480
  Current: Cropping is not supported
Inputs: 2
  Input 0
    Name: Composite1
    Type: Camera
    Audioset: 00000000
    Standards: 0xffffff
    Power on  (X)
    Signal detected  (X)
    Colour Signal detected 
    Horizontal Lock detected 
  Input 1
    Name: S-Video
    Type: Camera
    Audioset: 00000000
    Standards: 0xffffff
    Power on  (X)
    Signal detected  (X)
    Colour Signal detected 
    Horizontal Lock detected 
I've setup the monitor in ZM, but when I try to view the video there is no image, and php error log shows:

Code: Select all

[Fri Sep 17 14:45:42 2010] [error] [client 172.31.254.71] socket_sendto( /tmp/zms-400739s.sock ) failed: No such file or directory, referer: http://172.31.254.15/zm/index.php?view=watch&mid=1
[Fri Sep 17 14:45:42 2010] [error] [client 172.31.254.71] array (\n  0 => \n  array (\n    'file' => '/var/www/html/zm/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zms-400739s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/var/www/html/zm/index.php',\n    'line' => 116,\n    'args' => \n    array (\n      0 => '/var/www/html/zm/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://172.31.254.15/zm/index.php?view=watch&mid=1
I've seen a bunch of posts around this topic, and I've done the obvious config stuff. Can anyone help me diagnose this?

I want to avoid setting up the video as an http stream INTO ZM, since this whole thing is a virtual machine and I want to minimize load...

Posted: Fri Sep 17, 2010 9:37 pm
by ocgltd
Solved it...

I had a typo in the device name. I guess the suggestion from this is some error checking on user fields....