Home > Archive (Community help, from old helpdesk) > Video capture - quick start/stop?

Video capture - quick start/stop?

Avatar image
Aug 23, 2015
Archive Agent wrote
Hi, I am currently evaluating the VisioForge VideoCapture .NET package.
I need to be able to preview the live video, then start/stop recording to an AVI file upon user request.
I currently set the video mode to VFVideoCaptureMode.VideoPreview, call Start() to start the video preview, then either switch to VFVideoCaptureMode.VideoCapture without stopping, or instead call Stop() --> change the mode --> call Start() again.
Both methods do result in video capture, but this capture doesnt start immediately. Instead I see a video display re-initializing for a few seconds on every start/stop.

So my question is: Can the ViseoForge VideoCapture .NET package quickly start/stop a video capture in the middle of preview?
And if so, how can that be done?

Thanks,
Tal Davidson

Tal Davidson on June 12, 2013 12:43
Completed
0
Vote
Reply
2 Answers
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Yes, it's possible.

Please check Main demo, Separate capture tab.

on June 12, 2013 13:56
Aug 23, 2015
Archive Agent agent wrote
Tal Davidson

Roman thanks.
The use-case I am trying to develop is this: While the user previews a video on screen, he presses a 'start record' button, and the system immediately starts capturing the video to AVI till the user presses a 'stop recording' button.
Following your suggestion I looked a the 'Main demo', but there too (to-my-best-understanding) you can either run the grabbing in preview mode OR video capture mode, and need to stop/start when moving from one to the other.
Doing this, even programatically results in a long multi-second period till video capture beings after the user requests it to begin. So it doesn't achieve my intent of an immediate start/stop of recording.
Does the VideoCapture .NET API enable you to just preview a video, then upon a programatic request immediately start capturing the video (say to ASVI) without having to stop/change mode/start or anything else that results in a long multi-second wait for the the video capture to start?
Thanks
Tal

on June 16, 2013 12:26