Does not capture from PVR-150

Bug #347414 reported by mungewell
2
Affects Status Importance Assigned to Milestone
python-v4l2capture
New
Undecided
Unassigned

Bug Description

Does not work with a Haupage PVR-150, gives error when allocating buffers.
--
simon@myth:~/python-v4l2-capture$ ./list_devices.py
/dev/video0
    driver: ivtv
    card: Hauppauge WinTV PVR-150
    bus info: 0000:02:0a.0
/dev/video24
    driver: ivtv
    card: Hauppauge WinTV PVR-150
    bus info: 0000:02:0a.0
/dev/video32
    driver: ivtv
    card: Hauppauge WinTV PVR-150
    bus info: 0000:02:0a.0
simon@myth:~/python-v4l2-capture$ ./capture_picture.py
Traceback (most recent call last):
  File "./capture_picture.py", line 28, in <module>
    video.create_buffers(1)
IOError: [Errno 22] Invalid argument
--

This seems to be a similar error as that from 'my' other capture engine, see:
http://code.google.com/p/python-video4linux2/issues/detail?id=16

Listing on inputs/mode attached.

Cheers,
Mungewell.

Revision history for this message
mungewell (simon-mungewell) wrote :
Revision history for this message
Fredrik Portström (portstrom) wrote :

When using libv4l2, create_buffers must be called before start. The old version of capture_picture.py before libv4l2 fails on this. Have you tried with the new version of capture_picture.py?

Revision history for this message
mungewell (simon-mungewell) wrote :

In the end I discovered the issue here.

The PVR-150 does not support the streaming interface, you can 'read' data from it though. For frames in HM12 you have to use /dev/video32 as the others (video0 and video24) only appear to support MPEG.

Simon

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.