background image

 
Copyright © 2016  Lintest Systems, LLC – All rights reserved                                                                                09/17/2016 

 

   

 

 

 

Using PiCapture 

Because PiCapture works by emulating the Raspberry Pi Camera, you can use the same software that you would 
normally use with a camera.  For example, raspivid and the picamera library will both work with PiCapture.  
There are some important considerations when using this software: 

-

 

You should use the status LEDs on the PiCapture board to verify that it is operating properly and 
receiving video.  If the Blue “Video Detected” LED is not lit, you may receive an MMAL error if you 
attempt to capture video. 

-

 

The resolution of the “camera mode” selected should correspond to the resolution of the video source.  
For PiCapture SD1, this is always 640x480. 

-

 

The Raspberry Pi camera drivers will attempt to “correct” the video received as if it were the camera.  It 
will improve the quality of the PiCapture image to disable some of these functions.  As an example, the 
Automatic White Balance function does not generally help with PiCapture. 
 

The following command will show 640x480 video in a preview window, with the AWB and exposure control 
functions turned off: 

raspivid  –md 6 –awbg 1.0,1.0 –awb off –ex off -o 

It is recommended that you use these command line switches for the highest quality video captures. 
 
Captured video can be optimized by using other command line switches available in raspivid such as --

sharpness 

(-sh),

 

--contrast (-co)

--brightness (-br)

, and 

--saturation (-sa)

.  Consult the raspivid documentation for more 

information. 

The Raspberry Pi camera has a variety of different modes.  The PiCapture SD1 will only produce video from 
standard definition NTSC and PAL sources, sampled to 640x480 resolution.  It is recommended to use “mode 6” 
for raspivid, raspistill, or other programs using the mmal drivers. 

Because the frame rate is dependent upon the video source, playback of a recorded video may not be at the 
same rate and it will likely appear to be “slowed down”.  One way to correct this is through the use of a program 
“MP4box”, which will package the recorded video with a wrapper that specifies the frame rate. 

To install this software, use the command: 

 

sudo apt-get install gpac 

Then, run the program using: 

 

MP4Box –fps 60 –add xxx.h264 yyy.mp4 

This takes an h.264 format video named “xxx” and create an mp4 file named “yyy” with the frame rate specified.  

PiCapture has multiple video inputs, and will attempt to search these inputs for a valid source automatically.  As 
an alternative, you can specify the desired source using the PiVideo control software or from application 
software using the PiVideo class.  Not all combinations of source inputs are valid.   

With the PiCapture SD1 you could have: 

-

 

Three independent composite sources 

-

 

An S-Video source, and one additional composite source 

-

 

A single YPbPr component video source. 

Содержание PiCapture SD1

Страница 1: ...Copyright 2016 Lintest Systems LLC All rights reserved 09 17 2016 PiCapture SD1 Standard Definition Video Capture for the Raspberry Pi User Documentation v1 0...

Страница 2: ...enabled since CPU intensive USB capture devices are not required The PiCapture SD1 captures standard definition interlaced video in the CVBS standard NTSC PAL from Composite S Video and YPbPr Componen...

Страница 3: ...nent Input Connectors 3 RCA Phono Used for composite or component inputs 1 Mini DIN S Video Shared with RCA connectors 1 and 2 Status Indicators Red ACTIVE LED Camera active indicator same as Raspberr...

Страница 4: ...e the PiCapture board to the Raspberry Pi Note that the size of the mounting holes may vary slightly and it may be necessary to gently ream out the holes slightly for the screws to fit 3 Check the int...

Страница 5: ...ontrolled using software provided through either the I2C or Asynchronous Serial Interface ports This flexibility is provided so that the PiCapture board is compatible with other devices or application...

Страница 6: ...n be optimized by using other command line switches available in raspivid such as sharpness sh contrast co brightness br and saturation sa Consult the raspivid documentation for more information The R...

Страница 7: ...is operating properly BLUE Indicates that input video has been detected and is available to the Raspberry Pi Note that if you attempt to capture video when the blue light is not on you may receive an...

Страница 8: ...ions port selected by jumpers verbose v Show detailed messages query q Query the status of the video processor source s auto video1 video2 video3 svideo component Set the video source input In auto mo...

Страница 9: ...erial port interface is required to apply software updates to the PiCapture video processor The simplest interface to use for all other operations is I2C 1 From the desktop navigate Menu Preferences R...

Страница 10: ...the PiCapture board are in place to enable the desired I2C port connection Installing the PiCapture control software It is recommended that you use pip to install the control software directly from th...

Страница 11: ...ct modification or neglect damage occurring during shipment damage from failure to follow instructions contained the owner s guide damage resulting from the performance of repairs by someone not autho...

Отзывы: