[libav-api] few questions about using libav's api

Andrey Utkin andrey.krieger.utkin at gmail.com
Mon May 6 21:59:02 CEST 2013

I am not willing to answer strictly to your questions, because i am
not able to answer them precisely now.
But i'd like to give you general advice. Try to avoid going deep into
technical details, you can be drowned there. Most possibly you are
able to open and decode the image (or video) from your webcam using
libavformat and libavcodec functions, which initialize all properties
of audio and video frames. Then, you can utilize libswscale and
libavresample functions through libavfilter interface, which handles
format issues seamlessly.
If you're working straight with devices, then store data that you get
from devices in a structure compatible with libav* (i mean AVFrame),
and then do as i described above.
I hope this helps you.

Andrey Utkin

More information about the libav-api mailing list