[Libav-user] How can we save live stream (frames) with C++

Ron Woods rwoods at vaytek.com
Tue Nov 13 22:30:59 CET 2012


Take a look at the muxing.c example; but, instead of source coming from a generated frame as in fill_yuv_image(), use the frame coming from your buffer.
Use same idea for audio stream.

-----Original Message-----
From: libav-user-bounces at ffmpeg.org [mailto:libav-user-bounces at ffmpeg.org] On Behalf Of Wenpeng Zhou
Sent: Tuesday, November 13, 2012 3:03 PM
To: 'This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.'
Subject: [Libav-user] How can we save live stream (frames) with C++

Hi,

I will use dshow to capture live stream, then save individual frames to a buffer. I plan to save the frames in the buffer to an AVI file with C++.

How can I save frames to an AVI file?

Thanks!

_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


More information about the Libav-user mailing list