[Libav-user] Album art retrieval

Michael Bradshaw mbradshaw at sorensonmedia.com
Mon Oct 29 20:52:16 CET 2012


On Mon, Oct 29, 2012 at 1:24 PM, William Seemann <wseemann at gmail.com> wrote:
> I have a follow up question. Once I've obtained the AVPacket with the
> associated album art how to I actually generate an image from the packet?

Try looking at doc/examples/encoded_decoding.c for a decent example of
decoding video (example starts at line 475). See:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/examples/decoding_encoding.c;h=cc5953f4af01e1f1e1f9025f6a5243827a441c8d;hb=HEAD

Also, please bottom-post instead of top-post (google it if you need).


More information about the Libav-user mailing list