[Libav-user] How can we save captured frames to AVI file

Stefano Sabatini stefasab at gmail.com
Tue Nov 13 23:12:19 CET 2012

On date Monday 2012-11-12 15:00:22 +0200, Wenpeng Zhou wrote:
> Hi,
> I use a USB camera to capture streams. I hope to save streams to an AVI
> file.

Check dshow/video4linux2 devices in libavdevice (doc/indevs.texi, or
the ffmpeg manual). There is nothing special about an input device,
you treat it like any input format, demuxing.c example may help.

> How can I do ?
FFmpeg = Fanciful and Fanciful Mind-dumbing Portable Ecumenical Generator

More information about the Libav-user mailing list