Graph.AddFilter srcfilter, 'Video Capture' 'srcfilter.ShowPropertyDialog 'MsgBox 'Result: '+Str(srcfilter.Lasterror)+': '+srcfilter.LasterrorMessage // let's pick a video encoder Use the system device enumerator and class enumerator to find // a video capture/preview device, such as a desktop USB video camera.