[Libav-user] Album art retrieval

Don Moir donmoir at comcast.net
Mon Oct 29 18:39:24 CET 2012

----- Original Message ----- 
From: "Michael Bradshaw" <mbradshaw at sorensonmedia.com>
To: "This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter." <libav-user at ffmpeg.org>
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 <wseemann at gmail.com> 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)

More information about the Libav-user mailing list