SENSORAY CO., INC. PCI MPEG Capture Device. Model 616 AVStream DirectShow Programming Manual. July, 2007

Similar documents
PCIe/104 or PCI/104-Express 4-Channel Audio/Video Codec Model 953 User's Manual Rev.C September 2017

INSTRUCTION MANUAL. Sensoray Model 720RB/DIN. Relay I/O Board (Rev A) October 12, 2001

Embeddable Digital Video Recorder with Incremental Encoder Interface. Hardware Manual

USB HD Audio/Video Codec Model 2263 Hardware Manual Ver October 2013

Sensoray Model 627 CompactPCI to PCI Adapter

HD/SD H.264 Capture Device (H.264 Video Encoder + Decoder) User s Manual Model 2226 Rev.A March 2010

HD/SD H.264 Capture Device (SDI HD/SD H.264 Video Encoder) User s Manual Model 2224 Rev.0 September 2013

Sensoray Model 623 PC/104+ to PCI Adapter. Revised December 19, Sensoray Model 623 Instruction Manual 1

PC/104+ to PCMCIA PC-Card/CardBus Adapter. Model 335 (Rev.A)

PCI-Express 8-Channel Frame Grabber. Software Manual (Windows)

SMARTCAPTURE USB 2.0 BASED, AUDIO VIDEO CAPTURE, H.264/AAC ENCODER. Manual v1.0

IVC-100/100G & IVC-200/200G & IVC-120/120G & PM-1056

User s Manual PV-CX881P. For DOC NO: P-01 02/01/21

3-4 SAS/SATA II HDD Canister Entry version USER S MANUAL XC-34D1-SA10-0-R. Document number: MAN A

MP-6100 User s Manual

Installation Operation & Specifications Manual. General Description

Prime Service Catalog: UCS Director Integration Best Practices Importing Advanced Catalogs

InLinK HM Setup Software Installation & Operation Manual

Quick Install Guide. Wireless-G Network PCI Adapter. WLP54G 3a

PCLinq2 (PL-2501) Hi-Speed USB Bridge Cable End-User s Manual Guide

MP-878D Series. Mini-PCI Video Capture Card. User s Manual. Edition Release Date /01/ /06/ /09/22

Setting up Java environment for Project Capuchin development with Sony Ericsson phones

Microcat Authorisation Server (MAS ) User Guide

Cisco Unified Communications Self Care Portal User Guide, Release

Spout to NDI. Convert between Spout and Newtek NDI sources. Using the Newtek NDI SDK. Version 2.

MFL QUICK START MANUAL

USER MANUAL for USB2.0 to Data Link. USB2.0 Data Link Cable

PageScope Box Operator Ver. 3.2 User s Guide

MicroLink Installation Operation & Specifications Manual. General Description

FW Update Tool. Installation Guide. Software Version 2.2

Stonesoft User Agent. Release Notes for Version 1.1.3

ForwardT. Software setup. SoftLab-NSK, Ltd. Revision from 09 September 2005 ForwardT Software 3.9.0

SonicWALL CDP 2.1 Agent Tool User's Guide

Cisco Unified Communications Manager Device Package 10.5(1)( ) Release Notes

AN10942 MFRX852 Evaluation Board- Quick start up Guide

Release Notes DirectShow Driver September 22, 2010

Cisco Unified Communications Self Care Portal User Guide, Release 11.5(1)

USER S MANUAL Multi-LinQ USB2.0

Configuring Adobe Premier Pro CS6 for iofx

StoneGate IPS. Hardware Requirements for Version 5.2.0

ETConcept Systems Engineering. User s Guide

ONVIF Device Test Tool v12.06 Installation Guide

UM PR533 - PCSC Tool. User manual COMPANY PUBLIC. Rev November Document information

Media Suite Version Release Notes

Release Notes DirectShow Driver July 12, 2010

USER MANUAL USB Bluetooth Adapter

Procedure for Updating LRRS Software and Installing LS-35-R Series License Files

Cisco TelePresence Management Suite Extension for Microsoft Exchange Software version 5.7. User Guide July 2018

Small Logger File System

FX RFID READER SERIES Embedded SDK Sample Application

This package contains: 1 UC-232A USB-to-Serial Converter 1 Installation Disk 1 User Manual If anything is damaged or missing, contact your dealer.

StoneGate Firewall/VPN How-To Installing and Activating StoneGate FW/VPN in VMware ESX Server

Cisco TelePresence Management Suite Extension for Microsoft Exchange Software version 3.1

Stellar Phoenix. Repair for SQLite 1.0 User Guide

Instruction Manual. HH610-SW Application Software for Portable & Bench Meters

Osprey 700e/710e HD Multimedia Capture Driver

IVC-100/100G & IVC-200/200G & IVC-120/120G

Watch 4 Size v1.0 User Guide By LeeLu Soft 2013

DVP-7020BE 16 Channel PCI-bus Surveillance Capture card

Storage and Network Calculator Software

SATA II HDD Canister KISS DA 435 Quick Reference Guide

T-Invoicer User Guide

FlyTV MCE Installation Guide Animation Technologies Inc.

PetaLinux SDK User Guide. Firmware Upgrade Guide

Nero Digital Branding Guidelines

H-UC232S USB Serial Converter

Nokia Client Release Notes. Version 2.0

Application Launcher User Guide

Before attempting to connect or operate this product, please read these instructions carefully and save this manual for future use.

TRUST USB VIDEO EDITOR

Security Removable Media Manager

StoneGate IPsec VPN Client Release Notes for Version 5.0.1

Migrating BlackBerry-enabled mailboxes from Microsoft Exchange 5.5 to Microsoft Exchange 2000

Upgrading BankLink Books

Cisco TelePresence Management Suite Extension for Microsoft Exchange Software version 5.0

Backup and Restore Guide for Cisco Unified Communications Domain Manager 8.1.3

C (1) Remote Controller. Setup software RM-IP Setup Tool guide Software Version Sony Corporation

Release Notes DirectShow Driver September 22, 2010

Cisco Jabber IM for iphone Frequently Asked Questions

BlackBerry Demonstration Portlets for IBM WebSphere Everyplace Access 4.3

SysInfoTools NSF Duplicate Remover

SmartScan. Barcode Translator for QuickBooks USER S MANUAL

Copyright 2010 by Microtek International, Inc. Trademarks. Important. All rights reserved.

Copyright 2003 PMS Video Ltd. All Rights Reserved. Jan Please address comments or questions to:

Tanium Map User Guide. Version 1.0.0

KingStar Motion 2.1 SDK and Runtime Installation Guide

Intel Stress Bitstreams and Encoder (Intel SBE) 2017 AVS2 Release Notes (Version 2.3)

AT&T Release Notes. Enhanced Web Real-Time Communication (WebRTC) API. Publication Date: August 2015

User Manual of MIP HikAssistant Plug-ins. MIP HikAssistant Plug-ins. User Manual

Application Note. DN [Document ID] AS72xx. How to Program AS72xx Firmware with FlashCatUSB. ams Application Note Page 1

Cisco StadiumVision Management Dashboard Monitored Services Guide

Osprey PCI Series Multimedia Capture Driver Release Notes Driver Version

congatec Application Note

USB Personal Video Recorder. USB Hybrid TV Tuner. (USB2.0 / 1.1 PNP TV Capture Box) UAD-880 User s Guide

Streaming with Project Capuchin for Adobe Flash Lite developers

RS-485 Fiber-Optic Link RS-485 to Multi-Mode Fiber-Optic converter ST Fiber Connectors DIN Rail Mount

UM EEPROM Management of PN746X and PN736X. User manual COMPANY PUBLIC. Rev February Document information

Cisco Meeting App. Cisco Meeting App (OS X) Release Notes. July 21, 2017

Cisco UC Integration for Microsoft Lync 9.7(4) User Guide

Security Removable Media Manager

Transcription:

SENSORAY CO., INC. PCI MPEG Capture Device Model 616 AVStream DirectShow Programming Manual July, 2007 Sensoray 2007 7313 SW Tech Center Dr. Tigard, OR 97223 Phone 503.684.8073 Fax 503.684.8164 sales@sensoray.com www.sensoray.com 1

Table of Contents LIMITED WARRANTY...3 INTRODUCTION...4 Feature Summary...4 SOFTWARE...4 Installation...4 SDK Reference...6 Release Notes...6 Overview...6 Pin Formats...7 Interfaces supported...7 Demo Application...9 2

Limited warranty Sensoray believes that the information in this manual is accurate. The document has been carefully reviewed for technical accuracy. In the event that technical or typographical errors exist, Sensoray reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition. The reader should consult Sensoray if errors are suspected. In no event shall Sensoray be liable for any damages arising out of or related to this document or the information contained in it. EXCEPT AS SPECIFIED HEREIN, SENSORAY MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF SENSORAY SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER. SENSORAY WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEROF. Third party brands, names and trademarks are the property of their respective owners. 3

Introduction The 616 AVStream driver and SDK allows DirectShow graphs to be built to capture data using the 616 board. Is a supplement to the WDM 616 driver, not a replacement. Sensoray will continue to support the 616 WDM Windows driver in addition to the 616 AVStream driver. DirectShow by nature is a complex API. Additionally, some DirectShow filters may be buggy or interpret the standard differently. Connecting DirectShow pins is highly filter dependent and not driver dependent. Because of these issues, Sensoray can make no guarantees that it s AVStream driver will be compatible with third-party applications. The reality is that many capture drivers will not work with all third-party applications. Sensoray provides a DirectShow demo application using standard DirectShow components, which displays RAW preview (on capable video cards) and captures MPEG. The 616 AVStream driver requires a DirectX9 capable video card capable of rendering UYVY format. Feature Summary MPEG1/2 capture at full frame rate and full resolution. Raw YUV preview. Composite or S-video inputs. Free Windows driver and demo application. Software Installation The software may be distributed on a CD or downloaded from Sensoray s web site. If the file is downloaded, it will need to be unzipped into a folder on the local drive. After windows first loads with the 616 plugged in, a Windows Found new hardware dialog appears. Select an option that allows specifying the driver location ( Install from a list or specific location ), click on Browse button and select the \Drivers subfolder of the Sensoray 616 software disk or the folder where the downloaded file was unzipped to. If a Windows Logo testing not 4

passed warning is displayed, click the Continue anyway button. The driver files will be copied and installed on your computer. If the 616 was already plugged in and found new hardware was cancelled or the WDM driver was installed, open the control manager and select the 616 device. From there, select update driver and follow the standard driver installation procedure above. Run the setup program (setup.exe) from the distribution disk or folder. Software components, including a demo application with the source code, will be installed into the /Program Files/Sensoray/616av folder. The drivers will also be installed in the above folder. 5

SDK Reference Release Notes V.1.01: Initial release Overview The demo program builds the DirectShow graph below: The crossbar allows selection of S-Video/Composite inputs on the 616. The Capture device has 2 pins. The preview pin for the 616 is always the raw uncompressed stream. The Capture pin is for the mpeg stream. The MPEG stream connects directly to the DirectShow dump filter. The dump filter source code is provided in the DirectX SDK under %DXSDK_DIR%\dxsdk\samples\c++\directshow\filters\Dump 6

Pin Formats The primary format for the pins is as follows. Preview Pin ( Preview ) Uncompressed majortype : MEDIATYPE_Video subtype: MEDIASUBTYPE_UYVY formattype: FORMAT_VideoInfo2 NTSC: 640x480 PAL: 704x576 Capture Pin ( Capture ) MPEG majortype: MEDIATYPE_Stream subtype: MEDIASUBTYPE_MPEG2_PROGRAM formattype: KSDATAFORMAT_SPECIFIER_MPEG2_VIDEO Interfaces supported IAMAnalogVideoDecoder put_tvformat (AnalogVideo_NTSC_M, AnalogVideo_PAL_B) IAMVideoProcAmp Set (VideoProcAmp_Brightness, value, VideoProcAmp_Flags_Manual) Set (VideoProcAmp_Contrast, value, VideoProcAmp_Flags_Manual) Set (VideoProcAmp_Saturation, value, VideoProcAmp_Flags_Manual) Default VideoProcAmp values DEFAULT_BRIGHTNESS = 128; DEFAULT_CONTRAST = 64; DEFAULT_SATURATION = 64; IAMCrossbar Route( 0, 0) // Composite Video 7

Route( 0, 1) // S-video IX16Cfg GetAttr: Gets current attribute in driver SetAttr : Sets attribute(see below) GetGpio: Gets current Gpio byte SetGpio: Sets Gpio value byte Attributes: Video Bitrate ATTR_video_bitrate = 10 Set the bitrate from 60000 to 9000000 (9Mbit/s) GOP size ATTR_video_m = 16 Set the GOP size. From2 to 30. Default 8 MPEG compression and size ATTR_mpeg = 26 enum{ COMP_MPEG2D1 = 0, COMP_MPEG1_SIF = 3, COMP_MPEG1_QSIF = 4, COMP_MPEG2H720 = 5, COMP_MPEG2VGA = 6, // NOT supported for PAL } compression_values_t; Stream Type ATTR_stream_type = 27 Value = 0 Multiplexed A/V Value = 1 Video Only (MPEG compression) 8

Demo Application The demo application was designed to show basic configuration and usage of the AVStream driver. A screen shot of the demo application is shown below: The stream is stopped and started with the Stream Control functions. Different filter graphs are built based on different settings. For example, Preview only will build a different graph than Record MPEG and Preview, which builds a different graph than Record MPEG only. The code for building the graphs is shown clearly in the file app-x16-avstreamdlg.cpp in the demo application directory. 9

The other functions are self-explanatory except that all settings except Video Proc Amp must be changed prior to starting the stream. Video Proc Amp values (brightness, contrast, saturation) are changed after the stream has started. Modifications to the program can allow additional features. For instance, to change Video Proc Amp settings before starting the graph, the developer could create a so-called setting graph first where only the crossbar and avcapture graphs are added and the interfaces queried. The demo application uses Smart Pointers to query interfaces. Smart Pointers are the recommended method for interface querying. This eliminates the possible of memory leaks, which can be difficult to track in DirectShow/COM programming. 10