This implements a DirectShow driver/wrapper over a HTTP based JPEG/M-JPEG streamed video, widely available with IP cameras. Once installed, it provides a Start Menu shortcut to manage video capture devices, where a user can add/remove devices. The devices are automatically registered with DriectShow and are available to applications.
The compatibility list includes:
- Windows SDK AmCap Sample (reference)
- VideoLan VLC
- Skype (see below)
- Google Talk Video Chat
- Luxriot (as rather an example as Luxriot has its own generic JPEG/M-JPEG device driver, however this still demonstrates compatibility and interoperability of applications)
- GraphEdit, GraphStudio and similar tools
For a created device it is required to configure:
- JPEG or M-JPEG resource URL on the device, where the driver will access video feed or sequential snapshots
- Image/video size on the device
Resource URLs vary from device to device and there is no standard identifier. This has to be looked up for specific model in device API reference or SDK. For JPEG snapshots it is possible to copy image shortcut from web browser and paste address into device settings.
Note that some devices, especially low end IP cameras deliver non-compliant feed which can be decoded either by manufacturer’s ActiveX control or model-specific implementation which this driver does not convert and is unlikely to ever cover. The driver will only work with hardware which honors industry standards.
For example, Stardot NetCam SC cameras make the video feed accessible using /nph-mjpeg.cgi resource, so the full URL will consist of protocol prefix “http://”, optional username and password (see screenshot above), IP address or host name e.g. “demo2.stardotcams.com”, resource identifier on the device “/nph-mjpeg.cgi”.
It is necessary to provide video size of the footage in advance so that the driver could negotiate content media types without accessing the device. Future versions of the driver might implement auto-detection.
To make the device work with Skype, it is necessary to:
- Configure the device (using its web interface) to work at resolution 640×480
- Add/configure device with Alax.Info IP video Source as described above, including setting of 640 by 480 pixel resolution in device configuration
Software implements and registers video input/capture devices, listed under DirectShow CLSID_VideoInputDeviceCategory category. The applications access devices from the list and treat as a regular device such as web camera.
Windows SDK AmCap sample will create the following DirectShow graph where the source filter implemented by this software:
Internally, software creates a worker filter graph in order to stream data from the device:
To decode video, software uses stock MJPEG Decompressor Filter provided with operating system.
- Version: 1.0.0
- Binaries: Win32 â€“ IpVideoSourceSetup-Win32.msi, x64 – IpVideoSourceSetup-x64.msi
- License: This software is free to use