Do you already have the code working to read the camera and stream? If so it should be a simple matter to also copy that data into a buffer at the same time you stream it...
On Wed, Oct 17, 2012 at 2:36 PM, Wenpeng Zhou <[email protected]> wrote: > Hi, > > I am wondering if we can get two live streams with one USB camera. > So, we can stream one of live streams, and save the other stream frames to > memory buffer that has a fixed length. for example, the buffer can contain > 200 frames. at some point, I can save these 200 frames to an AVI file. > > I will implement with C++ windows, please give me some code example. > > Thanks in advance! > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
