Using a pvr350/ivtv as source
Posted: Tue Aug 10, 2004 5:38 pm
Hi,
I'm trying to set up zoneminder to use a hauppauge PVR350 as a local source.
"cat /dev/video0 > test.mpg" produces a valid mpeg-2 file, so the ivtv setup is working ok.
I've used the following settings in the "Source" tab for the monitor:
Device Number: 0
Device Channel : 0
Device Format (0=PAL,1=NTSC etc) : 0
Capture Palette RGB24
Capture Width (pixels): 720
Capture Height (pixels): 576
But nothing is captured.
/var/log/messages has:
Aug 10 18:27:50 hopstname kernel: saa7115: decoder set size
Aug 10 18:27:50 hostname kernel: saa7115: decoder set picture bright=128 contrast=64 saturation=64 hue=0
Aug 10 18:27:50 hostname last message repeated 3 times
Aug 10 18:27:50 hostname kernel: saa7115: decoder set size
Aug 10 18:27:50 hostname zmc-d0[3721]: ERR [Failed to setup memory: Invalid argument]
repeated a whole bunch of times, and zmdc.log says:
Starting pending process, zmc -d 0
'zmc -d 0' started at 04/08/10 18:38:30
'zmc -d 0' starting at 04/08/10 18:38:30, pid = 3849
'zmc -d 0' crashed at 04/08/10 18:38:30, exit status 255
If I understand correctly, zm can not work from an mpeg2 source (which is what is streamed out of /dev/video0 by default).
However, I've tried changing the stream_type setting using ivtvctl to either YUV or VID, but that makes no difference.
Has anyone else managed to get this card to work as a zm source successfully?
(I'm using ivtv-0.1.10-40_pre2_ck100m on fedora core 2 and zm v1.19.4)
Thanks,
Jim
I'm trying to set up zoneminder to use a hauppauge PVR350 as a local source.
"cat /dev/video0 > test.mpg" produces a valid mpeg-2 file, so the ivtv setup is working ok.
I've used the following settings in the "Source" tab for the monitor:
Device Number: 0
Device Channel : 0
Device Format (0=PAL,1=NTSC etc) : 0
Capture Palette RGB24
Capture Width (pixels): 720
Capture Height (pixels): 576
But nothing is captured.
/var/log/messages has:
Aug 10 18:27:50 hopstname kernel: saa7115: decoder set size
Aug 10 18:27:50 hostname kernel: saa7115: decoder set picture bright=128 contrast=64 saturation=64 hue=0
Aug 10 18:27:50 hostname last message repeated 3 times
Aug 10 18:27:50 hostname kernel: saa7115: decoder set size
Aug 10 18:27:50 hostname zmc-d0[3721]: ERR [Failed to setup memory: Invalid argument]
repeated a whole bunch of times, and zmdc.log says:
Starting pending process, zmc -d 0
'zmc -d 0' started at 04/08/10 18:38:30
'zmc -d 0' starting at 04/08/10 18:38:30, pid = 3849
'zmc -d 0' crashed at 04/08/10 18:38:30, exit status 255
If I understand correctly, zm can not work from an mpeg2 source (which is what is streamed out of /dev/video0 by default).
However, I've tried changing the stream_type setting using ivtvctl to either YUV or VID, but that makes no difference.
Has anyone else managed to get this card to work as a zm source successfully?
(I'm using ivtv-0.1.10-40_pre2_ck100m on fedora core 2 and zm v1.19.4)
Thanks,
Jim