Author Topic: Composite camera as "Generic Analogue Camera"  (Read 3149 times)

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1402
  • If it ain't broke, tweak it
    • View Profile
Composite camera as "Generic Analogue Camera"
« on: November 23, 2013, 12:58:31 pm »
Have tried setting up my analogue camera (connected via a Hauppauge PVR-150 in the core), but I'm only getting a grey screen with the message "UNABLE TO OPEN VIDEO DEVICE" when viewed in the orbiter.

I can view the camera using mplayer on the command line. I've tried it both with and without motion wrapper.

Any suggestions?

Cheers,
Matt.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1402
  • If it ain't broke, tweak it
    • View Profile
Re: Composite camera as "Generic Analogue Camera"
« Reply #1 on: December 02, 2013, 01:59:45 pm »
I read about this issue http://forum.linuxmce.org/index.php/topic,13325.0.html

So created a file
Code: [Select]
~/.screenrc
...and added
Code: [Select]
setenv LD_PRELOAD "/usr/lib/libv4l/v4l1compat.so"
...but it hasn't changed anything unfortunately. I wonder if this is specific to USB cameras as opposed to composite cameras? Or is it for any camera under motion?

This has always felt like a permissions issue, but my understanding is that LMCE does everything as root anyway, so don't really know how to go about confirming this one way or the other. It is true that when I view the camera in mplayer I have to use sudo though.

Any suggestions much appreciated.

Cheers,
Matt.
« Last Edit: December 03, 2013, 01:45:15 pm by purps »
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps