teerytko / python-video4linux2

Automatically exported from code.google.com/p/python-video4linux2
0 stars 0 forks source link

PVR-150 won't stream #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The PVR-150 asserts with invalid number of buffers
--
simon@myth:~/python-video4linux2-fps$ ./streampics.py -p MH12
Trying to create directory pics
Could not create directory [Errno 17] File exists: 'pics'
Recording /dev/video0:0 with format MPEG at (640, 480 )
Traceback (most recent call last):
  File "./streampics.py", line 109, in <module>
    Run()
  File "./streampics.py", line 93, in Run
    d.SetupStreaming(5, StreamCallback)
  File "/home/simon/python-video4linux2-fps/pyv4l2.py", line 757, in
SetupStreaming
    self.MapBuffers( self.RequestBuffers(numbuffers)    )
  File "/home/simon/python-video4linux2-fps/pyv4l2.py", line 664, in
RequestBuffers
    lib.Error()
Exception: Could not request 5 buffers: 22: Invalid argument
--

Original issue reported on code.google.com by mungew...@gmail.com on 7 Feb 2009 at 3:30

GoogleCodeExporter commented 8 years ago

Original comment by mungew...@gmail.com on 7 Feb 2009 at 3:37

Attachments:

GoogleCodeExporter commented 8 years ago
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

Original comment by mungew...@gmail.com on 26 Aug 2009 at 3:24