T O P I C R E V I E W |
r.federiconi |
Posted - Jan 25 2013 : 03:03:40 if I set RenderVideo and GetVideoRenderNativeSize this mode It’s required to set also FileOutput unfortunally.. I would like use VMR mode without capure the video in a file.. is it possible?
with ImageEnView1.IO.DShowParams do begin Disconnect; w := VideoFormats[comboboxVideoFormat.ItemIndex].MaxWidth; h := VideoFormats[comboboxVideoFormat.ItemIndex].MaxHeight; SetVideoInput(comboboxVideoDevice.ItemIndex, 0, w, h); // set the second parameter if you have more than one camera with same name // enable video and audio rendering RenderVideo := true; // set output file FileOutput := “c:\video.avi”; // connect to the video input Connect; GetVideoRenderNativeSize(w, h); ImageEnView1.Proc.ImageResize(w, h); Run; end
|
1 L A T E S T R E P L I E S (Newest First) |
fab |
Posted - Jan 28 2013 : 04:09:04 Next version will have a new property in DShowParams (CaptureMode) which enables VMR also when FileOutput is empty. You can try it now, just opening ieds.pas and in TIEDirectShow.StdConnect replace:
fBuilder.RenderStream(@PIN_CATEGORY_CAPTURE, @MEDIATYPE_Video, fCurVideoInput, inter, ppf);
with
fBuilder.RenderStream(@PIN_CATEGORY_PREVIEW, @MEDIATYPE_Video, fCurVideoInput, inter, ppf); |
|
|