[Libav-user] libavcodec documentation and usage
Stefano Sabatini
stefasab at gmail.com
Wed Jul 17 01:31:02 CEST 2013
On date Tuesday 2013-07-16 13:04:42 -0700, James Board encoded:
> >On date Tuesday 2013-07-16 09:11:53 -0700, James Board encoded:
> >> I'd like to write a C or C++ program which uses libavcodec to retrieve
> >> individual frames of an AVI file. I can't find much documentation on
> >> the WWW. But there are examples in the ffmpeg source distribution. I tried
> >> to compile them, but that failed because there is no file: channel_layout.h.
> >>
> >> Any ideas how I can get the xamples in ffmpeg source to compile?
> >
> >You need updated headers and pkg-config installed in your system. Also
> >read the README file for further instructions.
>
> Thanks for your reply, but in this case, it isn't true. The pkg-config is
> okay. But there is no file named 'channel_layout.h' in my system.
> The other header files are in the example programs don't produce any
> problems.
>
> So is 'channel_layout.h' obsolete? Or did my ffmpeg build not compile
> correctly?
The channel_layout.h file was added recently. Note that you *need* a
recent ffmpeg installation of FFmpeg in your system, accessed throuhg
pkg-config, since the examples make use of the recent API.
Also read the README file in doc/examples.
--
FFmpeg = Frightening and Formidable Most Programmable Eager Geisha
More information about the Libav-user
mailing list