Software, Feature summary – Sensoray 2250 Linux Ver2.0.X User Manual

Page 3

Advertising
background image

Software

Feature Summary

The 2250 uses the standard Video4Linux2 (V4L2) API through a Linux kernel module. A

full-featured console demo application allows recording of MPEG video on the host
computer, and control of the compression and video settings. The Video4Linux2 API

allows use of the device with V4L2-compliant Linux applications. The kernel module
also provides an Advanced Linux Sound Architecture (ALSA) interface.

For migration from older 2250 SDK, an included C SDK can be used to integrate video
capture into any application. The SDK allows maximum flexibility by providing an API

for all the 2250’s functions. The source code of the demo application is a suggested
starting point for custom application development.

Installation

The software may be distributed on a CD or downloaded from the Sensoray’s web site.
If the file is downloaded, it will need to be unzipped into a folder on the local drive prior

to connecting the 2250 to the USB port.

The SDK has been developed on Ubuntu LTS and support is provided for this

distribution. The SDK may work on other Linux versions, but this is not guaranteed.

The package libasound2-dev must be installed. On Ubuntu, type “apt-get install

libasound2-dev” if it is not currently installed. On other distrubutions, install
libasound2-dev from the CD or otherwise.

Setup is performed as follows.

1) untar the tgz file. “tar xvfz sdk-2250-linux_vXYZ.tgz” where XYZ is the version

of the SDK.

2) “cd sdk-2250-linux_vXYZ“ where XYZ is the version.

3) Type “make”

4) Type “make install” (enter password as prompted by sudo, or switch to root

user before executing)

5) “./sraydemo” runs the demo application.

Advertising
This manual is related to the following products: