Giter Site home page Giter Site logo

pyv4l2's People

Contributors

mkassner avatar willpatera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pyv4l2's Issues

Unable to install in ARM

Hi,
I've downloaded this module in odroid xu4 of ubuntu 16 with kernel 3.10. I'm not able to install this module in python2.7. My error is: arm-linux-gnueabhif-gcc failed with exit status 1.
Thanks for help.
PRNV7

Exception: Could not set v4l2 format

EYE0 Process [WARNING] video_capture : Found ['Microsoft\xc2\xae LifeCam HD-5000'] as devices that match the src string pattern Using the first match.
WORLD Process [WARNING] video_capture : Found ['HD Webcam C615'] as devices that match the src string pattern Using the first match.
Process Process-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/home/rafael/greserved/pupil-o/pupil_src/capture/eye.py", line 145, in eye
    cap = autoCreateCapture(cap_src, cap_size, 30, timebase=g_pool.timebase)
  File "/home/rafael/greserved/pupil-o/pupil_src/shared_modules/video_capture/__init__.py", line 79, in autoCreateCapture
    cap = Camera_Capture(matching_devices[preferred_idx],filter_sizes(matching_devices[preferred_idx],size),fps,timebase)
  File "/home/rafael/greserved/pupil-o/pupil_src/shared_modules/video_capture/linux_video/__init__.py", line 68, in __init__
    self.capture = v4l2.Capture('/dev/video'+str(self.src_id))
  File "v4l2.pyx", line 309, in v4l2.Capture.__init__ (v4l2.c:6480)
  File "v4l2.pyx", line 690, in v4l2.Capture.transport_format.__set__ (v4l2.c:11939)
  File "v4l2.pyx", line 578, in v4l2.Capture.set_format (v4l2.c:10074)
Exception: Could not set v4l2 format

Can't find all Cython dependencies

Trying to cythonize the v4l2.pyx complains about not finding cmman and cselect. Are these custom made bindings that should be included in the repository? I can't find any references to such Cython libraries anywhere.

WORLD Process [ERROR] world : Could not retrieve image from capture C270

WORLD Process [WARNING] video_capture : Found ['UVC Camera (046d:0825)'] as devices that match the src string pattern Using the first match.
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 5 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 4 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 3 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 2 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 1 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 0 more times.
WORLD Process [WARNING] v4l2 : restarted capture device
WORLD Process [ERROR] world : Could not retrieve image from capture

KeyError: 6 PS3 eye

EYE0 Process [WARNING] video_capture : Found ['USB Camera-B4.09.24.1'] as devices that match the src string pattern Using the first match.
Process Process-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/home/rafael/greserved/pupil-o/pupil_src/capture/eye.py", line 145, in eye
    cap = autoCreateCapture(cap_src, cap_size, 30, timebase=g_pool.timebase)
  File "/home/rafael/greserved/pupil-o/pupil_src/shared_modules/video_capture/__init__.py", line 79, in autoCreateCapture
    cap = Camera_Capture(matching_devices[preferred_idx],filter_sizes(matching_devices[preferred_idx],size),fps,timebase)
  File "/home/rafael/greserved/pupil-o/pupil_src/shared_modules/video_capture/linux_video/__init__.py", line 71, in __init__
    self.controls = self.capture.enum_controls()
  File "v4l2.pyx", line 739, in v4l2.Capture.enum_controls (v4l2.c:12536)
KeyError: 6

EYE0 Process [ERROR] eye : Could not retrieve image from capture VX-800

EYE0 Process [WARNING] video_capture : Found ['Microsoft LifeCam VX-800'] as devices that match the src string pattern Using the first match.
WORLD Process [ERROR] video_capture : No device found that matched ['Logitech Camera', '(046d:081d)', 'C510', 'B525', 'C525', 'C615', 'C920', 'C930e']
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 5 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 4 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 3 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 2 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 1 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [WARNING] v4l2 : Could not get Frame on "/dev/video0". Trying 0 more times.
EYE0 Process [WARNING] v4l2 : restarted capture device
EYE0 Process [ERROR] eye : Could not retrieve image from capture

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.