Author: Roman

How To: Save image to BMP file from IBasicVideo or VMR windowless interface

A simple question being asked all over again. Given IBasicVideo, IBasicVideo2, IVMRWindowlessControl or IVMRWindowlessControl9, how to save image to file? It is easy. It is a bit easier with IBasicVideo because it is possible to query this interface directly from graph’s interface, such as IGraphBuilder, and the call will be forwarded to video renderer. This…

Read the full article

How To: Dump CAtlRegExp regular expression variable on parse error

ATL regular expression code adds dump/debug capabilities with ATL_REGEXP_DUMP preprocessor definition defined (undocumented). Dump output is directed to stdout, so if the application is not console, it has to be redirected in advance, e.g. into a $(BinaryPath)$(BinaryName)-atlrx.h file. CAtlRegExp<> Expression; LPCTSTR pszPattern; BOOL bCaseSensitive; #if defined(ATL_REGEXP_DUMP) REParseError Error = Expression.Parse(pszPattern, bCaseSensitive); if(Error != REPARSE_ERROR_OK) {…

Read the full article

How To: Dump DirectShow media samples

Given a DirectShow filter graph, what media samples are being sent through particular graph point? DumpMediaSamples utility gives a fast answer to this question. It prints out connection media type details (with details of VIDEOINFOHEADER, VIDEOINFOHEADER2 and WAVEFORMATEX structures corresponding to FORMAT_VideoInfo, FORMAT_VideoInfo2 and FORMAT_WaveFormatEx format types) and IMediaSample details obtained through AM_SAMPLE2_PROPERTIES structure. First…

Read the full article

Mobotix cameras online (updated)

Mobotix cameras online, various models discovered by web spider bot, see previous list here: Basic , http://85.47.147.28 – Firmware M1-V1.9.4.8 (2003-12-01) D10D-Secure M10-1-38-123, http://mbsj.no-ip.org:7001 – Firmware M10-V2.1.0.9-D10 (2005-01-07) D12D-Sec D12, http://cabanga.dvrdns.org:8080 – Firmware MX-V3.4.2.2 (2008-04-25)