Can't get more than .5 fps from 4 port card
Posted: Sun Aug 19, 2007 9:01 pm
I am using a PV-143 - 4 port video capture card (30FPS) from Bluecherry and tried lots of different things but can't get over .5 or .6 fps per input. It isn't a big deal but I would like to get some of the jerkiness out. I am running Ubuntu Edgy and played with the bttv card options and tried 77,98,103,171. Only 77 and 98 produced video and 77 seemed to work the best but really didn't make a difference. I also modified the gscanbus setting to 16 but that didn't help either. I increased the shared memory w/o much help
Here are some more settings to hopefully help with troubleshooting.
Any ideas? Thanks Allan
Update: I found that if I delete all but one camera I get 40 fps. Two cameras 1.1 fps. Three cameras .7 fps. Four cameras .5 fps.
Code: Select all
administrator@fileserver:~$ more /proc/sys/kernel/shmall
2097152
administrator@fileserver:~$ more /proc/sys/kernel/shmmax
256000000
Code: Select all
administrator@fileserver:~$ sudo zmu -m 1 -q -v
Monitor 1(Back_Lot)
Id : 1
Name : Back_Lot
Type : Local
Device : /dev/video0
Channel : 0
Format : 1
Width : 320
Height : 240
Palette : 3
Colours : 3
Event Prefix : Event-
Label Format : %%s - %m/%d/%y %H:%M:%S
Label Coord : 0,0
Image Buffer Count : 40
Warmup Count : 25
Pre Event Count : 10
Post Event Count : 10
Alarm Frame Count : 1
Section Length : 3600
Maximum FPS : 4.00
Alarm Maximum FPS : 4.00
Reference Blend %ge : 7
Track Motion : 0
Function: 5 - Continuous Record with Motion Detection
Zones : 1
Id : 1
Label : All
Type: 1 - Active
Shape : 4 points
0: 0,0
1: 319,0
2: 319,239
3: 0,239
Alarm RGB : ff0000
Check Method: 3 - Blobs
Min Pixel Threshold : 20
Max Pixel Threshold : 0
Min Alarm Pixels : 2304
Max Alarm Pixels : 0
Filter Box : 3,3
Min Filter Pixels : 1536
Max Filter Pixels : 0
Min Blob Pixels : 1536
Max Blob Pixels : 0
Min Blobs : 1
Max Blobs : 0
Code: Select all
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "BT878 video (ProVideo PV143)"
type : 0xab [CAPTURE,TUNER,OVERLAY,CLIPPING,SCALES]
channels : 4
audios : 0
maxwidth : 768
maxheight : 480
minwidth : 48
minheight : 32
Code: Select all
sudo xawtv -hwscan
/dev/video0: OK
type : v4l2
name : BT878 video (GrandTec Multi Cap
flags: overlay capture
Video Capabilities
Name: BT878 video (GrandTec Multi Cap
Type: 171
Can capture
Can tune
Overlay onto frame buffer
Can clip
Scalable
Video Channels: 4
Audio Channels: 0
Maximum Width: 768
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 3 - 565 16 bit RGB
Colour Depth: 16
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Composite0
Channel: 0
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
Channel 2 Attributes
Name: Composite2
Channel: 2
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
Channel 3 Attributes
Name: Composite3
Channel: 3
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
Update: I found that if I delete all but one camera I get 40 fps. Two cameras 1.1 fps. Three cameras .7 fps. Four cameras .5 fps.