The MontiVision IP Camera Source filter captures MJPEG and MPEG4 streams from network IP cameras.
Some example URLs:
| File: | IPCameraSource.ax |
| CLSID: | CLSID_MVIPCameraSource |
Supported Interfaces
ISpecifyPropertyPages
IConnectionPointContainer
IPersistStream
Supported COM Events
Events:
| Event |
Value |
Description |
| MV_ALGORITHM_START_EVENT |
0 |
The filter is waiting for new image data. |
| MV_ALGORITHM_END_EVENT |
1 |
The filter received enough data for a new image. |
| MV_IP_CAMERA_RECONNECT_EVENT |
30 |
The network connection timed out and the filter tries to reconnect. |
| MV_IP_CAMERA_INITIALIZED_EVENT |
31 |
The filter is initialized and its output pin is ready to get connected. |
| MV_IP_CAMERA_GIO_START_EVENT | 33 | Received an IO Start Event from the IP device. |
| MV_IP_CAMERA_GIO_END_EVENT | 34 | Received an IO End Event from the IP device. |
| MV_IP_CAMERA_VIDEO_LOST_EVENT | 35 | The video signal was lost, reconnect didn't work. |
MV IP Camera Source Property Page
Uses the IMVIPCameraSource interface to setup the filter.
| URL | Contains the complete URL to a network camera. |
| Set URL | Apply the URL and initialize the filter. |
| Reconnect | Reconnect the network connection. |
| Statistics | Contains some information about the network connection. |
How to use the filter
Add the Filter into the Workbench and type in the URL from a network camera. Look at the camera manual for the correct video/image stream url(see examples above). Then press the Initialize Connection button and wait until the filter is initialized. Now you can connect the output pin and start the filter graph.
Example Graph
The following configuration shows the live preview of the network camera stream and simultaniously writes the MJPEG stream into an AVI file.