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?
I'm using the commit found here as a guide, FYI: https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2012-March/047616.html On Mon, Oct 29, 2012 at 12:43 PM, William Seemann <[email protected]>wrote: > Great, I'll try that. Thank you for the responses. > > > On Mon, Oct 29, 2012 at 12:39 PM, Don Moir <[email protected]> wrote: > >> ----- Original Message ----- From: "Michael Bradshaw" < >> [email protected]> >> To: "This list is about using libavcodec, libavformat, >> libavutil,libavdevice and libavfilter." <[email protected]> >> Sent: Monday, October 29, 2012 1:24 PM >> Subject: Re: [Libav-user] Album art retrieval >> >> >> >> On Mon, Oct 29, 2012 at 11:09 AM, William Seemann <[email protected]> >>> wrote: >>> >>>> Hello, Is it possible to retrieve album art from a track >>>> programmatically >>>> (i.e NOT using the ffmpeg command, using actual code) with FFmpeg? >>>> >>> >>> Possibly (it depends on what the file is and how the album art is >>> embedded in the track). Try opening and reading the file and look for >>> a video stream that has one frame. >>> >> >> Check for video stream and then check if (pVideoStream->disposition & >> AV_DISPOSITION_ATTACHED_PIC) >> >> ______________________________**_________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/**listinfo/libav-user<http://ffmpeg.org/mailman/listinfo/libav-user> >> > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
