in reply to Re: Windows Webcam access.
in thread Windows Webcam access.
In order to get the slider functions working I am planning to use something like:
ffmpeg -f vfwcap -r 25 -i 0 -f image2 temp_photos\foo_-%03d.jpegIn order to give me a directory of "frames" without any exclusive lock. This works, although I'm not sure what the highest number is, or what it'll do to my disc fragmentation!
Then I can just do a while loop through them, and they'll look like a video. On exit, I'll do the opposite and recombine them into a video.
However, it's not the most elegant, if I could do it nearer to your method I would, however I do need to write something to a file, because wxMediaCtrl needs a filename or URL
Regards
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Windows Webcam access.
by Corion (Patriarch) on Sep 01, 2009 at 11:55 UTC |