Home    MontiVision DirectShow SDK Documentation Prev Next
MontiVision Development Kit
Product Release Notes
What's new?
Installation
Overview
Components
The MontiVision Workbench
How to use the Workbench
How to insert an Filter
How to make a connction between two filter
How to change filter properties
How to get mediatypes of a pin or connection
How to delete a connection
How to delete a filter
How to find a filter
How to select a filter, pin or connection
How to make a video visible
How to preview a video stream
Workbench Menus and Commands
File menu commands
Edit menu commands
View menu commands
Graph menu commands
Extras menu commands
Help menu commands
Context menu commands
Status Bar
Toolbar
Sorting Filters
MontiVision DirectShow Filter
Common filter functions
MV Absolute Difference
MV Advanced Optical Flow
MV Affine Transformation
MV Alignment
MV Audio Test Source
MV Batch Image File Source
MV Background Subtraction
MV Bayer To Gray
MV Bayer To RGB
MV Bitmap Overlay
MV Blob Counter
MV Blob Finder
MV BlockRecording
MV Buffer Access
MV Camera Calibration
MV Camera Syncronisation
MV Camera Undistortion
MV Color Filter
MV Color Channel Mixer
MV Color Space Converter
MV Color To Gray
MV Color Twist
MV Constant Framerate
MV Convolution
MV Cooccurrence
MV Crop
MV Deinterlace
MV DeInterlace Temporal
MV Delay
MV Demo Source
MV Demultiplexer
MV DPS Renderer
MV DPS Source
MV Dyadic Arithmetic
MV Dyadic Logic
MV Fast Color Filter
MV Frame Access
MV Gauge
MV GDI Overlay
MV Gray To Color
MV Image File Source
MV Image Grabber
MV Image File Renderer
MV Integral
MV Inverse
MV I/O Bool Source
MV I/O Comparator
MV I/O Logic
MV I/O Not
MV I/O Renderer
MV I/O RS232
MV I/O RS232 Trigger Source
MV I/O Switch Source
MV I/O Textfile Renderer
MV I/O Textfile Source
MV I/O To String
MV IP Camera Source
MV Look Up Table
MV Mean
MV Mean Profile
MV Merge Frames
MV Mirror
MV MJPEG Compressor
MV MJPEG Decompressor
MV Mondic Arithmetic
MV Mondic Logic
MV Morphology
MV Motion Detection
MV Motion Direction
MV Multi File Writer
MV Network Renderer
MV Network Source
MV Nonlinear Filter
MV Object Tracker
MV Optical Flow
MV Playlist Source
MV Polar
MV Presence Detection
MV Profile
MV Recording
MV ReInterlace
MV Resize
MV Resized Rotation
MV Rotate90
MV Rotation
MV Segmentation
MV Select Mediatype
MV Separate Fields
MV Smooth Sequence
MV Splitter
MV Text Overlay
MV Ticker Overlay
MV Topography
MV Trigger Source
MV Video File Overlay
MV Video Overlay
MV Video Scaler
MV Watchdog
MV Zoom
Filter Event Mechanism
MontiVision DirectShow Filter SDK
Create a new Filter SDK DLL
Implement your custom Algorithm
Register the Filter SDK DLL
Use the new DirectShow Filter
Debugging a DirectShow Filter
Configure a Filter SDK DirectShow Filter
MontiVision Smart ActiveX Control
MV Smart Control Functions
MV Smart Control Interfaces
IMVSmartControl
IMVSCFilterGraph
IMVSCFilterGraph2
IMVSCVideoWindow
IMVSCVideoWindow2
IMVSCFullScreen
IMVSCSetFile
IMVSCSetSourceFilter
IMVSCSelectInput
IMVSCSetupVideoStream
IMVSCSetupVideoStream2
IMVSCClock
IMVSCFilterProperties
IMVSCLog
IMVSCCameraControl
IMVSCFilterEvents
IMVSCMediaSeeking
IMVSCMediaSeeking2
IMVSCQualityProperties
IMVSCFilterData
IMVSCCommonProperties
IMVSCExtDeviceControl
IMVSCVideoControl
IMVSCAnalogVideoFormat
IMVSCTVTuner
IMVSCTVAudio
Application Development with the MV Smart Control
Visual Basic 6.0
Visual Basic .NET
Visual C++ 6.0
Visual C++ .NET
Borland Delphi
MV Smart Control Samples
AviPlay Sample
CropVideo Sample
DirFinder Sample
FindObject Sample
FullScreen Sample
ImageStream Sample
IP Camera Sample
LiveDraw Sample
LoadFromString Sample
LumeneraCameraProperties Sample
MotionDetection Sample
PutBitmap Sample
SendReceiveRS232 Sample
MV Smart Control How To's
How to handle Input Events (Mouse, Keyboard) of the Video Window
How to Select and Configure a Video Input Device
How to handle Multiple Video Outputs
How to use Fullscreen Functionality
How to access the Results of a MontiVsion DirectShow Filter
MontiVision Utility ActiveX Controls
Video Source Combo Box
Video Format Combo Box
Video Size Combo Box
Input Selection Combo Box
Frame Rate Combo Box
Seeking Slider
Filter Property Page Display
Trigger Button
MontiVision I/O Controls
MVIODisplay
MVIOMonitor
MVIOLed
MVIOOutput
VMR Wrapper ActiveX Control
MV VMR Wrapper Interfaces
IMVVMRWrapper
IMVVMRFilterConfig
IMVVMRMixerControl
IMVVMRMixerBitmap
MV VMR Wrapper Sample Applications
VMR Control Sample
VMR Bitmap Overlay Sample
Extended Video Source ActiveX Control
MV Extended Video Source Control Interfaces
IMVExtendedVideoSource Interface
IMVLumeneraCustomConfig Interface
_IMVExtendedVideoSourceEvents Interface
MontiVision Tools
Getting Started
Create a MontiVision Project
Create a MontiVision Project using the MontiVision Workbench
Create new DirectShow Filters using the MontiVision Filter SDK
Use the new DirectShow Filter in your MontiVision Project
Integrate the MontiVision Project into your Application
Distribute your Application
Distributing your Applications
Application Development Examples
Apply standard Image Processing Operators to a Video Stream
Process a Sequence of Still Images, Do Batch Processing
Make your Existing Algorithms DirectShow compatible
Creating your own Image/Video Processing DirectShow Filters
Access the Image Data of a Video Stream directly from within a Windows Application
Capture Still Images from a running Video Stream
Convert a Video Stream to a Sequence of Still Images or vice versa
Sample Applications using the Smart Control
Camera Calibration
Additional HowTo's
How to Set Up Visual C++ for the MontiVision Development Kit
How to Set Up Borland Delphi for the MontiVision Development Kit
How to Set Up Borland Delphi 2005 for the MontiVision Development Kit
Interface Reference
_IMVFilterPropertyControlEvents
_IMVSeekingSliderEvents
_IMVSmartControlEvents
_ISelectInputComboBoxEvents
_IVideoFormatComboBoxEvents
_IVideoSizeComboBoxEvents
_IVideoSourceComboBoxEvents
IMVAbout
IMVAdvancedOpticalFlow
IMVAdvancedOpticalFlow2
IMVAffineTransformation
IMVAlignment
IMVAudioTestSource
IMVAutoCalcSetup
IMVBackgroundSubtraction
IMVBatchFileSource2
IMVBatchFileSource3
IMVBatchFileSource
IMVBinary
IMVBitmapOverlay
IMVBitmapOverlay2
IMVBlobCounter
IMVBlobCounter2
IMVBlobCounter3
IMVBlobCounter4
IMVBlobFinder
IMVBlobFinder2
IMVBlobFinder3
IMVBlobPostProcessing
IMVBlobPreProcessing
IMVBlockRecording
IMVBufferAccess
IMVBufferAccessCallbackC
IMVBufferAccessCallbackVB
IMVCameraCalibration
IMVCameraSync
IMVCameraUndistortion
IMVColor
IMVColorChannelMixer
IMVColorTwist
IMVConstantFramerate
IMVConvolution
IMVCooccurrence
IMVCrop
IMVCrypt
IMVDeinterlace
IMVDeInterlaceTemporal
IMVDelay
IMVDemoSource
IMVDemoSource2
IMVDPSRenderer
IMVDPSSource
IMVDyArith
IMVDyLogic
IMVEnumAudioEncoder
IMVEnumVideoEncoder
IMVFastColor
IMVFilterData
IMVFilterEvents
IMVFilterInfo
IMVFilterPropertyControl
IMVFilterSDK
IMVFrameAccess
IMVFrameAccessCallbackC
IMVFrameAccessCallbackVB
IMVGauge
IMVGaugeCalculations
IMVGDIOverlay
IMVGray
IMVGrayToColor
IMVGrid
IMVHistogram
IMVHistogram2
IMVHistogram3
IMVImageCapture
IMVImageCapture2
IMVImageCapture3
IMVImageFileSource
IMVImageFileSource2
IMVImageFileSource3
IMVImageInfo
IMVIntegral
IMVIOBoolSource
IMVIOBoolSource2
IMVIOComparator
IMVIOIntRenderer
IMVIOIntSource
IMVIOIntSource2
IMVIOLogic
IMVIONot
IMVIORenderer
IMVIORS232
IMVIORS232DataASCII
IMVIORS232DataHex.htm
IMVIORS232RxTxConnection
IMVIORS232TriggerSource
IMVIOSwitchSource
IMVIOTextfileRenderer
IMVIOTextfileSource
IMVIOToString
IMVIPCameraSource
IMVIPCameraSource2
IMVLinFilter
IMVLookUpTable
IMVMask
IMVMean
IMVMeanProfile
IMVMerger
IMVMirror
IMVMonArith
IMVMonLogic
IMVMorphology
IMVMotionDetection
IMVMotionDetection2
IMVMotionDirection
IMVMultiFileWriter
IMVNetworkReceiveInfo
IMVNetworkRenderer
IMVNetworkRenderer2
IMVNetworkRenderer3
IMVNetworkSendInfo
IMVNetworkSource
IMVNetworkSource2
IMVNonLinFilter
IMVObjectTracker
IMVOpticalFlow
IMVOpticalFlow2
IMVPlaylist
IMVPlaylistSource
IMVPolar
IMVPresenceDetection
IMVProfile
IMVRecording
IMVRegionOfInterest
IMVReinterlace
IMVResize
IMVResizedRotation
IMVRotate90
IMVRotation
IMVSCAnalogVideoFormat
IMVSCCameraControl
IMVSCCommonProperties
IMVSCClock
IMVSCExtDeviceControl
IMVSCFilterData
IMVSCFilterEvents
IMVSCFilterGraph
IMVSCFilterGraph2
IMVSCFilterProperties
IMVSCFullScreen
IMVSCLog
IMVSCMediaSeeking
IMVSCMediaSeeking2
IMVSCQualityProperties
IMVSCSelectInput
IMVSCSetFile
IMVSCSetSourceFilter
IMVSCTVTuner
IMVSCTVAudio
IMVSCVideoControl
IMVSCSetupVideoStream
IMVSCSetupVideoStream2
IMVSCVideoWindow
IMVSCVideoWindow2
IMVSeekingSlider
IMVSetImageFormat
IMVSmartControl
IMVSeparateFields
IMVSmoothSequence
IMVTextOverlay
IMVTextOverlay2
IMVTextOverlay3
IMVTickerOverlay
IMVTickerOverlay2
IMVTopography
IMVTrigger
IMVTriggerFilter
IMVVideoFileOverlay
IMVVideoScaler
IMVVMRFilterConfig
IMVVMRMixerBitmap
IMVVMRMixerControl
IMVVMRWrapper
IMVWatchdog
IMVZoom
IMVZoomConfig
ISelectInputComboBox
IVideoFormatComboBox
IVideoSizeComboBox
IVideoSourceComboBox

IMVIPCameraSource

The IMVIPCameraSource interface contains methods and properties to configure the MV IP Camera Source filter.

 

Methods:

Address Cameras IP address.
CGIFile File on server (cgi).
CGIParameters CGI parameters.
Domain Cameras domain.
GetAverageBPS Get average data rate (bytes/second).
GetCurrentBPS Get current data rate (bytes/second).
GetFPS Get average number of frames/second.
GetKBReceived Get number of kilobytes received.
GetNumImages Get number of images received.
GetNumOfPackets Get number of packets received.
GetNumOfReconnects Get number of reconnects since start.
GetSocketState Get current socket state.
InitConnection Initialize connection, get video size.
IsInitialized Is connection initialized?.
Password User password.
Port Cameras TCP port.
ResetStatistics Reset statistics.
Timeout Reconnect after X seconds idle time.
URL Setting the URL initializes the connection and the filters output pin.
User User login.

 

Header file: IMVIPCameraSource.h
Interface definition language file: IMVIPCameraSource.idl
Typelib: MVIPCameraSource
Interface ID: IID_IMVIPCameraSource

 

Property IMVIPCameraSource::Address

Declaration: Property Get/Put Address As String

Cameras IP address.

C Prototype:

HRESULT put_Address(BSTR newVal);
HRESULT get_Address(BSTR *pVal);


Property IMVIPCameraSource::CGIFile

Declaration: Property Get/Put CGIFile As String

File on server (cgi).

C Prototype:

HRESULT put_CGIFile(BSTR newVal);
HRESULT get_CGIFile(BSTR *pVal);


Property IMVIPCameraSource::CGIParameters

Declaration: Property Get/Put CGIParameters As String

CGI parameters.

C Prototype:

HRESULT put_CGIParameters(BSTR newVal);
HRESULT get_CGIParameters(BSTR *pVal);


Property IMVIPCameraSource::Domain

Declaration: Property Get/Put Domain As String

Cameras domain.

C Prototype:

HRESULT put_Domain(BSTR newVal);
HRESULT get_Domain(BSTR *pVal);


Method IMVIPCameraSource::GetAverageBPS

Declaration: Function GetAverageBPS As Long

Get average data rate (bytes/second).

C Prototype:

HRESULT GetAverageBPS(LONG* value);


Method IMVIPCameraSource::GetCurrentBPS

Declaration: Function GetCurrentBPS As Long

Get current data rate (bytes/second).

C Prototype:

HRESULT GetCurrentBPS(LONG* value);


Method IMVIPCameraSource::GetFPS

Declaration: Function GetFPS As Double

Get average number of frames/second.

C Prototype:

HRESULT GetFPS(DOUBLE* value);


Method IMVIPCameraSource::GetKBReceived

Declaration: Function GetKBReceived As Empty

Get number of kilobytes received.

C Prototype:

HRESULT GetKBReceived(EMPTY* value);


Method IMVIPCameraSource::GetNumImages

Declaration: Function GetNumImages As Empty

Get number of images received.

C Prototype:

HRESULT GetNumImages(EMPTY* value);


Method IMVIPCameraSource::GetNumOfPackets

Declaration: Function GetNumOfPackets As Empty

Get number of packets received.

C Prototype:

HRESULT GetNumOfPackets(EMPTY* value);


Method IMVIPCameraSource::GetNumOfReconnects

Declaration: Function GetNumOfReconnects As Long

Get number of reconnects since start.

C Prototype:

HRESULT GetNumOfReconnects(LONG* value);


Method IMVIPCameraSource::GetSocketState

Declaration: Function GetSocketState As Long

Get current socket state.

State

Value

Description
MV_SOCKET_DISCONNECTED

0

Disconnected
MV_SOCKET_CONNECTED

1

Connected
MV_SOCKET_RECEIVING

2

Receiving
MV_SOCKET_IDLE

3

Idle
C Prototype:

HRESULT GetSocketState(LONG* value);


Method IMVIPCameraSource::IsInitialized

Declaration: Function IsInitialized As Boolean

Is connection initialized?.

C Prototype:

HRESULT IsInitialized(VARIANT_BOOL* value);


Property IMVIPCameraSource::Password

Declaration: Property Get/Put Password As String

User password.

C Prototype:

HRESULT put_Password(BSTR newVal);
HRESULT get_Password(BSTR *pVal);


Property IMVIPCameraSource::Port

Declaration: Property Get/Put Port As Long

Cameras TCP port.

C Prototype:

HRESULT put_Port(LONG newVal);
HRESULT get_Port(LONG *pVal);


Method IMVIPCameraSource::ResetStatistics

Declaration: Sub ResetStatistics

Reset statistics.

C Prototype:

HRESULT ResetStatistics();


Property IMVIPCameraSource::Timeout

Declaration: Property Get/Put Timeout As Long

Reconnect after X seconds idle time.

C Prototype:

HRESULT put_Timeout(LONG newVal);
HRESULT get_Timeout(LONG *pVal);


Property IMVIPCameraSource::URL

Declaration: Property Get/Put URL As String

Cameras URL. If setting the URL succeeds, the filter is initialized and ready to connect its output pin to e.g. a video decoder.

When using the Smart ActiveX Control to create an application, the URL can be set on the Smart Controls OnFilterCreated event.

C Prototype:

HRESULT put_URL(bstr newval);
HRESULT get_URL(bstr *pval);


Property IMVIPCameraSource::User

Declaration: Property Get/Put User As String

User login.

C Prototype:

HRESULT put_User(BSTR newVal);
HRESULT get_User(BSTR *pVal);