Does anyone here use nVLC? I have some simple code to capture from a webcam
and display to screen + save to disk file, but I can't discover why it's not
saving the file.
private void ConnectWebCam()
{
string[] options = new string[4];
options[0] = "{dshow-vdev=Logitech QuickCam for Notebooks}";
options[1] = "{dshow-adev=none}";
options[2] = "{live-caching=300}";
options[3] =
"{sout=#transcode{vcodec=WMV2,vb=800,scale=1,acodec=none}:duplicate{dst=disp
lay,dst=std{access=file,mux=asf,dst=Test99.wmv}}}";
// something wrong above - does NOT write to this file
IMedia m_media = m_factory.CreateMedia<IMedia>(@"dshow://",
options);
m_player.Open(m_media);
m_media.Parse(true);
m_player.Play();
// screeching still persists, despite dshow-adev=none - so Mute
it !!
m_player.Mute = true;
}
_____
Ian Thomas
Victoria Park, Western Australia