On Mon, Oct 29, 2012 at 2:52 PM, Michael Bradshaw <span dir="ltr"><<a href="mailto:mbradshaw@sorensonmedia.com" target="_blank">mbradshaw@sorensonmedia.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, Oct 29, 2012 at 1:24 PM, William Seemann <<a href="mailto:wseemann@gmail.com">wseemann@gmail.com</a>> wrote:<br>
> I have a follow up question. Once I've obtained the AVPacket with the<br>
> associated album art how to I actually generate an image from the packet?<br>
<br>
</div>Try looking at doc/examples/encoded_decoding.c for a decent example of<br>
decoding video (example starts at line 475). See:<br>
<a href="http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/examples/decoding_encoding.c;h=cc5953f4af01e1f1e1f9025f6a5243827a441c8d;hb=HEAD" target="_blank">http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/examples/decoding_encoding.c;h=cc5953f4af01e1f1e1f9025f6a5243827a441c8d;hb=HEAD</a><br>
<br>
Also, please bottom-post instead of top-post (google it if you need).<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br> 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)?<br>