- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to use the F200 to check every current frame to detect mobile object in video and once a mobile object was detected, I should save the following frames(about 300),then detect mobile object again.
But I only found a function, SetFilename and it just record the vidio from beginning to end.
Is there any way just save the frames or one frame what I need into file?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What format do you want to save the frames to?
If you want to use the .rssdk format, after setting the filename, you can use
pSenseManager.captureManager.SetPause(true);
To pause recording (or rather, not start yet), then use it again set to false when you want to start again.
If you want to save the frames individually, or in a format readable by other things (like an .avi), you can export each frame to a bitmap then do what you want with those.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
James B. wrote:
What format do you want to save the frames to?
If you want to use the .rssdk format, after setting the filename, you can use
pSenseManager.captureManager.SetPause(true);
To pause recording (or rather, not start yet), then use it again set to false when you want to start again.If you want to save the frames individually, or in a format readable by other things (like an .avi), you can export each frame to a bitmap then do what you want with those.
Thanks for your answering
if I save the frames to .rssdk format, how can I read the video I have saved?
Actually I want to save the frames in the second way.can you tell me more details about it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To play back an .rssdk video, you use SetFilename but give it the file you've already saved and set the second argument to false (true == record, false == playback).
Which environment/language are you using? I can only really help on your second question if you're using C# .net.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
James B. wrote:
To play back an .rssdk video, you use SetFilename but give it the file you've already saved and set the second argument to false (true == record, false == playback).
Which environment/language are you using? I can only really help on your second question if you're using C# .net.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This thread will tell you how to get bitmaps (or the C++ equivalent) from the camera stream. Then I'm sure Google will point you towards an API which will help you convert your group of bitmaps into a video file. Good luck!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page