[Libav-user] Album art retrieval

William Seemann wseemann at gmail.com
Mon Oct 29 21:10:46 CET 2012


On Mon, Oct 29, 2012 at 2:52 PM, Michael Bradshaw <
mbradshaw at sorensonmedia.com> wrote:

> 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).
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>

    I'm already familiar with encoding/decoding, so, are you saying I need
to decode the packet the same way I would for a normal audio/video stream
and then do something with the decoded output (in this case, render an
image)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20121029/86bfdabf/attachment.html>


More information about the Libav-user mailing list