beautypg.com

Software, Device driver and sdk, Windows – Sensoray 812 User Manual

Page 13: Linux

background image

13

Software

Device Driver and SDK

Device driver and SDK including driver API & demo application programs are available

for both Windows and Linux.

Windows

Sensoray Company provides 812 WDM driver and DirectX filter for Windows platform.

The SDK includes the Windows driver, DLL, Demo application & app source code, etc.

It is packaged in a “s812_Vxyz.zip” file for distribution and/or for the customer(s) to

download from Sensoray’s website.

Refer to the “Model 812 Windows SDK User’s Manual” for the SDK, DLL, API, and

programming guide details.

Since the driver is a pre-built and based on the WDM BDA and DirectShow oriented

architecture, the Microsoft GraphEdit utility can be used for building the A/V preview

and/or capturing application. Also, some 3

rd

party freeware/shareware like VLC player

and AMCap software can be used for still/live video capturing and preview.

Linux

The device driver for Linux is provided by Sensoray Company, and supports most of the

commonly used or popular Linux distributions, including

Ubuntu

,

Fedora

,

Linux-Mint

,

openSUSE

, …, etc., with kernel version => 2.6.27. The API complies with standard V4L2

(Video for Linux Version 2), formerly known as V4L (Video for Linux). The API spec and

capturing sample program can be downloaded from following websites:

http://www.linuxtv.org/downloads/legacy/video4linux/API/V4L2_API/spec-single/v4l2.html

http://v4l2spec.bytesex.org/

http://v4l2spec.bytesex.org/spec/book1.htm

http://v4l2spec.bytesex.org/spec/capture-example.html

In addition to the application samples from V4L/V4L2, Sensoray Company provides two

other customized capturing sample/demo programs that demonstrates raw frame

capture and A/V (Video+Audio) capture. Also, a “Sensoray Model 812 Quick-Start

Instruction – Linux” manual is provided in a “Linux-812-SDK” package.

For live video preview and/or capturing, commonly used V4L2 application programs like

XawTV, VLC, MPlyaer, …, etc., can be used for capturing/previewing from each channel

of the 812.

For capturing JPEG frames, MPEG-1/2/4, H.264 or MJPEG video, some 3

rd

party and OSS

libraries/CODECs can be used/integrated in end-user’s application programs. As a good

example, the

FFMPEG

(refer to:

http://ffmpeg.org/

or

http://en.wikipedia.org/wiki/FFmpeg

) is